Mathieu Chouquet-Stringer wrote:
yinyang@xxxxxxxxx (Gordon Messmer) writes:$ ps ax | awk '{ if( match($3,/R/) ) { print } }'Replace R by (R|D) as you want to see if you have processes in uninterruptible sleep (you remember right when you said: "iirc load average is based upon processes waiting for I/O" except you should have add "is also based")
Or, more simply: $ ps ax | awk '$3 ~ /[RD]/' Paul.