in reply to Remaining Memory on a system

if you must, which NOT the preferred option, then you can use SNMP module to get at the required MIB values. You should do it in a loop, hopefully the loop that actually chews up the memory. Why don't you post up the code that's chewing the memory so badly? Does it have a memory leak?..or could it be re-written?

Replies are listed 'Best First'.
Re: Re: Remaining Memory on a system
by blue_cowdawg (Monsignor) on Aug 29, 2003 at 14:39 UTC

        then you can use SNMP module to get at the required MIB values

    Something tells me that the OP doesn't want to turn on SNMP on a machine that firewall logging is being done on. This IMHO would be a bad thing® and should be avoided.


    Peter L. Berghold -- Unix Professional
    Peter at Berghold dot Net
    Chat Stuff: AIM:  redcowdawg
    Yahoo: blue_cowdawg
    Cowdawg Philosophy:  Sieze the Cow! Bite the Day!
    Clever Quip:  Nobody expects the Perl Inquisition!
    Non-Perl Passion:   Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.

      First blue_cowdawg, let me say that you are someone I really respect. However, would you consider using a readmore tag on your sig? It's not that it isn't beautiful and very informative because it is. However, attaching a cliffs notes version of your homenode to every post isn't something I'd suggest. Also, the green doesn't work with the css definitions some of your fellow monks use.

      Owner of an "I Perl" thong,
      Anonymous Monk