开发者社区> 问答> 正文

cpu占用率很高,但是进程列表又显示不出来那个进程占用率高

使用top命令显示如下:

top - 22:07:02 up 26 min,  1 user,  load average: 1.10, 1.28, 1.26
Tasks:  92 total,   1 running,  91 sleeping,   0 stopped,   0 zombie
Cpu(s): 99.7%us,  0.3%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2054224k total,  1015040k used,  1039184k free,    22624k buffers
Swap:        0k total,        0k used,        0k free,   202592k cached


  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                                                        
1254 root      20   0 2003m  66m  10m S  1.3  3.3   0:13.64 java                                                                                                                                                                            
2635 root      20   0 19140 1284  980 R  0.3  0.1   0:00.02 top                                                                                                                                                                            
    1 root      20   0 25528 1596 1268 S  0.0  0.1   0:00.67 init                                                                                                                                                                            
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd                                                                                                                                                                        
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0                                                                                                                                                                    
    4 root      20   0     0    0    0 S  0.0  0.0   0:00.01 ksoftirqd/0                                                                                                                                                                    
    5 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 stopper/0                                                                                                                                                                      
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                                                                                                                                      
    7 root      20   0     0    0    0 S  0.0  0.0   0:00.09 events/0                                                                                                                                                                        
    8 root      20   0     0    0    0 S  0.0  0.0   0:00.00 events/0                                                                                                                                                                        
    9 root      20   0     0    0    0 S  0.0  0.0   0:00.00 events_long/0                                                                                                                                                                  
   10 root      20   0     0    0    0 S  0.0  0.0   0:00.00 events_power_ef                                                                                                                                                                
   11 root      20   0     0    0    0 S  0.0  0.0   0:00.00 cgroup                                                                                                                                                                          
   12 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khelper                                                                                                                                                                        
   13 root      20   0     0    0    0 S  0.0  0.0   0:00.00 netns                                                                                                                                                                          
   14 root      20   0     0    0    0 S  0.0  0.0   0:00.00 async/mgr                                                                                                                                                                      
   15 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pm                                                                                                                                                                              
   16 root      20   0     0    0    0 S  0.0  0.0   0:00.00 sync_supers                                                                                                                                                                    
   17 root      20   0     0    0    0 S  0.0  0.0   0:00.00 bdi-default                                                                                                                                                                    
   18 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kintegrityd/0                                                                                                                                                                  
   19 root      20   0     0    0    0 S  0.0  0.0   0:00.04 kblockd/0                                                                                                                                                                      
   20 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kacpid                                                                                                                                                                          
   21 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kacpi_notify                                                                                                                                                                    
   22 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kacpi_hotplug                                                                                                                                                                  
   23 root      20   0     0    0    0 S  0.0  0.0   0:00.00 ata_aux                                                                                                                                                                        
   24 root      20   0     0    0    0 S  0.0  0.0   0:00.01 ata_sff/0                                                                                                                                                                      
   25 root      20   0     0    0    0 S  0.0  0.0   0:00.00 ksuspend_usbd                                                                                                                                                                  
   26 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khubd                                                                                                                                                                          
   27 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kseriod                                                                                                                                                                        
   28 root      20   0     0    0    0 S  0.0  0.0   0:00.00 md/0                                                                                                                                                                            
   29 root      20   0     0    0    0 S  0.0  0.0   0:00.00 md_misc/0                                                                                                                                                                      
   30 root      20   0     0    0    0 S  0.0  0.0   0:00.01 linkwatch                                                                                                                                                                      
   33 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khungtaskd                                                                                                                                                                      
   34 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0                                                                                                                                                                        
   35 root      25   5     0    0    0 S  0.0  0.0   0:00.00 ksmd                                                                                                                                                                            
   36 root      39  19     0    0    0 S  0.0  0.0   0:00.09 khugepaged                                                                                                                                                                      
   37 root      20   0     0    0    0 S  0.0  0.0   0:00.00 aio/0                                                                                                                                                                          
   38 root      20   0     0    0    0 S  0.0  0.0   0:00.00 crypto/0                                                                                                                                                                        
   45 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthrotld/0                                                                                                                                                                      
   47 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kpsmoused                                                                                                                                                                      
   48 root      20   0     0    0    0 S  0.0  0.0   0:00.00 usbhid_resumer                                                                                                                                                                  
   49 root      20   0     0    0    0 S  0.0  0.0   0:00.00 deferwq                                                                                                                                                                        
   81 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kdmremove                                                                                                                                                                      
   82 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kstriped                                                                                                                                                                        
  220 root      20   0     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0                                                                                                                                                                      
  223 root      20   0     0    0    0 S  0.0  0.0   0:00.01 scsi_eh_1                                                                                                                                                                      
  270 root      20   0     0    0    0 S  0.0  0.0   0:00.00 virtio-blk                                                                                                                                                                      
  382 root      20   0     0    0    0 S  0.0  0.0   0:00.00 ext4-dio-unwrit                                                                                                                                                                
  473 root      16  -4 15020 1008  348 S  0.0  0.0   0:00.13 udevd                                                                                                                                                                          
  601 root      20   0     0    0    0 S  0.0  0.0   0:00.00 virtio-net                                                                                                                                                                      
  613 root      20   0     0    0    0 S  0.0  0.0   0:00.01 flush-252:0                                                                                                                                                                    
  627 root      20   0     0    0    0 S  0.0  0.0   0:00.00 vballoon                                                                                                                                                                        
  837 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kauditd                                                                                                                                                                        
  840 root      20   0  3536  628  544 S  0.0  0.0   0:00.52 aliyun-service                                                                                                                                                                  
  880 root      20   0     0    0    0 S  0.0  0.0   0:00.00 ib_addr                                                                                                                                                                        
  885 root      20   0     0    0    0 S  0.0  0.0   0:00.00 infiniband/0                                                                                                                                                                    
  894 root      20   0     0    0    0 S  0.0  0.0   0:00.00 ib_mcast                                                                                                                                                                        
  899 root      20   0     0    0    0 S  0.0  0.0   0:00.00 iw_cm_wq                                                                                                                                                                        
  904 root      20   0     0    0    0 S  0.0  0.0   0:00.00 ib_cm/0                                                                                                                                                                        
  909 root      20   0     0    0    0 S  0.0  0.0   0:00.00 rdma_cm                                                                                                                                                                        
  930 root      20   0     0    0    0 S  0.0  0.0   0:00.00 ipoib_flush                                                                                                                                                                    
1137 root      20   0  249m 1692 1120 S  0.0  0.1   0:00.00 rsyslogd                                                                                                                                                                        
1252 root      20   0  119m 1540  924 S  0.0  0.1   0:00.55 wrapper    




显示cpu占用率99%,但是进程列表里没有进程占用cpu高,重启也不行,我怀疑是不是病毒

展开
收起
java入门 2017-08-31 22:08:55 4009 0
2 条回答
写回答
取消 提交回答
  • Recpu占用率很高,但是进程列表又显示不出来那个进程占用率高
    没遇到此类问题
    2017-09-01 13:40:58
    赞同 展开评论 打赏
  • 旺旺:nectar2。
    楼主您好,

    服务器主要是跑java项目的吗?

    如果临时停止java的项目,CPU使用率会降回到正常范围吗?

    为您找到这个讨论,您可以参考一下: https://segmentfault.com/q/1010000002947798
    2017-09-01 12:22:06
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
服务上云加速大家居产业C2M进程 立即下载
RDS SQL Server CPU高使用率性能优化 立即下载
低代码开发师(初级)实战教程 立即下载

相关实验场景

更多