LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2011, 09:20 AM   #1
teknoratti
LQ Newbie
 
Registered: Aug 2006
Posts: 14

Rep: Reputation: 0
Utility for Disk Usage / Treesize utility


We have a file servers located at remote areas which we want to be proactive in monitoring. Remote users save files into these drives and often times they become full and we have to call the site to ask users to delete their files.

We would like to have a utility that monitors each site file server and alert us when drives become close to full and also give us a Treesize like display of which particular files / folders take up the most space that way we can go straight to the offender of the most usage and let them know they have to delete their files.

Is there one utility that will do this? Right now I'm going to add this into our Nagios setup, then use treesize to look at the specifics but I would like one utility with both features built in.

Thanks
 
Old 06-08-2011, 02:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you should surely be looking at using quotas to restrict the amount of space they are using? It's simple enough to write a nagios check script which can use a few du commands to see who's using how much space users are using. if it's just a /home/username/ like layout, then you can add additional data onto the nagios output, e.g. from "du /home/* --max-depth=0 | sort -rn | head -n 5" and that would give a list of the 5 heaviest users of disk space. Just one simple suggest though, many many more possible alternatives, quotas being a good one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Utility sees CD. Rhythmbox doesn't j2l11 Linux - Laptop and Netbook 7 03-03-2011 01:56 AM
command line disk partition utility Skaperen Linux - Software 5 01-11-2011 06:30 AM
GNOME Disk Utility Issue jsteel Linux - General 3 03-04-2010 07:30 AM
gnome-disk-utility-0.4: building with the source NicAx64 Linux - Software 1 02-24-2010 05:58 PM
Solaris disk wiping utility? Brian Knoblauch Solaris / OpenSolaris 8 02-17-2006 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration