RE: Free memory

From: Vince (jhary_at_unsane.co.uk)
Date: 07/05/05

  • Next message: Joe Schmoe: "ntop binary for 5.x in existence ? (the real ntop, not the kitchen sink one...)"
    To: <Mathias@TeleCity.com>
    Date: Tue, 5 Jul 2005 21:57:17 +0100
    
    

    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@freebsd.org
    > [mailto:owner-freebsd-net@freebsd.org] On Behalf Of
    > Mathias@TeleCity.com
    > Sent: 04 July 2005 10:33
    > To: jhary@unsane.co.uk
    > Cc: freebsd-net@freebsd.org
    > Subject: RE: Free memory
    >
    > Forgot to mention:
    >
    > root@rs1# snmpd -v
    >
    > NET-SNMP version: 5.2.1
    > Web: http://www.net-snmp.org/
    > Email: net-snmp-coders@lists.sourceforge.net
    >
    >
    > -----Original Message-----
    > From: Mathias Kenfack-Tabakem (LON)
    > Sent: Monday, July 04, 2005 10:29 AM
    > To: 'vince'
    > Cc: freebsd-net@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@rs1# snmpwalk -v1 -c public localhost
    > .1.3.6.1.4.1.2021.4.11 UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 36108
    >
    > root@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@rs1# dmesg | grep memory
    > real memory = 536805376 (511 MB)
    > avail memory = 515633152 (491 MB)
    >
    > Regards
    > Mathias,
    >
    > -----Original Message-----
    > From: vince [mailto:jhary@unsane.co.uk]
    > Sent: Friday, July 01, 2005 4:29 PM
    > To: Mathias Kenfack-Tabakem (LON)
    > Cc: freebsd-net@freebsd.org
    > Subject: Re: Free memory
    >
    > Mathias@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@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@freebsd.org mailing list
    > >http://lists.freebsd.org/mailman/listinfo/freebsd-net
    > >To unsubscribe, send any mail to
    > "freebsd-net-unsubscribe@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@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@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-net
    > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    >

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Joe Schmoe: "ntop binary for 5.x in existence ? (the real ntop, not the kitchen sink one...)"

    Relevant Pages

    • RE: Free memory
      ... real memory = 536805376 ... have received this e-mail in error, please contact the TeleCity IT ... responsibility for the security of the contents of this or other emails. ... Whilst TeleCity take measures to prevent any virus contamination of our ...
      (freebsd-net)
    • Re: Emails sent by me to friend only received but also returned to me!
      ... To tell for sure what is going on, I'd need to see the full headers of both the original ... I send a lot of emails, and recently, in the ... > case of two regular addressees, my emails (I use text format, ... > X-Mailer: Microsoft Outlook Express 6.00.2800.1437 ...
      (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
    • Emails sent by me to friend only received but also returned to me!
      ... I send a lot of emails, and recently, in the ... case of two regular addressees, my emails (I use text format, ... and HTML format only rarely) have literally been bounced back to me, ...
      (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
    • How to extract email addresses from To or Cc fields to distribution list
      ... I use MS Outlook 2002 and often I get emails where there ... are other addressees in To or Cc fields. ... Janez ...
      (microsoft.public.office.developer.outlook.vba)
    • Outbox and repetative sending
      ... I have 25 emails in my Express 6 outbox that will not go away since ... the whole 25 resends. ... addressees have received a dozen of the same e-mail since yesterday. ...
      (microsoft.public.windows.inetexplorer.ie6.outlookexpress)