Oct 24, 2013, 11:09 AM
Post #1 of 3
df -h /du -h output
I'm new to Perl and want to be able to run a df -h and du -h against a number of volumes and log this output to a DB. At the moment I would like to just be able to log this output to a file, and look at the DB part at a later date.
What I would like to do is I have a number of directories and daily I want to run a du -h against these directories and finally graph the data, so I can see on a daily basis on a size of a directory.
Would someone be able to point in a direction on how to do this?