in reply to Perl Memory Management

CPAN is your friend, as always. (there is even a nifty nodelet in User settings.)

Try Proc::ProcessTable if you are on unix... or search for 'Proc' on search.cpan.org.

Jeroen
"We are not alone"(FZ)

Update
I was curious about Win32 solutions. I couldn't find a dedicated module on CPAN. Did some Super search. No obvious answers. But with some more digging I found monitor.pl and Re: WIN32 calls, they can be useful starting points (Getting a Local/Remote Win32 Task List is not very different, dissapointingly enough)

Replies are listed 'Best First'.
Re: Re: Perl Memory Management
by IDStewart (Acolyte) on Sep 27, 2001 at 19:32 UTC
    CPAN is your friend, as always. (there is even a nifty nodelet in User settings.) Try Proc::ProcessTable if you are on unix... or search for 'Proc' on search.cpan.org.

    Looks promising. Pitty it won't build on Solaris...

    Oh well. It least I know where to start digging...

        I just finished installing and it appears to pass all the tests.

        What I can't figure out is why this builds and Proc::ProcessTable doesn't, when they both include procfs.h (the offending file from Proc::ProcessTable).

Re: Re: Perl Memory Management
by rob_au (Abbot) on Sep 28, 2001 at 17:06 UTC
    In addition to this, I have recently posted some code to Q&A which will return process memory usage via the Proc::ProcessTable module. The Q&A thread where this can can be found is here.

     

    Ooohhh, Rob no beer function well without!