Re: Getting CPU load (from /proc/?)
On Thu, Sep 28, 2000 at 12:09:40AM +0100, Colin Watson wrote:
> On Thu, 28 Sep 2000 at 07:48:01 +1200, C. Falconer wrote:
> >
> > Rememebr heisenberg's uncertanty principle - you can't measure an attribute
> > of the system without affecting the system attribute you are measuring.
>
> If quantum theory affects Linux to a degree where a userspace process
> can measure its effects then I shall be quite scared. :)
>
> > Running vmstat means there is a running process - which means the machine
> > might never be idle enough to suspend
>
> While telling me about the existence of vmstat, somebody at work said
> that it excluded itself from its measurements. This might be rubbish,
> though, as I've never actually looked at the code ...
>From the manpage:
These reports are intended to help identify system bottle
necks. Linux vmstat does not count itself as a running
process.
--
Ken Irving <jkirving@mosquitonet.com>
Reply to: