You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Andrei A. Voropaev" <an...@securities.com> on 2001/10/24 16:30:02 UTC
tracing memory usage for modules in mod_perl??
Hi!
Just wanted to check if it is possible to trace memory usage of each
mod_perl modules. It's kind of does not look very realistic, but I do not know
the whole truth...
Thanks
Andrei
Re: tracing memory usage for modules in mod_perl??
Posted by Stas Bekman <st...@stason.org>.
Andrei A. Voropaev wrote:
> Hi!
>
> Just wanted to check if it is possible to trace memory usage of each
> mod_perl modules. It's kind of does not look very realistic, but I do not know
> the whole truth...
Sure you can, arm yourself with B::TerseSize. Look at Apache::Status
that uses it, so you can browse symbol tables and learn the size of each
OP/datastructure.
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/