This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

.status informations

General support and discussion of Eggdrop bots.
Post Reply
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

.status informations

Post by Zircon »

Hi all

I have a question about the informations the egg give when we type .status in the partyline. In my case it gives :

<VaLkyRie> I am VaLkyRie, running eggdrop v1.6.18: 24 users (mem: 144k).
<VaLkyRie> Online for 12:53 (background) - CPU: 00:32 - Cache hit: 99.7%

AS u see, Cache hit: 99.7%. What does Cache hit means ? is this high value of 99.7 % normal ? can it cause problem to the egg if it reach 100 % ? what to do to keep that value low ?

Also, what s the typical values for CPU ?

Thanks in advance
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

It is basically a measurement on how many user lookups (from either get_user_by_handle or get_user_by_host calls) that were able to use cached entries rather than having to search through the whole linked list of user entries. In most cases, the higher the value, the less work your bot has done in order to find a userrecord, and thus saving resources...

With such a small userlist, achieving such high cache hits is not unusual. As your userlist grows, you'll most likely find this dropping
NML_375
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Hello nml375

Thanks for ur clear answer, i apreciate. In the other hand, i have another bot giving me this when i type .status :

<Zircona> Online for 193 days, 22:56 (background) - CPU: 254:50 - Cache hit: 86.0%

So CPU: 254:50, is it a high value ? Does it measure the Load of the bot ? what s good values for CPU ?

Thanks in advance
Post Reply