进程查询命令
使用系统命令top即可看到如下类似信息:
说明如下:
top后按3即可选择相应的numa查看对应的cpu信息:
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
意义如下:
us: is meaning of "user CPU time" 用户空间占用CPU百分比
sy: is meaning of "system CPU time" 内核空间占用CPU百分比
ni: is meaning of" nice CPU time" 用户进程空间内改变过优先级的进程占用CPU百分比
id: is meaning of "idle" 空闲CPU百分比
wa: is meaning of "iowait" 等待输入输出的CPU时间百分比
hi:is meaning of "hardware irq" 硬件中断
si : is meaning of "software irq" 软件中断
st : is meaning of "steal time" 实时