Y
Hacker News
new
|
ask
|
show
|
jobs
by
surki
5708 days 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
1 comments
nitrogen
5708 days ago
Nice. 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.
link