diff ovz_statshow.pl @ 3:4cd907a693d1

ovz_statshow: some comment for people using it from the outside world
author Peter Gervai <grin@grin.hu>
date Mon, 23 Mar 2009 17:06:10 +0100
parents 4080b53fd4a2
children
line wrap: on
line diff
--- a/ovz_statshow.pl	Mon Mar 23 17:00:16 2009 +0100
+++ b/ovz_statshow.pl	Mon Mar 23 17:06:10 2009 +0100
@@ -4,6 +4,9 @@
 # email: grin.grin.hu
 #
 # Released under GPL v2 or later and CC-BY-SA-3.0
+#
+# Lists openvz VE usage statistics.
+# 
 
 use strict;
 use warnings;
@@ -64,6 +67,7 @@
                 
                 if( $val < 0 ) {
                     # debug
+                    print "NEGATIVE VALUE!!\n";
                     print "\n#", $ve{$veid}->[$field], ' ', $ve1{$veid}->[$field], "#$_#\n";
                     print "$debug_proc\n";
                 }