1

Sample Script to Report /home Directory Usage

view story
linux-howto

http://www.humans-enabled.com – So, awhile back, I created this simple script to monitor usage of the /home directory on a GNU/Linux server and I figured it's time to share it. The script is configurable to check for "certain" files in a user's directory (i.e., .iso, .mp3, .etc), has a minimum reporting threshold setting, and outputs to a file.Using user quotas on the GNU/Linux server would probably be just as effective but I like to do things the hard way... heh.Note: before you light your torches, I don't claim to be a bash scripting expert (not yet anyways). So if anyone has any "constructive" criticism, please feel free (HowTos)