Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: