[geeks] Re: Monitoring disk space
Bertrand HUTIN
bhutin at yahoo.fr
Thu Nov 7 02:32:37 CST 2002
> Jonathan C. Patschke
> Celestrion Information Systems
> Thorndale, TX
>
> ATTACHMENT part 3.7 message/rfc822
> De: "Chris David" <kchris_iii at hotmail.com>
> @: geeks at sunhelp.org
> CC: sunhelp at sunhelp.org
> Date: Wed, 06 Nov 2002 15:07:07 +0000
> Objet: [geeks] Script
>
> Hi
> Anyone have script to monitor file system space?
>
> Thanks in advance
I use a cronjob that writes in a file, and every day another one builds
a .csv file readable by any spresheet software to do the graphic part.
A 3rd does some cleanup to keep data from growing to much.
There is no alarm detection. For this purpose, installing bigbrothera
is an easy way.
here are the lines in my crontab
(the data files are in spool/df)
1 * * * * /usr/local/bin/perl perl/df.pl spool/df
2 8,13,17 * * * /usr/local/bin/perl perl/df2csv.pl spool/df j
>spool/df.csv
57 23 * * * /usr/local/bin/perl perl/cleandudf.pl spool/df
[demime 0.99d.1 removed an attachment of type application/octet-stream which had a name of df.pl]
[demime 0.99d.1 removed an attachment of type application/octet-stream which had a name of df2csv.pl]
[demime 0.99d.1 removed an attachment of type application/octet-stream which had a name of cleandudf.pl]
More information about the geeks
mailing list