[Xymon] CPU USAGE DISPLAY (CPU Statistics)

Jeremy Laidman jlaidman at rebel-it.com.au
Wed Aug 6 23:09:17 CEST 2014

On 07/08/2014 4:26 AM, "Schwab, Jos" <Jos.Schwab at newellco.com> wrote:

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

So top doesn't match the behavior described in man page, or the version you
have doesn't support the feature?

Are you trying this from the command line or from the Xymon client config?

Does this work:

CPULOOP=1 top -b -n 1

On the only system available to me right now (old-ish Debian) top doesn't
seem to support this.  Instead:

$ top -b -n2 | sed '1,/^top/d'

You could try adding this into your xymonclient-linux.sh script on your
client host.

Note that this will make each run take 5 seconds longer. Probably not a
problem though.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140807/b41a039d/attachment.html>

More information about the Xymon mailing list