why those processes appear if they are not consuming any cpu or memory. Is there any way to show only process that are really consuming memory or cpu?
Asked
Active
Viewed 1,338 times
1 Answers
0
Processes with 0% CPU/RAM usage are kernel threads.
You can always run
top
orhtop
and use P T M keys to sort by CPU usage, CPU time and memory usage.Pressing 0 in
top
will hide zeros on the screen which makes it look less cluttered.To hide kernel threads from
ps
output please refer to Is there any way to hide kernel threads from ps command results?

Artem S. Tashkinov
- 29,025
htop
will let you sort by CPU usage or memory usage. – Stewart Aug 10 '20 at 05:16