Is there any way to find sleeping processes in Ubuntu?
I can see
top can list out number of sleeping processes, but I want them to be listed with their name.
Are there any commands for that?
for listing commands of processes with an interruptable and uninterruptable sleep state.
This is probably suboptimal scripting here, but I couldn't find a quick way to have
You could grab the information from top, which can be run in batch mode (
Possible states are, from
'D' = uninterruptible sleep 'R' = running 'S' = sleeping 'T' = traced or stopped 'Z' = zombie