Xymon Mailing List Archive search

Some Infos for the CPU-Column

3 messages in this thread

list Andreas Kunberger · Mon, 29 Mar 2010 14:30:02 +0200 ·
Hello,

I've just had server under heavy load and while looking for the cause I
noticed something weird:
If you normal use top, it shows in the third line the actual cpu usage
percentage.
Not so in the top output in the cpu column: here it shows the avverage
cpu usage since reboot.
Top behaves in this line similar to vmstat.

So if you need the load percentage look in the trends column or in the
client data.

Greetings.


Andreas

--
list Ryan Novosielski · Mon, 29 Mar 2010 13:24:45 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
quoted from Andreas Kunberger

Andreas Kunberger wrote:
Hello,

I've just had server under heavy load and while looking for the cause I
noticed something weird:
If you normal use top, it shows in the third line the actual cpu usage
percentage.
Not so in the top output in the cpu column: here it shows the avverage
cpu usage since reboot.
Top behaves in this line similar to vmstat.

So if you need the load percentage look in the trends column or in the
client data.
I suspect this is configured in the command line arguments that are set
in the client for the use of "top" here. In BB, the environment variable
I believe was TOPARGS, but it's probably something similar.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuw4lwACgkQmb+gadEcsb5hKwCghKSatGN6tC1Q1Wh41oa7v1+Z
g7IAnAhs9Z1EGB5NFzLqxfxiVuBm3ATM
=dEjd
-----END PGP SIGNATURE-----
list Andreas Kunberger · Tue, 30 Mar 2010 08:31:19 +0200 ·
Am 29.03.2010 19:24, schrieb Ryan Novosielski:
quoted from Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Kunberger wrote:
Hello,

I've just had server under heavy load and while looking for the cause I
noticed something weird:
If you normal use top, it shows in the third line the actual cpu usage
percentage.
Not so in the top output in the cpu column: here it shows the avverage
cpu usage since reboot.
Top behaves in this line similar to vmstat.

So if you need the load percentage look in the trends column or in the
client data.
I suspect this is configured in the command line arguments that are set
in the client for the use of "top" here. In BB, the environment variable
I believe was TOPARGS, but it's probably something similar.
Yes, but no as you think. Every time top shows on its first run the
average since reboot, but this is normally only displayed for one sec.
In Xymon however when started with '-b -n 1' there is only on run.

Many  friendly Greetings

Andreas