Why is there so little running in Tasks when the top command in linux is viewed?

Why is there so little running in Tasks when the top command in linux is viewed? There are usually only one, two or three, etc.,

but there are a lot of sleeping.

Nov.11,2021

running means running, while occupying cpu,sleeping is mostly waiting (for example, waiting for IO to complete), so most of the processes are normal in sleeping, otherwise they are not enough in running,cpu.


Xie Da,

I still don't quite understand what's said upstairs.

if most of them are sleeping, it is not because the function provided by the server is very slow. Most of them are on Rest, and only one or two people are working, so the efficiency is definitely not high.

Menu