redhat查看處理器各核的使用情況

mpstat 2 5
              Display five reports of global statistics among all processors at two second intervals.


mpstat -P ALL 2 5

             Display five reports of statistics for all processors at two second intervals.


mpstat -P ALL 1


08:54:35 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
08:54:36 PM  all    6.25    0.00    0.06    0.00    0.00    0.00    0.00    0.00   93.69
08:54:36 PM    0    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM    1    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM    2  100.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00
08:54:36 PM    3    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM    4    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM    5    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM    6    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM    7    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM    8    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM    9    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM   10    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM   11    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM   12    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM   13    0.00    0.00    1.00    0.00    0.00    0.00    0.00    0.00   99.00
08:54:36 PM   14    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
08:54:36 PM   15    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章