Hey folks,
Is there a Linux tool that will monitor a disk and tell me which directories are growing over time? I could cobble something together myself of course, but if there is already a good off-the-shelf solution, why bother?
Even if it only checks once per day that would be fine. Graphs would be pretty too :-)
cheers, -Alan
From: Alan McKay alan.mckay@gmail.com
Is there a Linux tool that will monitor a disk and tell me which directories are growing over time? I could cobble something together myself of course, but if there is already a good off-the-shelf solution, why bother? Even if it only checks once per day that would be fine. Graphs would be pretty too :-)
Might be overkill but cacti or Nagios+PNP would do this... snmp + mrtg might do it too But if you want something light, I would just go for something homemade with gd for the graphs...
JD
On Fri, January 6, 2012 16:42, Alan McKay wrote:
Might be overkill but cacti or Nagios+PNP would do this...
PNP? What's that ? I already have Icinga installed.
BTW, in a pinch since I'm already using Munin what I'm going to do is this :
- write a cronjob that fires maybe 2 to 4 times a day and does a "du -s" of directories I'm interested in , and stores the sizes in a file - write a simple munin plugin that reads the file (and munin will do the graphing for me)
Munin fires every 5 minutes so it will be a bit of waste since my cronjob will only fire a few times a day, but the weekly and monthly munin graphs will tell me what I want to know.
On Fri, Jan 6, 2012 at 11:49 PM, Alan McKay alan.mckay@gmail.com wrote:
BTW, in a pinch since I'm already using Munin what I'm going to do is this :
- write a cronjob that fires maybe 2 to 4 times a day and does a "du -s" of
directories I'm interested in , and stores the sizes in a file
- write a simple munin plugin that reads the file (and munin will do the
graphing for me)
Munin fires every 5 minutes so it will be a bit of waste since my cronjob will only fire a few times a day, but the weekly and monthly munin graphs will tell me what I want to know
That sounds good. Would you share the munin plugin later pls? I'm interested too.
That sounds good. Would you share the munin plugin later pls? I'm interested too.
Sure will. This is not a top priority for me so I won't likely get to it for another week or two, but once it is done I will share.
On Fri, Jan 6, 2012 at 10:25 PM, Alan McKay alan.mckay@gmail.com wrote:
Hey folks,
Is there a Linux tool that will monitor a disk and tell me which directories are growing over time? I could cobble something together myself of course, but if there is already a good off-the-shelf solution, why bother?
Even if it only checks once per day that would be fine. Graphs would be pretty too :-)
Hi Alan, Few to check: http://www.humans-enabled.com/2011/06/sample-script-to-report-home-directory... xdiskusage filelight