Top command kworker

soolan

Member
Joined
Jan 13, 2023
Messages
66
Reaction score
4
Credits
626
I only see kworker and cpuhp in the top command output, is this normal? What should I check?

Code:
 6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/0:0H-kblockd]
     14 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/0]
     15 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/1]
     19 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/1:0H-kblockd]
     20 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/2]
     24 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/2:0H-events_highpri]
     25 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/3]
     29 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/3:0H-kblockd]
     30 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/4]
     34 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/4:0H-events_highpri]
     35 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/5]
     39 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/5:0H-kblockd]
     40 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/6]
     44 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/6:0H-kblockd]
     45 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/7]
     49 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/7:0H-kblockd]
     50 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/8]
     54 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/8:0H-kblockd]
     55 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/9]
     59 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/9:0H-events_highpri]
     60 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/10]
     64 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/10:0H-events_highpri]
     65 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/11]
     69 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/11:0H-kblockd]
     70 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/12]
     74 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/12:0H-kblockd]
     76 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/13]
     80 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/13:0H-kblockd]
     81 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/14]
     85 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [kworker/14:0H-events_highpri]
     86 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [cpuhp/15]
 


Nah, that's nothing to worry about. "K-worker" processes are background kernel processes, which occur every time your distro is booted-up and the kernel is active. There's a LOT of them, which often makes the unwary think they've been taken over by malware. They're perfectly normal, and you will find them regardless of the distro you run...


Mike. ;)
 
Hayır, endişelenecek bir şey yok. "K-worker" işlemleri, dağıtımınız her başlatıldığında ve çekirdek etkin olduğunda gerçekleşen arka plan çekirdek işlemleridir. Bunlardan çok sayıda var ve bu da genellikle dikkatsiz kişilerin kötü amaçlı yazılım tarafından ele geçirildiklerini düşünmesine neden oluyor. Bunlar son derece normaldir ve çalıştırdığınız dağıtımdan bağımsız olarak bunları bulacaksınız ...


Mike.;)
Thanks

So why are processes other than kworker not listed?
 
Last edited:
To see processes of particular users you can run:
Code:
top -U <user>
where <user> is your user name or ID number to see the processes for that user. For root you can run:
Code:
top -U root
 


Top