[rrd-users] Re: Cpu usage %

Marek Dohojda marek.dohojda at linksys.com
Fri Mar 21 20:20:19 MET 2003


Hello

Am I wrong in assuming that if I do this math I will be correct?:
	ssCpuRawSystem + ssCpuRawUser + ssCpuRawIdle = Total
	then
	(ssCpuRawSystem / Total) * 100 = % of System utilization 
	
Is that correct?


-----Original Message-----
From: Hickey, Brian [mailto:BHickey at Matheson-Trigas.com]
Sent: Friday, March 21, 2003 10:34 AM
To: 'Marek Dohojda'
Subject: RE: [rrd-users] Cpu usage %


Mark,

Take a look at www.somix.com and look for the MRTG repository in the support
section.  They have lots of templates that should give you a hint.

-----Original Message-----
From: Marek Dohojda [mailto:marek.dohojda at linksys.com] 
Sent: Friday, March 21, 2003 1:24 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Cpu usage %

Hello, sorry if this is not the list for this.

I am trying to map CPU usage of my Linux boxes, using SNMP.  I can't seem to
figure out how this is suppose to be done using cpurawuser/ cpurawsystem.
The problem is that, as I understand in order to get the cpu usage % you
need to divide the cpu current usage by cpu total usage.  However how does
this give you current usage?

I hope someone can show me how this is done.

Thank you.
Marek

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list