Apache-VMonitor
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Apache/VMonitor.pm view on Meta::CPAN
sections can be shown/hidden dynamically through the web interface.
The are two main modes:
=over
=item * Multi processes mode
All system processes and information are shown. See the detailed
description of the sub-modes below.
=item * Single process mode
If you need to get an indepth information about a single process, you
just need to click on its PID.
If the chosen process is a mod_perl process, the following info is
displayed:
=over
=item *
Process type (child or parent), status of the process (I<Starting>,
I<Reading>, I<Sending>, I<Waiting>, etc.), how long the current
request is processed or the last one was processed if the process is
inactive at the moment of the report take.
=item *
How many bytes transferred so far. How many requests served per child
and per slot.
=item *
CPU times used by process: C<total>, C<utime>, C<stime>, C<cutime>,
C<cstime>.
=back
For all (mod_perl and non-mod_perl) processes the following
information is reported:
=over
=item *
General process info: UID, GID, State, TTY, Command line arguments
=item *
Memory Usage: Size, Share, VSize, RSS
=item *
Memory Segments Usage: text, shared lib, date and stack.
=item *
Memory Maps: start-end, offset, device_major:device_minor, inode,
perm, library path.
=item *
Loaded libraries sizes.
=back
Just like the multi-process mode, this mode allows you to
automatically refresh the page on the desired intervals.
=back
Other available modes within 'Multi processes mode'.
=over
=item refresh mode
From within a displayed monitor (by clicking on a desired refresh
value) or by setting of B<$Apache::VMonitor::Config{refresh}> to a number of
seconds between refreshes you can control the refresh rate. e.g:
$Apache::VMonitor::Config{refresh} = 60;
will cause the report to be refreshed every single minute.
Note that 0 (zero) turns automatic refreshing off.
=item top(1) emulation (system)
Just like top(1) it shows current date/time, machine uptime, average
load, all the system CPU and memory usage: CPU load, Real memory and
swap partition usage.
The top(1) section includes a swap space usage visual alert
capability. The color of the swap report will be changed:
swap usage report color
---------------------------------------------------------
5Mb < swap < 10 MB light red
20% < swap (swapping is bad!) red
70% < swap (almost all used!) red
The module doesn't alert when swap is being used just a little (<5Mb),
since it happens most of the time, even when there is plenty of free
RAM.
If you don't want the system section to be displayed set:
$Apache::VMonitor::Config{system} = 0;
The default is to display this section.
=item top(1) emulation (Apache/mod_perl processes)
Then just like in real top(1) there is a report of the processes, but
it shows all the relevant information about mod_perl processes only!
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.445 second using v1.00-cache-2.02-grep-82fe00e-cpan-503542c4f10 )