To enable the Apache::Status modules to present
more exotic information, make sure that the following modules are
installed: Data::Dumper,
Apache::Peek, Devel::Peek,
B::LexInfo, B::Deparse,
B::Terse, and B::TerseSize.
Some of these modules are bundled with Perl; others should be
installed by hand.
When you have the aforementioned modules installed, add these
directives to your httpd.conf file:
PerlSetVar StatusOptionsAll On
PerlSetVar StatusDumper On
PerlSetVar StatusPeek On
PerlSetVar StatusLexInfo On
PerlSetVar StatusDeparse On
PerlSetVar StatusDeparseOptions "-p -sC"
PerlSetVar StatusTerse On
PerlSetVar StatusTerseSize On
PerlSetVar StatusTerseSizeMainSummary On
and restart Apache. Alternatively, if you enable all the options, you
can use the option StatusOptionsAll to replace all
the options that can be On or
Off, so you end up with just these two lines:
PerlSetVar StatusOptionsAll On
PerlSetVar StatusDeparseOptions "-p -sC"
When you explore the contents of the compiled Perl module or Registry
script, at the bottom of the screen you will see a Memory Usage link.
When you click on it, you will be presented with a list of funtions
in the package. For each function, the size and the number of OP
codes will be shown.
takes up 136 bytes of memory.