partinfo

Description

partinfo is a wrapper around the AFS vos partinfo command that presents free space on AFS server partitions in a more nicely formatted form, includes used as well as free information, shows the percentage of space used, and shows the amount of free space before the partition goes over a configurable percentage of its free space (85% by default).

It also supports a few other features, such as highlighting in color partitions that are particularly full or particularly empty and displaying totals for the whole server.

Neil Crellin wrote the original version of this program. I've since rewritten it in the course of adding color support and making the output look nicer to me.

Requirements

Requires Perl 5 (any subversion will probably do), and obviously requires the AFS vos command. It searches some standard paths for vos, but you may want to adjust the search path at the top of the script.

For color support, requires the Term::ANSIColor Perl module (which has been included in Perl's core module set since Perl 5.6.0).

Download

The program:

partinfo 1.2 2004-03-08 Download

Documentation:

License

Copyright 1998, 1999, 2003, 2004 Board of Trustees, Leland Stanford Jr. University.

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. This means that you may choose between the two licenses that Perl is released under: the GNU GPL and the Artistic License. Please see your Perl distribution for the details and copies of the licenses.

Last modified and spun 2008-09-15