all. I have these weird servers can not explained as follow:
htop
1 [||||||||||||||| 28.5%] Tasks: 53 total, 1 running
2 [|||||||||||||||| 31.1%] Load average: 0.00 0.00 0.00
3 [|||||||||||||||| 30.5%] Uptime: 211 days(!), 02:21:04
4 [| 0.7%]
Mem[|||| 171/16077MB]
Swp[ 0/11610MB]
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
1 root 20 0 8352 840 704 S 0.0 0.0 1:02.48 init [2]
23764 root 20 0 10584 1364 1172 S 0.0 0.0 0:00.00 `- bash -c while sleep 0.000001; do echo 29150 | md5sum ; done
top
top - 01:36:46 up 211 days, 2:40, 5 users, load average: 0.00, 0.00, 0.00
Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.8%us, 18.0%sy, 0.0%ni, 77.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16463184k total, 797364k used, 15665820k free, 122992k buffers
Swap: 11889656k total, 0k used, 11889656k free, 499496k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 8352 840 704 S 0 0.0 1:02.48 init
2 root 20 0 0 0 0 S 0 0.0 0:00.15 kthreadd
3 root RT 0 0 0 0 S 0 0.0 0:00.14 migration/0
4 root 20 0 0 0 0 S 0 0.0 0:00.22 ksoftirqd/0
5 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
6 root RT 0 0 0 0 S 0 0.0 0:00.16 migration/1
7 root 20 0 0 0 0 S 0 0.0 0:00.09 ksoftirqd/1
8 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
the server acted that status some days before, so I try to use the "while...md5sum" offer the cpu pressure, but not only that while's cpu/mem usage were 0%, but actually all the others' usage were 0%.
obviously when I killed that while loop, the htop bar went down to true 0% (the server don't really have much work to do).
and I double check the "md5sum which htop
" (and top) on the other NORMAL server, they have the exactly binary/md5 result.
so, any idea ? Am I so deadly rootkitted? I have used rkhunter / chkrootkit already, no clue.