加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Python > 正文

繁忙的盒子,运行C,python或Perl程序

发布时间:2020-12-16 21:51:05 所属栏目:Python 来源:网络整理
导读:我只有bourne shell和busy box. 有没有办法运行python脚本或编译c程序或任何语言,如perl .. 喜欢 busybox python eatmemory.py 100M 要么 busybox gcc eatmemory.c 我需要的是创建一个消耗特定内存量的进程.并测试性能. 谢谢 最佳答案 如果你的问题是 Does b

我只有bourne shell和busy box.
有没有办法运行python脚本或编译c程序或任何语言,如perl ..

喜欢
busybox python eatmemory.py 100M

要么

busybox gcc eatmemory.c

我需要的是创建一个消耗特定内存量的进程.并测试性能.

谢谢

最佳答案
如果你的问题是

Does busybox come with a python interpreter or C compiler?

然后答案是否定的.

如果是

Is there a way to write a script that will run under busyboxash shell which will just allocate some memory for me?

然后看安德烈建议的this答案.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读