What's it waiting for? - Grin with cat attached — LiveJournal
Previous Entry Next Entry
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?

From: wechsler
Date: August 24th, 2004 - 06:13 pm (Link)
Yeah, that was about as far as I'd got. I seem to be getting impressively high load with very little CPU usage.
From: reddragdiva
Date: August 24th, 2004 - 06:44 pm (Link)
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.

Dumb question

From: babysimon
Date: August 24th, 2004 - 09:40 pm (Link)
It's not spending all its time swapping, is it?