<p dir="ltr">On 07/08/2014 4:26 AM, "Schwab, Jos" <<a href="mailto:Jos.Schwab@newellco.com">Jos.Schwab@newellco.com</a>> wrote:</p>
<p dir="ltr">> When the environment variable CPULOOP=1 is set properly (with export), the CPULOOP=1 variable setting does have the intended effect of hiding the first top display on my CentOS 6.5 system.</p>
<p dir="ltr">So top doesn't match the behavior described in man page, or the version you have doesn't support the feature?</p>
<p dir="ltr">Are you trying this from the command line or from the Xymon client config?</p>
<p dir="ltr">Does this work:</p>
<p dir="ltr">CPULOOP=1 top -b -n 1</p>
<p dir="ltr">On the only system available to me right now (old-ish Debian) top doesn't seem to support this.  Instead:</p>
<p dir="ltr">$ top -b -n2 | sed '1,/^top/d'</p>
<p dir="ltr">You could try adding this into your xymonclient-linux.sh script on your client host.</p>
<p dir="ltr">Note that this will make each run take 5 seconds longer. Probably not a problem though.</p>
<p dir="ltr">J<br>
</p>