|| What's it waiting for?
||Aug. 24th, 2004 05:52 pm|
Is there any way of finding out from the unix (ok, linux) command line whether processes are CPU-bound or disk-bound? Or which is the major cause of (uptime-style) load on a box?
The one time I've seen that on Solaris, it's been w13rd shit happening with TCP/IP - the web-censor sending incomplete packets and the network stack busy-waiting. So nothing shows in top (or, on Solaris, prstat) but the box is showing load averages in the thirties and forties and not being very responsive.
I assume iostat has useful things to say about performance.
It's not spending all its time swapping, is it?