Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Perl Memory Management

by jeroenes (Priest)
on Sep 27, 2001 at 19:03 UTC ( [id://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)

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!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-29 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found