RE: Free memory

Mathias_at_TeleCity.com
Date: 07/04/05

  • Next message: Noritoshi Demizu: "Re: TCP MD5 Signature option handling in tcp_syncache.c"
    Date: Mon, 4 Jul 2005 10:32:42 +0100
    To: <jhary@unsane.co.uk>
    
    

    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"


  • Next message: Noritoshi Demizu: "Re: TCP MD5 Signature option handling in tcp_syncache.c"

    Relevant Pages

    • Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
      ... memory freed it so there is free memory that could be filled with data ... in some other situations swap prefetch cannot help becouse useless data is getting cached at the expense of useful data. ... the design is to use CPU and I/O capacity that's otherwise idle to fill free memory with data from swap. ... Upon completion, it actually frees enough memory that swap-prefetch _could_ help on some boxes, while the real issue is that they should first and foremost dump GNU locate. ...
      (Linux-Kernel)
    • Re: Solaris 2.6 high pages scans
      ... > I can see the the amount of free memory rarely dips below 230MB and the ... list and is seen by the page scanner as in use. ...
      (comp.unix.solaris)
    • Re: Memory not freed when unloading forms
      ... > What's not fine is the severe problem we are experiencing: ... > program to monitor the global amount of free memory. ... > in our application, free memory decreased a little, let's say 7%. ... > correctly after unloading a form. ...
      (microsoft.public.vb.general.discussion)
    • Re: [PATCH 0/8][for -mm] mem_notify v6
      ... > Here is the start and end of the output from the test program. ... > has to free memory gets smaller and smaller. ... notification reaction opportunity, ...
      (Linux-Kernel)
    • Re: Computer Running very Slow
      ... also the memory is 256MB and the Bus is 133 Megahertz. ... it's very likely true that there's almost no free memory. ... you should not have *any* available RAM. ... the most common cause for performance issues is malware infestation. ...
      (microsoft.public.windowsxp.help_and_support)