云主机8088端口被挖矿情况以及解决办法

1.用top命令查询一下有没有CPU占用很高的

[hadoop@10-9-15-140 ~]$ top
top - 18:59:17 up  2:05,  1 user,  load average: 0.36, 0.38, 0.68
Tasks:  97 total,   1 running,  96 sleeping,   0 stopped,   0 zombie
Cpu(s): 13.0%us, 42.6%sy,  0.0%ni, 44.0%id,  0.2%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:   3859680k total,   259484k used,  3600196k free,    11700k buffers
Swap:   524284k total,        0k used,   524284k free,    76232k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                              
 4120 hadoop    20   0  312m  34m  412 S 136.8  0.9  33:03.52 networkservice                                       
    1 root      20   0 19364 1548 1244 S  0.0  0.0   0:01.09 init                                                  
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.01 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:02.25 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      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/1                                           
    8 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 stopper/1                                             
    9 root      20   0     0    0    0 S  0.0  0.0   0:00.95 ksoftirqd/1                                           
   10 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/1 

2.挖矿这种情况,是因为开了8088端口,现在把YARN上的配置文件里的8088端口修改成其它的端口比如18088端口,然后把云主机的8088端口关闭掉,把18088端口打开就可以了。

云主机8088端口被挖矿情况以及解决办法_第1张图片

你可能感兴趣的:(Linux,云主机)