茫茫網海中的冷日 - 對這文章發表回應
茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1671292 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
PIMG_00117.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

對這文章發表回應

發表限制: 非會員 可以發表

發表者: 冷日 發表時間: 2019/5/31 13:36:54
System Administration Guide, Volume 2

How to Check CPU Utilization ( sar -u)

Display CPU utilization with the sar -u command.




$ sar -u
00:00:00 %usr %sys %wio %idle
01:00:00 0 0 0 100

(The sar command without any options is equivalent to sar -u.) At any given moment, the processor is either busy or idle. When busy, the processor is in either user or system mode. When idle, the processor is either waiting for I/O completion or "sitting still" with no work to do.

Output from the -u option is described in the table below.

Table 36-17 Output From the sar -u Command

Field Name 

Description 

%sys

Lists the percentage of time that the processor is in system mode 

%user

Lists the percentage of time that the processor is in user mode 

%wio

Lists the percentage of time the processor is idle and waiting for I/O completion 

%idle

Lists the percentage of time the processor is idle and is not waiting for I/O 

A high %wio generally means a disk slowdown has occurred.

Example--Checking CPU Utilization

The following example shows output from the sar -u command.




$ sar -u
SunOS venus 5.8 Generic sun4u 09/07/99
00:00:00 %usr %sys %wio %idle
01:00:00 0 0 0 100
02:00:02 0 0 0 100
03:00:00 0 0 0 100
04:00:00 0 0 0 100
05:00:01 0 0 0 100
06:00:00 0 0 0 100
07:00:00 0 0 0 100
08:00:01 0 0 0 100
08:20:00 0 0 0 100
08:40:00 0 0 0 100
09:00:00 0 0 0 100
09:20:00 0 0 0 100
09:40:00 0 0 0 100
10:00:00 0 0 0 100
10:20:00 0 0 0 100
10:40:01 0 0 0 100
11:00:00 5 2 10 82
Average 0 0 0 100

原文出處:How to Check CPU Utilization (sar -u) (System Administration Guide, Volume 2)
內容圖示
url email imgsrc image code quote
樣本
bold italic underline linethrough   












 [詳情...]
validation picture

注意事項:
預覽不需輸入認證碼,僅真正發送文章時才會檢查驗證碼。
認證碼有效期10分鐘,若輸入資料超過10分鐘,請您備份內容後,重新整理本頁並貼回您的內容,再輸入驗證碼送出。

選項

Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|