[mrtg] Re: monitoring hard disk?

Morten S. Nielsen msn at ipt.dtu.dk
Fri Jul 23 11:49:30 MEST 1999




On Fri, 23 Jul 1999, Roddy Strachan wrote:

> Hi,		
> 	Anyoen got a script that will monitor hard disk usage for a linux
> box??  I want to graph the proxy machines hard drives.

A script? Isn't that too easy?

Target[/dev/hda1]: `/bin/df -k | /bin/awk '/\/dev\/hda1/ {print $2 "\n" $2
"\n0\n" $1}'`

and remember to use gauge


Servicepack SR12 for NT. Available at www.linux.org

--    Morten S. Nielsen    mailto:msn at ipt.dtu.dk
--
--  |   Linux - the choice of a GNU generation   |
--  |      Skaane Sjaelland Linux User Group     |
--  |         at http://www.sslug.dk             |






--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list