观察Linux的CPU使用情况

观察Linux的CPU使用情况,22.res是随便起名的文件,保存信息的。每一秒采样一次,共1000次

[aaaaadmin@pushservsvr01 tmp]$ sar -o /tmp/22.res 1 1000

Linux 2.6.32-504.el6.x86_64 (pddservsvr01)     06/28/2016      _x86_64_        (64 CPU)

11:06:40 AM     CPU     %user     %nice   %system   %iowait    %steal     %idle

11:06:41 AM     all      0.03      0.00      0.03      0.02      0.00     99.92

11:06:42 AM     all      0.06      0.00      0.05      0.00      0.00     99.89

11:06:43 AM     all      0.05      0.00      0.05      0.00      0.00     99.91

11:06:44 AM     all      0.02      0.00      0.03      0.02      0.00     99.94

猜你喜欢

转载自jijiaa12345.iteye.com/blog/2307723