Pressure test cpu test cpu need to go -------- own set of pressures

Download the stress test package

HTTPS: // pan.baidu.com/s/1DJYAzBHHDxMViy5dMel2Lw 

extraction code: a5j3

 

Instructions:

Method a: starting a front end, + press the Ctrl C end of 
Java -DbusyNum = 50 -jar used.jar-cpu 50 # 50% Representative cpu ran , filled in accordance with need to customize,
Method Two: Start background 

nohup the Java -DbusyNum = 50 -jar the CPU used.jar &-  

end processes to kill: 
the kill - 9 `PS -ef | grep the CPU | grep -v grep | awk ' {Print $ 2} ' ` > / dev / null  2 > & . 1

Guess you like

Origin www.cnblogs.com/wangzy-tongq/p/12073287.html
Recommended