我只有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答案.