> Perhaps it wouldn't be a trivial thing to have a simple perl script that 
> monitors how full /tmp is and then call tmpwatch if it excedes a certain 
> threshold.  This of course is assuming that cfengine dosen't have a 
> better way to deal with it.
> 
> shellcommands:
>        ....
>        "/usr/bin/perl tmpstatus.pl" 
>                 define=filling_up
>  
>        filling_up::
>             "/usr/sbin/tmpwatch 2 /tmp"  # delete files in /tmp >= 2 
> hours old 
>        ....
> 
>     -- Dustin
> 
> --
> Dustin Sorge                     
> HPC System Administrator                  
> Pittsburgh Supercomputing Center 
> Carnegie Mellon University
> 4400 Fifth Avenue
> Pittsburgh, PA  15213 
> 


Doh! Use cfengine with diskspace!! ;-)



_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to