changeset 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 c2cff30df6dc
files ovz_statshow.pl
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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";
                 }