--- projects/cms/source/host/generic/statgrab.pl 2001/01/22 16:51:02 1.8 +++ projects/cms/source/host/generic/statgrab.pl 2001/01/22 16:58:12 1.9 @@ -3,7 +3,7 @@ #----------------------------------------------------------------- # Machine statistics grabber # $Author: pjm2 $ -# $Id: statgrab.pl,v 1.8 2001/01/22 16:51:02 pjm2 Exp $ +# $Id: statgrab.pl,v 1.9 2001/01/22 16:58:12 pjm2 Exp $ # # A Perl script to return various information about a host machine # by examining the output of some common Unix/Linux commands. @@ -42,7 +42,7 @@ exit(0); # the host should check this when reading data # means the host must be checked and updated to work with newer versions. sub print_ident() { - print 'version statgrab.pl $Revision: 1.8 $'; + print 'version statgrab.pl $Revision: 1.9 $'; print "\n"; } @@ -55,7 +55,7 @@ sub print_pair($$$) { if (!defined $value) { if ($type) { - $value = 0; + $value = "0.00"; } else { $value = "unknown";