首页 > 代码库 > top-cpu

top-cpu

原帖由 zhou2324 于 2009-9-12 14:58 发表 技术分享
Cpu(s):  1.4%us,  1.4%sy,  0.0%ni, 48.6%id, 45.8%wa,  1.4%hi,  1.4%si,  0.0%st

sorry for i can‘t type chinese,the above is part of the result by running top command in terminal,
i don‘t know  ...



I try to explain  these:
us: is meaning of "user CPU time"
sy: is meaning of "system CPU time"
ni: is meaning of" nice CPU time"
id: is meaning of "idle"
wa: is meaning of "iowait" 
hi:is meaning of "hardware irq"
si : is meaning of "software irq"
st : is meaning of "steal time"

中文翻译为:

us 用户空间占用CPU百分比
sy 内核空间占用CPU百分比
ni 用户进程空间内改变过优先级的进程占用CPU百分比
id 空闲CPU百分比
wa 等待输入输出的CPU时间百分比
hi 硬件中断
si 软件中断 
st: 实时

top-cpu