Hal Burgiss wrote:
> On Thu, Mar 02, 2000 at 09:58:21PM -0600, Wayne Dyer wrote:
> > Trevor Astrope wrote:
> > > Hello,
> > > 
> > > We are running an rh6.0 based system with kernel 2.2.13 and after
> > > the system has been up for a day or so, the cpu states displayed by top no
> > > longer add up. Does anyone know what could be causing this?
[...]
> > They may not add up.  I have the Distributed.net client running, and when I
> > start top it initially reports:
> > 
> >   9:56pm  up 1 day, 21 min,  3 users,  load average: 1.01, 1.12, 1.09
> > 95 processes: 93 sleeping, 2 running, 0 zombie, 0 stopped
> > CPU states:  0.7% user,  0.2% system,  0.9% nice,  0.0% idle
> > 
> > After running for a few seconds, it reports:
> > 
> >   9:57pm  up 1 day, 22 min,  3 users,  load average: 1.00, 1.10, 1.09
> > 95 processes: 93 sleeping, 2 running, 0 zombie, 0 stopped
> > CPU states:  0.5% user,  0.9% system, 98.4% nice,  0.0% idle
> > 
> > That approximates to 100%.
> 
> Yea, and why is his so apparently skewed?

My point was that if he's looking at it right after he fires up `top`, it
may add up to anything near 100%.  If a long update interval is used, this
situation might appear to persist.

I've been playing with this since I posted, and I can't replicate his 
situation.  Wild guesses at this point involve something messing around
renicing itself all the time and screwing with the stats or a process
that's mucking with its own stats (though I don't know *how*) in order to 
not appear to be running.

To the original poster:  are you running top with any
command-line options?  If not, it should default to sorting by CPU
usage.  Is anything at the top of the list?  (try hitting "i" to remove
idle and zombies)

-W-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to