| < partinfo Documentation | Russ Allbery > Software > partinfo |
Make the web page link an actual link in the documentation.
Lines changed: +2 -2
Reorganized. Added the -T option to specify the thresholds. Always use printf rather than ever using formats, and eliminate a bunch of duplicate code by using functions (structured programming, imagine that). Use the code to find vos that we're now using for other commands. Improved the documentation and added a reference to the web site where the latest version will be shortly.
Lines changed: +151 -86
Increase the threshold to 85% for both the available space calculation and the colors. Update the documentation accordingly.
Lines changed: +12 -12
Added support for totalling the values for a given server. partinfo now uses Getopt::Long to do option parsing.
Lines changed: +71 -30
Added lots and lots of documentation. Also fixed the command line option parser to be more intelligent and added -h and -v flags, as well as a new flag -q that suppresses the header above the partition information.
Lines changed: +106 -9
Added color for those who have it, using printf() instead of formats because Perl formats can't handle color strings. Color requires Term::ANSIColor, but that module isn't needed unless color is selected.
Lines changed: +26 -3
Reworked a good deal. Now uses formats rather than printf()s, clearer error messages, and somewhat better formatting (at least to my eye). Also has column headers.
Lines changed: +43 -13
Initial import of Neil's partinfo/pinfo script.
| < partinfo Documentation | Russ Allbery > Software > partinfo |