You are not logged in.

#1 2005-06-29 03:08:20

mrwangxc
Member
Registered: 2005-05-31
Posts: 12

'top' display question

when i use 'top', it displays cpu time just including: user, system, nice and idle. the total time of the fields displayed doesn't equal 100%
where's other cpu time info gone ?  in Redhat, we have more: irq, softirq, iowait

Offline

#2 2005-06-29 07:29:05

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: 'top' display question

when i use 'top', it displays cpu time just including: user, system, nice and idle.

yes ...  you use the t toggle when top is running to get a line like this

Cpu(s):  1.0% us,  0.0% sy,  0.0% ni, 99.0% id,  0.0% wa,  0.0% hi,  0.0% sii

and if its not 100% is usually like only 0.1% off (acceptable rounding up/down)

the total time of the fields displayed doesn't equal 100%

do you mean "time " or "percentage points"?
how many percentage points is it off by ?

other cpu info in redhat ?? i dont have redhat on this pc but ...

are you sure its using top and not (a modified)  atop ? atop has extra cpu stuff

see here

Offline

#3 2005-06-29 11:46:39

mrwangxc
Member
Registered: 2005-05-31
Posts: 12

Re: 'top' display question

Kern wrote:

when i use 'top', it displays cpu time just including: user, system, nice and idle.

yes ...  you use the t toggle when top is running to get a line like this

Cpu(s):  1.0% us,  0.0% sy,  0.0% ni, 99.0% id,  0.0% wa,  0.0% hi,  0.0% sii

how do you get this kind of output?  in arch, the "top" command only output:
user, system, nice, idle    percentages

how can i get the iowait percentage etc. ?


and if its not 100% is usually like only 0.1% off (acceptable rounding up/down)

the total time of the fields displayed doesn't equal 100%

do you mean "time " or "percentage points"?
how many percentage points is it off by ?

other cpu info in redhat ?? i dont have redhat on this pc but ...

are you sure its using top and not (a modified)  atop ? atop has extra cpu stuff

see here

Offline

#4 2005-06-29 14:50:12

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: 'top' display question

how can i get the iowait percentage etc. ?

try grab sysstat or mpstat. looks like redhat incorporate these as standard.
top maybe makes use of these externally.

not sure why arch hasnt got this hooked up, but hey, if you know what you want by way of a service, you can always look up the packages independantly. 

Try ...

http://freshmeat.net/projects/mpstat/
http://osx.freshmeat.net/projects/sysst … _id=111040
http://directory.fsf.org/sysadmin/monitor/sysstat.html

and so on, via google.

Offline

Board footer

Powered by FluxBB