Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to tell if script sucks...memory

by AltBlue (Chaplain)
on Feb 03, 2007 at 10:54 UTC ( [id://598067]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MLinux::Smaps -le '$sm = Linux::Smaps->new($$); \
       sub psize { $sm->update; print $sm->size; }  \
    ...
    6312
    6560
    7088
    
  2. or download this
    $ perl -MGTop -le '$gtop = GTop->new; \
       sub psize { print $gtop->proc_mem($$)->size; } \
    ...
    7839744
    7958528
    8499200
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-07-18 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.