操作系统:CentOS 7.9
我想为测试目的模拟/创建1 个进程,以便top
报告它消耗超过 %100 CPU。ps 输出中的内容如下所示;
USER PID %CPU COMMAND
user.one 111245 1500 command
有压力和压力-ng 命令,但它们只允许 100
-l P, --cpu-load P load CPU by P %%, 0=sleep, 100=full load (see -c)
我还尝试使用带有超额订阅选项的 mpirun 运行压力命令,但没有运气。
-oversubscribe, --oversubscribe
Nodes are allowed to be oversubscribed, even on a managed system, and overloading of processing elements.
先感谢您!