阅读背景:

使用sar -u查看cpu使用率情况

来源:互联网 
[root@abc ~]# man sar

      -u [ ALL ]
              Report CPU utilization. The ALL keyword indicates that all the CPU fields should be displayed.  The report may show the following fields:

              %user
                     Percentage of CPU utilization that occurred while executing at the user level (application). Note that this field includes time spent running virtual processors.

              %usr
                     Percentage of CPU utilization that occurred while executing at the user level (application). Note that this field does NOT include time spent running  virtual  proces-
                     sors.

              %nice
                     Percentage of CPU utilization that occurred while executing at the user level with nice priority.

              %system
                     Percentage  of  CPU  utilization  that  occurred while executing at the system level (kernel). Note that this field includes time spent servicing hardware and software interrupts.

              %sys
                     Percentage of CPU utilization that occurred while executing at the system level (kernel). Note that this field does NOT include time spent servicing hardware or  soft-ware interrupts.

              %iowait
                     Percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O request.

              %steal
                     Percentage of time spent in involuntary wait by the virtual CPU or CPUs while the hypervisor was servicing another virtual processor.

              %irq
                     Percentage of time spent by the CPU or CPUs to service hardware interrupts.

              %soft
                     Percentage of time spent by the CPU or CPUs to service software interrupts.

              %guest
                     Percentage of time spent by the CPU or CPUs to run a virtual processor.

              %idle
                     Percentage of time that the CPU or CPUs were idle and the system did not have an outstanding disk I/O request.

              Note: On SMP machines a processor that does not have any activity at all (0.00 for every field) is a disabled (offline) processor.
[root@abc ~]# man sar

      -u [ ALL ]
       



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: