]> git.michaelhowe.org Git - packages/a/afs-monitor.git/commitdiff
Print out partition data in a nice format
authorQuanah Gibson-Mount <quanah@stanford.edu>
Sat, 13 Dec 2003 00:22:22 +0000 (00:22 +0000)
committerQuanah Gibson-Mount <quanah@stanford.edu>
Sat, 13 Dec 2003 00:22:22 +0000 (00:22 +0000)
check_afsspace

index 625398868f9ae66a2d292e33256fa1250f72b16a..5fbd123320f4de6384f19a967946bceafe9a24a8 100755 (executable)
@@ -56,5 +56,11 @@ if (@warning) {
    print @warning;
    exit 1;
 }
-print "@infos\n";
+foreach $l (@infos) {
+   chomp($l);
+   $l =~ s/Free space on partition //;
+   $l =~ s/ K blocks out of total /\//;
+   print "$l ";
+}
+print "\n";
 exit 0;