“顶部”显示我的CPU已被使用%1278。那可能吗? CentOs系统。
顶部-02:19:28最多6天,13:05,2个用户,平均负载:40.12,23.58,14.90 任务:总计483,正在运行2,正在睡眠481、0停止,0僵尸 %Cpu(s):35.0 us,10.6 sy,0.0 ni,54.2 id,0.0 wa,0.0 hi,0.2 si,0.0 st KiB Mem:总计15844449+,免费14859040+,使用的56728560,buff / cache的41812424 KiB交换:总计16777212,免费16777212,已使用0。 15247632+可用Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
365364 martin 20 0 63.177g 0.036t 37100 S 1278 2.4 9412:41 java
117800 martin 20 0 72.577g 7.570g 37132 S 861.9 0.5 23:13.53 java
153086 martin 20 0 148460 2948 1112 S 25.2 0.0 0:30.31 sshd
114966 root 20 0 0 0 0 S 2.0 0.0 0:00.95 kworker/22:1
308 root 20 0 0 0 0 S 1.7 0.0 0:02.62 kworker/37:1
601 root 20 0 0 0 0 R 1.3 0.0 0:03.96 kworker/47:1
92847 martin 20 0 160096 2660 1572 R 0.7 0.0 0:00.16 top
171090 root 20 0 0 0 0 S 0.7 0.0 0:01.08 kworker/33:0
8 root rt 0 0 0 0 S 0.3 0.0 0:00.36 migration/0
10 root 20 0 0 0 0 S 0.3 0.0 2:00.17 rcu_sched
38 root rt 0 0 0 0 S 0.3 0.0 0:00.36 migration/6
175 root 20 0 0 0 0 S 0.3 0.0 0:00.27 ksoftirqd/33
答案 0 :(得分:2)
您有多核CPU,并且程序使用了多线程,因此它使用的CPU多于一个-超过一个CPU的100%,而不是系统中的所有CPU