LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-04-2005, 07:33 PM   #1
baronlynx
Member
 
Registered: Jan 2004
Location: Lille [Fr]
Distribution: SUSE9.3, WinXP on a leech (vmware)
Posts: 62

Rep: Reputation: 15
how to do a free space regular check


hi,

i need to make a regular check of the free space on one of the mounts and issue a few commands (like email or something ...) if the free space drops down and passes a threshold.

am i right to think about a solution of a script to put into the cron ? or is there any other more reasonable or automated procedure ?

i wrote few scripts but never delt with cron ...

i'd be glad for some initial ideas

thanks in advance

baronlynx
 
Old 10-04-2005, 08:01 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,830
Blog Entries: 54

Rep: Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993
Check Freshmeat for "monit". It can email or execute scripts when a threshold is reached.
 
  


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
How to check free disk space TigerLinux Linux - Newbie 9 10-04-2005 06:04 PM
Not enough free space on hard drive with 50g of free space??? auoq Suse/Novell 5 10-13-2004 09:21 PM
How do I check free partition space explorer Linux - General 5 04-14-2004 01:35 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 06:10 AM
SCRIPT: check free space on partition base markus1982 Linux - Software 0 05-25-2003 06:52 AM


All times are GMT -5. The time now is 11:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration