Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl Memory Management

by jeroenes (Priest)
on Sep 27, 2001 at 19:03 UTC ( #115114=note: print w/ replies, xml ) Need Help??


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)


Comment on Re: Perl Memory Management
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://115114]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2014-08-29 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls