[freeside-commits] freeside/bin monitor,1.1.4.3,1.1.4.4
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun Jan 3 19:25:23 PST 2010
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv14161
Modified Files:
Tag: FREESIDE_1_9_BRANCH
monitor
Log Message:
add some debugging
Index: monitor
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/monitor,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -u -d -r1.1.4.3 -r1.1.4.4
--- monitor 23 Dec 2009 23:33:29 -0000 1.1.4.3
+++ monitor 4 Jan 2010 03:25:21 -0000 1.1.4.4
@@ -41,6 +41,10 @@
my(undef, $load, undef) = report('load');
my($free) = report('freememory');
+ warn "free is $free and wantfree is $wantfree\n" if $DEBUG > 1;
+ warn "load is $load and wantload is $wantload\n" if $DEBUG > 1;
+ warn "last is $last\n" if $DEBUG > 1;
+
unless( defined($load) && $load < $wantload
&& defined($free) && $free > $wantfree
|| ( time() < $last + 1800 && $alerts > 2 ) )
More information about the freeside-commits
mailing list