我只有 bourne shell 和 busy box。 有什么方法可以运行 python 脚本或编译 c 程序或任何语言,如 perl ..
喜欢
busybox python eatmemory.py 100M
或
busybox gcc eatmemory.c
我需要的是创建一个会消耗特定内存量的进程。并测试性能。
谢谢
最佳答案
如果你的问题是
Does
busybox
come with apython
interpreter or C compiler?
那么答案是否定的
如果是
Is there a way to write a script that will run under
busybox
'ash
shell which will just allocate some memory for me?
然后看this按照安德烈的建议回答。
关于python - 忙框、Run C、python 或 Perl 程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16392469/