[hobbit] memory test

Dominique Frise dominique.frise at unil.ch
Fri May 15 09:35:20 CEST 2009


Kevin Kelly wrote:
> Memory size: 16160 Megabytes
> 
> [memory]
>  0 0 0 4099096 2435600 764 3383 0 0 0 0  0  0  0  0  0 1289 31204 17382
> 1 1 98
> 
> [vmstat]
>  kthr      memory            page            disk          faults
> cpu
>  r b w   swap  free  re  mf pi po fr de sr rm s0 s1 s2   in   sy   cs us
> sy id
>  0 0 0 7230344 5508760 77 192 0 0  0  0  0 -0  1  1 -0  791 1375  690  0
> 0 100
>  0 0 0 4122920 2459512 92 232 0 0  0  0  0  0  2  2  0  853 1822  863  0
> 0 100
> 
> 
> Hobbit web page
>    Memory              Used       Total  Percentage
>  Physical          13782M      16160M         85%
>  Swap               2353M       6378M         36%
> 
> 
> 
> 
> -----Original Message-----
> From: Dominique Frise [mailto:dominique.frise at unil.ch] 
> Sent: Thursday, May 14, 2009 2:40 PM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] memory test
> 
> Kevin Kelly wrote:
>> Hopefully someone can shed some light!
>>
>>  
>>
>> I am running xymon 4.2.3 on Solaris with all solaris clients. I have 
>> notice that the memory test is calculating the amount of memory used
> is 
>> incorrect.
>>
>>  
>>
>> I have a client system that has 64g of memory. It seems to display the
> 
>> total right, but not what is used.
>>
>>                          Used           total
>>
>> Physical          33313M      65312M         51%
>>
>>  
>>
>> When I look on the server, it's using about 5g of memory, not 33g.
>>
>> Can someone give me a fix or tell me what script is doing this?
>>
>>  
>>
>>  
>>
>> Kevin
>>
>>  
>>
>>
>> ______________________________________________________________________
>> This email has been scanned by the MessageLabs Email Security System.
>> For more information please visit http://www.messagelabs.com/email
>> ______________________________________________________________________
> 
> Please show us the output of Client_data
> 
> ~/xymon-cgi/bb-hostsvc.sh?CLIENT=clientname
> 
> Dominique
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
For Solaris Xymon computes memphysused = memphystotal - memphysfree

"memphystotal" is what is reported as "Memory size: xxx Megabytes" in 
client data. You did not show us the value, so I assume it is 16160 M as 
in the web page.
"memphysfree" is the fifth column of memory output in client data.


So with the last data you gave us this gives:
memphysused = 16160 - 2435600/1024 = 13781.48 MB

This value rounded up gives 13782 MB with is what the web page says.


Dominique



More information about the Xymon mailing list