From: <st...@us...> - 2014-09-28 09:35:26
|
Revision: 7473 http://sourceforge.net/p/xymon/code/7473 Author: storner Date: 2014-09-28 09:35:23 +0000 (Sun, 28 Sep 2014) Log Message: ----------- Linux client: Some top versions need CPULOOP=1 environment to give meaningfull CPU utilisation numbers in batch mode. Not all top versions implement this, but it is harmless if they dont. JC Cleaver Modified Paths: -------------- branches/4.3.18/client/xymonclient-linux.sh Modified: branches/4.3.18/client/xymonclient-linux.sh =================================================================== --- branches/4.3.18/client/xymonclient-linux.sh 2014-09-28 09:30:32 UTC (rev 7472) +++ branches/4.3.18/client/xymonclient-linux.sh 2014-09-28 09:35:23 UTC (rev 7473) @@ -82,6 +82,7 @@ if test -x "$TOP" then echo "[top]" + export CPULOOP ; CPULOOP=1 ; $TOP -b -n 1 # Some top versions do not finish off the last line of output echo "" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |