3 ms·
I use something like this to watch the processes that are running or waiting for IO watch -n 1 ps -eo pid,ppid,wchan=WIDE-WCHAN-COLUMN,stat,command r
by surki 16y ago
I use something like this to watch the processes that are running or waiting for IO
watch -n 1 ps -eo pid,ppid,wchan=WIDE-WCHAN-COLUMN,stat,command r
- nitrogen 16y agoNice. However, it doesn't account for activity during the gap between samples, while sorting by CPU usage in top or by I/O usage in iotop does.