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
posted @ 2024-07-01 11:05  CharyGao  阅读(90)  评论(0)    收藏  举报