免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 12236 | 回复: 5
打印 上一主题 下一主题

the meanning of 'us,sy,ni,id,wa,hi,si,st' [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-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 what's the meaning of 'us,sy,ni,id,wa,hi,si,st',so what's this abbreviations stand for?
is 'us' stands for 'the count of cpu used by user' and 'sy' means 'the count of cpu used by system',is that right?


pls help me ?
thanks!

[ 本帖最后由 zhou2324 于 2009-9-12 15:00 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-09-13 16:36 |只看该作者
man一下看看,或者google搜搜。
不过网上答案也不是很全啊。

论坛徽章:
0
3 [报告]
发表于 2009-09-13 23:01 |只看该作者
原帖由 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: 实时

论坛徽章:
0
4 [报告]
发表于 2009-09-25 10:19 |只看该作者

回复 #1 zhou2324 的帖子

既然不能输入中午 鸟语E 看看man
BS

论坛徽章:
2
午马
日期:2015-01-27 11:22:392015年辞旧岁徽章
日期:2015-03-03 16:54:15
5 [报告]
发表于 2009-09-25 10:45 |只看该作者

回复 #3 jiannma 的帖子

赞一下3楼。
这个man里有。。。
  2c. SUMMARY Area Fields
       The summary area fields  describing  CPU  statistics  are  abbreviated.
       They provide information about times spent in:
           us = user mode
           sy = system mode
           ni = low priority user mode (nice)
           id = idle task
           wa = I/O waiting
           hi = servicing IRQs
           si = servicing soft IRQs
           st = steal (time given to other DomU instances)

论坛徽章:
5
寅虎
日期:2015-01-20 09:16:52亥猪
日期:2015-01-21 14:43:44IT运维版块每日发帖之星
日期:2015-12-17 06:20:00每日论坛发贴之星
日期:2015-12-17 06:20:00每周论坛发贴之星
日期:2015-12-20 22:22:00
6 [报告]
发表于 2009-09-25 10:46 |只看该作者
全英文啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP