Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Determining the Memory Usage of a Perl program from within Perl

by Gloom (Monk)
on Feb 15, 2001 at 16:31 UTC ( #58602=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open( STAT , "</proc/$$/stat" )
        or die "Unable to open stat file";
    ...
    @stat = split /\s+/ , <STAT>;
    
    close( STAT );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2015-07-02 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (41 votes), past polls