[hobbit] Some Infos for the CPU-Column

Andreas Kunberger andreas.kunberger at itv-denkendorf.de
Tue Mar 30 08:31:19 CEST 2010


Am 29.03.2010 19:24, schrieb 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



More information about the Xymon mailing list