High load average (FC5)

Paul Howarth paul at city-fan.org
Wed Apr 19 16:46:27 UTC 2006


Mathieu Chouquet-Stringer wrote:
> yinyang at eburg.com (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.




More information about the fedora-list mailing list