[mrtg] Disk I/O stats
Bjorn Nilsen
lists at valhalla.net.nz
Tue Feb 26 08:38:14 MET 2002
Hi all,
I am trying to graph the disk i/o on my linux server and what I came up with
does not seem too work.
This is my mrtg cfg :
Workdir: /var/www/html/procload
Options[_]: nopercent, noinfo, growright
Target[disk]: `/usr/bin/awk '/cpu /{print $2+$3+$4+$5; print $2+$3+$4+$5;
print ""; print ""}'</proc/stat`
Title[disk]: Disk I/O stats for Iguana
PageTop[disk]: <H1>Disk I/O stats for Iguana</H1>
MaxBytes[disk]: 10000
AbsMax[disk]: 100000000
Ylegend[disk]: I/O per second
ShortLegend[disk]: IO/s
I am getting a graph that is consistantly around 99 and the disk.log looks
like this:
1014690000 99 99 100 100
1014689700 99 99 99 99
1014689400 99 99 100 100
1014689100 99 99 100 100
1014688800 99 99 99 99
1014688500 99 99 100 100
1014688200 100 100 100 100
1014687900 99 99 100 100
1014687600 99 99 100 100
1014687300 100 100 100 100
1014687000 99 99 100 100
Any idea what options I need to make this work, I'm pretty sure my awk
command is correct.
cheers,
Bjorn
--
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
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list