LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-19-2009, 07:44 AM   #1
sam_vde
LQ Newbie
 
Registered: Mar 2005
Posts: 19

Rep: Reputation: 0
Keep root filesystem occupancy under control


Hi,

I always "learned" it is important to always avoid the root filesystem of a linux/unix style OS to reach 100%.

I have 2 questions about this.

1. How can one actively monitor the root FS usage % and send out an email if it reaches a certain threshold, and all this using standard tools (I can script it but am looking for a general solution).

2. I recently ran into issues because the syslog logfiles exploded to 1.2GB due to a bad USB connection. Is there a way to set quota's on system directories such as /var/log ? I once put /var in a separate file system but then Ubuntu would not boot anymore (known issue).


Thanks
Sam
 
Old 05-19-2009, 06:14 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quotatools has stuff for checking and alerting. For the rest I find Monit caters for most in the "check about everything locally" department.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
filesystem access control lists sleepylight Linux - Enterprise 1 09-12-2007 12:21 PM
OPENSuse 10.2 CD-RW occupancy vmelkon SUSE / openSUSE 6 02-23-2007 02:08 PM
root filesystem ewt3y Linux - General 7 08-16-2005 01:12 AM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM
What *has* to be in the root filesystem? fedetxf Linux - General 2 01-05-2004 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:30 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