Free memory
Vince
jhary at unsane.co.uk
Tue Jul 5 20:57:20 GMT 2005
Heh well that will teach me to belive what I read on the web
without testing it myself.
I can repeat your results and cant realy give a reason other than
getting memory information on freebsd seems to be a bit tricky
(see sysctl vm.vmtotal for more confusion, I'm still not sure what
That all realy means.)
I do my memory monitoring localy (based on the scripts at
http://www.ag0ny.com/graphs/) and just assumed that net-snmp would
"just work".
My best suggestion now would be to either ask on questions@ or
on the net-snmp mailing lists.
Vince
> -----Original Message-----
> From: owner-freebsd-net at freebsd.org
> [mailto:owner-freebsd-net at freebsd.org] On Behalf Of
> Mathias at TeleCity.com
> Sent: 04 July 2005 10:33
> To: jhary at unsane.co.uk
> Cc: freebsd-net at freebsd.org
> Subject: RE: Free memory
>
> Forgot to mention:
>
> root at rs1# snmpd -v
>
> NET-SNMP version: 5.2.1
> Web: http://www.net-snmp.org/
> Email: net-snmp-coders at lists.sourceforge.net
>
>
> -----Original Message-----
> From: Mathias Kenfack-Tabakem (LON)
> Sent: Monday, July 04, 2005 10:29 AM
> To: 'vince'
> Cc: freebsd-net at freebsd.org
> Subject: RE: Free memory
>
> Thanks for your reply but It doesn't work. I am probably
> doing something wrong; but not sure what. This is what I get:
>
> root at rs1# snmpwalk -v1 -c public localhost
> .1.3.6.1.4.1.2021.4.11 UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 36108
>
> root at rs1# snmpwalk -v1 -c public localhost
> .1.3.6.1.4.1.2021.4 UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
> UCD-SNMP-MIB::memErrorName.0 = STRING: swap
> UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 1022664
> UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 1022664
> UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 442176
> UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 20772
> UCD-SNMP-MIB::memTotalSwapTXT.0 = INTEGER: -1
> UCD-SNMP-MIB::memAvailSwapTXT.0 = INTEGER: -1
> UCD-SNMP-MIB::memTotalRealTXT.0 = INTEGER: -1
> UCD-SNMP-MIB::memAvailRealTXT.0 = INTEGER: -1
> UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 36096
> UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
> UCD-SNMP-MIB::memShared.0 = INTEGER: 26072
> UCD-SNMP-MIB::memBuffer.0 = INTEGER: 61472
> UCD-SNMP-MIB::memCached.0 = INTEGER: 15324
> UCD-SNMP-MIB::memSwapError.0 = INTEGER: 0
> UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
>
> root at rs1# dmesg | grep memory
> real memory = 536805376 (511 MB)
> avail memory = 515633152 (491 MB)
>
> Regards
> Mathias,
>
> -----Original Message-----
> From: vince [mailto:jhary at unsane.co.uk]
> Sent: Friday, July 01, 2005 4:29 PM
> To: Mathias Kenfack-Tabakem (LON)
> Cc: freebsd-net at freebsd.org
> Subject: Re: Free memory
>
> Mathias at TeleCity.com wrote:
>
> >Hi Guys,
> >
> >I am trying to find out what mib value I can use to get the free
> memory.
> >I am running FreeBSd5.4 on a pc compatible machine (FreeBSD
> 5.4-RELEASE
> >i386 GENERIC). MIB-2 gives me the total memory. I can get the free
> >memory from a sun box using sun's mib(.1.3.6.1.4.1.2021.4.6.0) which
> >does not work with standard pc box. Could anyone point me to
> the right
> >direction please?
> >
> >
> >
> If you are using net-snmp try this from
> http://net-snmp.sourceforge.net/tutorial/tutorial-4/mrtg/
>
> .1.3.6.1.4.1.2021.4.11.0
>
>
>
> >Regards
> >Mathias,
> >
> >
> >_____________________________________________________________
> _________
> >DISCLAIMER
> >This e-mail is intended only for the use of the addressees
> named above
> and may be confidential. If you are not an addressee you must
> not use any information contained in nor copy it nor inform
> any person other than TeleCity or the addressees of its
> existence or contents. If you have received this e-mail in
> error, please contact the TeleCity IT department on +44 (0)
> 161 232 3220 or by email at techsupport at telecity.com.
> Internet communications cannot be guaranteed 100% secure, you
> should therefore take this potential lack of security into
> consideration when emailing us as we do not accept legal
> responsibility for the security of the contents of this or
> other emails.
> Whilst TeleCity take measures to prevent any virus
> contamination of our computer systems, recipients of emails
> should always ensure that they take their own precautions to
> avoid virus contamination.
> >_____________________________________________________________
> _________
> >_______________________________________________
> >freebsd-net at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-net
> >To unsubscribe, send any mail to
> "freebsd-net-unsubscribe at freebsd.org"
> >
> >
>
>
> ______________________________________________________________________
> This footer denotes the email has been inbound scanned for Virus.
>
> ______________________________________________________________________
>
> ______________________________________________________________________
> DISCLAIMER
> This e-mail is intended only for the use of the addressees
> named above and may be confidential. If you are not an
> addressee you must not use any information contained in nor
> copy it nor inform any person other than TeleCity or the
> addressees of its existence or contents. If you have received
> this e-mail in error, please contact the TeleCity IT
> department on +44 (0) 161 232 3220 or by email at
> techsupport at telecity.com. Internet communications cannot be
> guaranteed 100% secure, you should therefore take this
> potential lack of security into consideration when emailing
> us as we do not accept legal responsibility for the security
> of the contents of this or other emails. Whilst TeleCity take
> measures to prevent any virus contamination of our computer
> systems, recipients of emails should always ensure that they
> take their own precautions to avoid virus contamination.
> ______________________________________________________________________
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
More information about the freebsd-net
mailing list