diskfree

diskfree is a sh-based util for monitoring disk usage with email reporting.
Download

diskfree Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Douglas J Hunley
  • Publisher web site:
  • http://hunley.homeip.net/tools/

diskfree Tags


diskfree Description

diskfree is a sh-based util for monitoring disk usage with email reporting. diskfree project is a shell script designed to be run periodically from cron to let you know how much disk space you've used, what directories have grown, which directories have shrunk, etc.Installing1. If you have Bash installed, then edit line 1 and point it to Bash. If you don't have Bash installed, but have the Korn shell installed, edit line 1 and point it to that (typically #!/bin/ksh).2. Decide which directories you want reported on or if you're paranoid, remember to use the '-p' option. If you want something other than the default then use the '-d' option3. Decide who should get the report. If it should go to root, don't do anything. If it goes to someone else, use the -m option (-m someone@somewhere.net)4. Decide where you want the files this script creates to be put. If /tmp is OK with you, do nothing. If you want them elsewhere use the -l option (-l /var/log)5. Decide how frequently you want the report run (daily, weekly, monthly, etc) If you want it run daily, then create on entry in your crontab like:00 00 * * * /some/path/diskfreeIf you want to run it monthly as well, I suggest you also add this to crontab:00 02 01 * * /some/path/diskfree -e monthlyAnd quarterly would appear in crontab like:00 04 01 */4 * /some/path/diskfree -e quarterly6. Save your crontab.7. Copy diskfree.8 /usr/man/man88. Wait for the script to run TWICE, then check your email and review the report9. Send comments, bugs, suggestions to dhunley@columbus.rr.comWhat's New in This Release:· Altered the output to put the 'df' output first and the details second.


diskfree Related Software