[root@test02 ~]# ./killcpu.sh 3
kill 30104
kill 30106
kill 30108
[root@test02 ~]# top
top - 15:27:31 up 264 days, 23:39, 4 users, load average: 0.86, 0.25, 0.19
Tasks: 185 total, 5 running, 180 sleeping, 0 stopped, 0 zombie
Cpu0 : 100.0% us, 0.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Cpu1 : 0.0% us, 0.0% sy, 0.0% ni, 100.0% id, 0.0% wa, 0.0% hi, 0.0% si
Cpu2 : 100.0% us, 0.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Cpu3 : 100.0% us, 0.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 8165004k total, 8095880k used,69124k free,53672k buffers
Swap: 2031608k total, 103548k used, 1928060k free, 6801364k cached
使用SSH 命令 *** 作也没感觉 很慢.就是访问top - 16:10:43 up 50 min, 2 users, load average: 4.72, 4.58, 4.35
Tasks: 114 total, 1 running, 113 sleeping, 0 stopped, 0 zombie
%Cpu(s): 18.7 us, 3.0 sy, 0.0 ni, 37.5 id, 40.6 wa, 0.2 hi, 0.0 si, 0.0 st
KiB Mem: 7693560 total, 1957232 used, 5736328 free, 47460 buffers
KiB Swap: 0 total, 0 used, 0 free. 1291540 cached Me
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)