StoCS 1.2

StoCS is a script to control free space on disk and to maintain free space at a configurable level.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Matteo Lucarelli
HOMEPAGE:
www.matteolucarelli.net
CATEGORY:
ROOT \ System \ Monitoring
1 StoCS Screenshot:
StoCS
StoCS is a service to control freespace on disk, mantain free space in a configurable level.

Works with three thresholds:

WARN: do a configurable action (dialog, message, alarm, ecc)
FDEL: deletion limit
LOWL: dimension to reach after deletion
If define must be LOWL < WARN < FDEL

Threshold unit can be:

Total number of file and/or subdiectory
Total dimension of controlle folder (Byte,Kbyte,Mbyte,ecc)
% of fre space on unit
Max age of files and/or subdirs (in this case LOWL is not used because all that exeeds is deleted)

Can work with a config file or wih command line parameters. Command line parameters overwrites config file values. Does not implements loop. Therefore you must use cron os similar.

Installation example

Copy stocs in /usr/local/bin
Copy stocs.conf in /usr/local/etc
Add to a cron.hourly (or a crontab):
/bin/su user -c "/usr/local/bin/stocs
-c /usr/local/stc/stocs.conf
&> /var/log/stocs.log"
In this case stocs runs every hour, using the configuration in stocs.conf, the output is written to log file /var/log/stocs.log

Last updated on November 4th, 2005

#control free space #maintain free space #free space watcher #StoCS #control #maintain #free

Add your review!

SUBMIT