From: Wouter Wijngaards Date: Tue, 16 Jun 2009 09:34:18 +0000 (+0000) Subject: touchup to munin memory report X-Git-Tag: release-1.3.1~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a5690626278c16540057b1146e5b9e8b3ca3b45b;p=thirdparty%2Funbound.git touchup to munin memory report git-svn-id: file:///svn/unbound/trunk@1661 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/contrib/unbound_munin_ b/contrib/unbound_munin_ index ae291348a..d38d5b7be 100755 --- a/contrib/unbound_munin_ +++ b/contrib/unbound_munin_ @@ -444,7 +444,7 @@ memory) pidf=`$chk -o pidfile $conf 2>&1` pid=`cat $pidf 2>&1` value=`ps -p "$pid" -o rss= 2>&1` - if test "`expr $value + 1 - 1 2>&1`" = "$value"; then + if test "`expr $value + 1 - 1 2>&1`" -eq "$value" 2>&1; then value=`expr $value \* 1024` else value=0 diff --git a/doc/Changelog b/doc/Changelog index 5424eac03..26a8969da 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,7 @@ 16 June 2009: Wouter - Fixup opportunistic target query generation to it does not generate queries that are known to fail. + - Touchup on munin total memory report. 15 June 2009: Wouter - iana portlist updated.