使用系统命令top即可看到如下类似信息:
Cpu(s): 0.0%us, 0.5%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
但不知什么含义?google之
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: 实时(来源http://bbs.chinaunix.net/thread-1958596-1-1.html)
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)
https://blog.youkuaiyun.com/sasoritattoo/article/details/9318893
本文详细解析了Linux系统命令top显示的CPU使用情况,包括us(用户空间)、sy(内核空间)、ni(优先级调整的用户进程)、id(空闲)、wa(I/O等待)、hi(硬件中断)、si(软件中断)和st(被其他虚拟机占用的时间)。这些指标帮助用户监控和分析系统的CPU利用率。
2181

被折叠的 条评论
为什么被折叠?



