Re: Questions about /proc/stat

M. Edward (znmeb@aracnet.com)
Mon, 1 Apr 2002 16:51:16 -0800 (PST)


On Mon, 1 Apr 2002, Randy.Dunlap wrote:

> On Mon, 1 Apr 2002, M. Edward (Ed) Borasky wrote:
>
> | On Mon, 1 Apr 2002, Randy.Dunlap wrote:
> |
> | > Of course the basic answer is something like
> | > Try cscope
> |
> | I can't find this -- does it come with Red Hat??
>
> it's at cscope.sf.net

OK ... I'll go grab it.

> | Ah ... so every page to/from swap is counted in pswpin/out (as a page)
> | and again in pgpgin/out as half-kilobytes :-). Incidentally, I also
> | followed the third fork in this road, the one which derives the "blocks"
> | read and written per device that show up in /proc/stat. Those "blocks"
> | turn out to be 512 bytes long.
>
> Do you mean this line or something else?
> disk_io: (3,0):(616296,386142,7120356,230154,3010882)

Yeah ... that one. I have code that samples that every 15 seconds, as
well as everything else in /proc/stat. I was having trouble making sense
of the I/O numbers.

Q. How do you tell when a pineapple is ready to eat?
A. It picks up its knife and fork.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/