Update of /cvsroot/fink/experimental/thesin/finkinfo/test
In directory sc8-pr-cvs1:/tmp/cvs-serv4120

Modified Files:
        sysinfo.pl 
Log Message:
will round gig ram to 2 decimals now so 1.5 gigs isn't 2gigs which is to big of a 
round I think.  This might not be 100% yet since I don't have 1.5 gigs to test with :)

Index: sysinfo.pl
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/test/sysinfo.pl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sysinfo.pl  13 Dec 2002 22:59:46 -0000      1.13
+++ sysinfo.pl  15 Dec 2002 07:24:42 -0000      1.14
@@ -104,7 +104,7 @@
   } elsif ($MEMGKM =~ /^M$/) {
     $MEMTOTAL = sprintf("%.0f", $MEMTOTAL/1024**2);
   } elsif ($MEMGKM =~ /^G$/) {
-    $MEMTOTAL = sprintf("%.0f", $MEMTOTAL/1024**3);  
+    $MEMTOTAL = sprintf("%.2f", $MEMTOTAL/1024**3);  
   }
 
   $MEMPERCENT = $MEMUSED/$MEMTOTAL*100;



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to