I would like to set a class in cfengine3 so I can perform an action if the disk is almost full.
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
You can use the function diskfree that return the available space on the partition Here is a simple example (yes, I have a lot of free space) :
Regards |
|||
|
|
|
Here's how I did it. The
|
|||
|
|