[mrtg] system load quickie

Justin Shore listuser at vinnie.ksu.ksu.edu
Tue Mar 21 06:46:35 MET 2000

	I'm just looking for a quick tip here.  I'm getting ready to 
find a nice way of monitoring system load.  All I plan on monitoring 
is the current or 5 minute average (haven't decided just yet--maybe 
both).  Since this value will be a double and MRTG wants an int, I 
plan on getting this value via a simple perl script from /proc and 
multiplying it times 100.  No biggie.  My question is what do I do to 
MRTG so that it graphs it appropriately?  I'd like to see the actual 
double value at the below the image (just like it shows 13.8Kb as an 
example).  What increments would it graph?  I haven't had time to 
just sit down and try it yet.  I've been swamped lately.  I was 
hoping to find out exactly what I needed before I started working on 
it.  Any idea if there is anything special I have to do or anything 
in particular I should watch out for?
	On a side note, from what I understand running MRTG more 
often than 5 minutes does nothing more than getting more samples to 
compute a average from making it a little more accurate.  Is my logic 
correct?  If I ran my MRTG every minute it would basically get the 5 
minute average for me (assuming I'm reading the current load each 
time and not the system-computed average).  I see that as a waste of 
resources.  Any ideas?


Justin Shore       K-State Linux Distro Mirror, Sysadmin
macdaddy at vinnie.ksu.ksu.edu

*Internet2 Users*

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org

More information about the mrtg mailing list