Observe the CPU usage of Linux, 22.res is a file named arbitrarily and saves information. Sampling once every second, a total of 1000 times
[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