Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: way to find module memory usage?

by BrowserUk (Patriarch)
on Jun 07, 2018 at 01:04 UTC ( [id://1216075]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    07/06/2018  01:44         3,959,242 gened.pl
                   1 File(s)      3,959,242 bytes
    
  2. or download this
    C:\test>wc -l gened.pl
      50405 gened.pl
    
  3. or download this
    C:\test>perl -d:Trace gened.pl >log 2>&1
    C:\test>dir log
    07/06/2018  01:49         2,334,425 log
                   1 File(s)      2,334,425 bytes
    
  4. or download this
    sub mem2{ `tasklist /nh /fi "PID eq $$"` =~ m[(\S+ K)$]; }
    
    print mem2;
    
  5. or download this
    [ 1:52:14.81] C:\test>tail gened.pl
        X4: L4( $s, $e, $p );
    ...
    
    [ 1:53:47.89] C:\test>gened
    187,124 K
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-19 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found