]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
touchup to munin memory report
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 16 Jun 2009 09:34:18 +0000 (09:34 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 16 Jun 2009 09:34:18 +0000 (09:34 +0000)
git-svn-id: file:///svn/unbound/trunk@1661 be551aaa-1e26-0410-a405-d3ace91eadb9

contrib/unbound_munin_
doc/Changelog

index ae291348a7dccc4848e61a0179ca46fe99316fde..d38d5b7be56120738f6c249a97766a68b5348ce7 100755 (executable)
@@ -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
index 5424eac03a5a2a53256a5e25dd25020226d21428..26a8969da6c0fce967978afb868a8399e708abd9 100644 (file)
@@ -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.