S
S
sergio7772017-04-30 22:27:14
linux
sergio777, 2017-04-30 22:27:14

Processor recycling, how to determine the source?

In CentOS 7 in top %Cpu(s): 51.8 us
At the same time, there are no processes in the list that would explicitly load the processor:

top - 22:24:40 up 124 days, 22:51,  1 user,  load average: 4.28, 4.39, 4.38
Tasks: 247 total,   1 running, 245 sleeping,   0 stopped,   1 zombie
%Cpu(s): 51.4 us,  1.2 sy,  0.0 ni, 47.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 65797652 total,   428020 free, 17939984 used, 47429648 buff/cache
KiB Swap:  8388604 total,  8355952 free,    32652 used. 46822004 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                              
21915 root      20   0 1666508 1.032g   5412 S   9.3  1.6   4646:49 qemu-kvm                                                                                             
25398 root      20   0 4798312 4.017g   5524 S   3.3  6.4   1173:26 qemu-kvm                                                                                             
24328 root      20   0 1640252 0.992g   8840 S   1.0  1.6 147:15.66 qemu-kvm                                                                                             
16786 root      20   0 1628360 1.041g   4880 S   0.7  1.7 236:13.38 qemu-kvm                                                                                             
17907 root      20   0 1602524 626360   9144 S   0.7  1.0  25:49.22 qemu-kvm                                                                                             
 1586 mysql     20   0 1760444 140944   5716 S   0.3  0.2  66:05.59 mysqld                                                                                               
 9788 root      20   0  157824   2356   1564 R   0.3  0.0   0:00.01 top                                                                                                  
13448 root      20   0 1600768 389840   9048 S   0.3  0.6   8:07.53 qemu-kvm                                                                                             
16006 root      20   0 1629024 1.019g   9012 S   0.3  1.6  28:06.81 qemu-kvm                                                                                             
16007 root      20   0       0      0      0 S   0.3  0.0   0:40.82 vhost-16006                                                                                          
16788 root      20   0       0      0      0 S   0.3  0.0  22:46.47 vhost-16786                                                                                          
23873 root      20   0  547928  17976   9408 S   0.3  0.0   0:56.44 core                                                                                                 
    1 root      20   0  190912   3616   2084 S   0.0  0.0  19:04.80 systemd                                                                                              
    2 root      20   0       0      0      0 S   0.0  0.0   0:03.99 kthreadd                                                                                             
    3 root      20   0       0      0      0 S   0.0  0.0   0:21.23 ksoftirqd/0                                                                                          
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H                                                                                         
    7 root      rt   0       0      0      0 S   0.0  0.0   0:04.72 migration/0                                                                                          
    8 root      20   0       0      0      0 S   0.0  0.0   0:00.02 rcu_bh                                                                                               
    9 root      20   0       0      0      0 S   0.0  0.0 200:14.92 rcu_sched                                                                                            
   10 root      rt   0       0      0      0 S   0.0  0.0   0:17.48 watchdog/0                                                                                           
   11 root      rt   0       0      0      0 S   0.0  0.0   0:15.06 watchdog/1                                                                                           
   12 root      rt   0       0      0      0 S   0.0  0.0   0:04.91 migration/1                                                                                          
   13 root      20   0       0      0      0 S   0.0  0.0   0:24.60 ksoftirqd/1                                                                                          
   15 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/1:0H

How to find out the cause of the load on the processor?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
O Di, 2017-04-30
@sergio777

What's in
?

R
Ruslan Fedoseev, 2017-05-01
@martin74ua

The percent is 51% occupied in the user space, while at least the top itself is executed. You can also see that the percentage is generally spent on qemu. What else do you want to know?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question