help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting free disk space by percentage?


From: Hugo Gayosso
Subject: Detecting free disk space by percentage?
Date: 08 Apr 2002 15:19:38 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I am aware of:

 disks:

    /filesystem freespace=size-limit define=class-list(,:.)


But I would like to check if I have 20% of my disk free instead of
761044 kbytes, because when I add more space to that partition I don't
want to recalculate how many bytes are 20% of the new assigned space.

The other option would be to run a shell script that gives me that
information (actually I am thinking on using check_disk from
Netsaint), but maybe this is an undocumented feature of cfengine :-),
so I decided to ask first.


Greetings,
- -- 
Hugo Gayosso
Support the Free Software Movement!
GNU Project <http://www.gnu.org>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8se1Kx2JZtTN6co8RAqzrAJ4z8QjUPlR8O4CqrKDSlOeG/gj6ZwCg1ppG
J4I+9U19IR+oJWewnA0/yHc=
=/Fcr
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]