[mrtg] directory size graphing

Fred oz fred.oze at gmail.com
Tue May 10 09:03:53 MEST 2005


Hi,

I am using a simple shell script like the following to get reports
back on the size of a special directory on a remote server,

#!/bin/bash
 ssh -l mse-mrtgstats 192.168.22.178 du -sh

The result is simply a number reporting the directory size in Kb such as,

64567

Now I want to run this via a cron job and then feed this information
into MRTG/rrdtool to build agraph for the directory size. Can you
please give me some idea on how-to this, or direct me to a web-page
with information on this?

Thanks,
Fred

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



More information about the mrtg mailing list