touchup to munin memory report

git-svn-id: file:///svn/unbound/trunk@1661 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-06-16 09:34:18 +00:00
parent a40ec4b935
commit a569062627
2 changed files with 2 additions and 1 deletions

View file

@ -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

View 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.