Bri*_*rig 13 performance cpu top
当我运行 TOP 命令时,一个进程显示 1208% 的 CPU 使用率,并且在 IRIX 模式下,总 CPU 使用时间为 81.7%。当我关闭 IRIX 模式时,进程显示 99% 的 CPU 使用率和总用户 CPU 时间为 43%。
任何想法可能会发生什么?
更新 VM 是否配置错误,导致未正确报告 CPU 使用率?
Pri*_*ley 12
Irix / Solaris模式( man 1 top
):
<I> :Irix/Solaris_Mode_toggle
When operating in 'Solaris mode' ('I' toggled Off), a
task's cpu usage will be divided by the total number of
CPUs. After issuing this command, you'll be informed of
the new state of this toggle.
Run Code Online (Sandbox Code Playgroud)
...
if 'Irix mode' is Off, top will operate in
'Solaris mode' where a task's cpu usage will be divided by the
total number of CPUs. You toggle 'Irix/Solaris' modes with the
'I' interactive command
Run Code Online (Sandbox Code Playgroud)
假设N
是 CPU 的总数。那么 InIrix
模式,%CPU
就是 CPU 使用率了N * 100%
。在Solaris
模式下,%CPU
是%CPU in Irix mode
/ N
。
看: Comprehending 'top' CPU usage
编辑:
总用户CPU 时间为 43%
我认为您忽略了%system(在系统(内核)级别执行的 CPU 利用率百分比。)时间。尝试其他工具,如mpstat
、iostat
和sar
用于分析 CPU 利用率。
归档时间: |
|
查看次数: |
18466 次 |
最近记录: |