[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Some Infos for the CPU-Column
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Some Infos for the CPU-Column
- From: Andreas Kunberger <andreas.kunberger (at) itv-denkendorf.de>
- Date: Tue, 30 Mar 2010 08:31:19 +0200
- Organization: DITF Denkendorf
- References: <4BB09D4A.5090807 (at) itv-denkendorf.de>
- References: <4BB0E25D.6010803 (at) umdnj.edu>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.8) Gecko/20100228 SUSE/3.0.3-1.1.1 Lightning/1.0b1 Thunderbird/3.0.3
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