Do programs to monitor disk usage exist?
I guess the title says it all. Does there exist software that can monitor disk usage across the varied partitions of a computer and notify you if disk space usage has reached a certain threshold? Say, could it be set up so that if 90% of the space was used up on a hard drive, that a message informing me of that could be automatically E-Mailed to me?
|
check out partmon. i have no clue how to use it or anything, but it sounds like what you might be looking for:
Quote:
|
Quote:
|
actually it does look like it is specific to Mandrake; my Slackware box didn't have it. df will tell you how much free space you have--maybe you can set it up to automatically run or something. i wish i could help you more but i'm still learning myself.
|
try du
|
Quote:
But it's a moot point now. I've found something that should do this for me. Thanks for your help folks. |
just out of curiosity, what did you find?
|
Quote:
|
awww, now is that the Open Source spirit? :P
|
Quote:
|
A possible solution
Quick and dirty. Modify to fit your needs
Code:
for fs in `df|tail +2|awk '{print $6}'` Stick this in a script and have it run in a cron job every hour, or sooner if you like. Hmmm. Might have to add this to my profile... |
Also, another option is to head out to sourceforge and look for LRRD or Munin. It's a little bit of work to install but it tracks a butt load of things about your server. Disk usage, disk space, network traffic, swapping, apache processes, and a bunch of others. Optionally you can have it throw alerts to nagios.
|
there is on built in to red hat 9
|
All times are GMT -5. The time now is 08:12 PM. |