Top 命令中的 Irix 模式与 Solaris 模式 (解释单个进程 cpu 占比为何会超过 100%?)
关于 top 命令用了很久了,但是一直对单进程占用 cpu 占比为何会超过 100% 认识不够深刻。
top cpu 栏位说明
1. %CPU -- CPU Usage
The task's share of the elapsed CPU time since the last screen update, expressed as a percentage of total CPU time.
In a true SMP environment, if a process is multi-threaded and top is not operating in Threads mode, amounts greater than 100% may be reported. You toggle
Threads mode with the `H' interactive command.
Also for multi-processor environments, if Irix mode is Off, top will operate in Solaris mode wh
摘抄自网络,便于检索查找。

浙公网安备 33010602011771号