[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting CPU load (from /proc/?)



On Thu, Sep 28, 2000 at 12:09:40AM +0100, Colin Watson wrote:
> 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 ...

According to the man page, vmstat excludes itself from the count of running
processes.  However, it may still have an effect on the CPU usage figures.
(In practice, on this machine (a K6/2-380), its effects are negligble.)

-- 
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P+>+++ L+++>++++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r++ y+



Reply to: