I'm looking for a way to monitor the system resources (CPU, memory, Disk
I/O, etc) used by the PHP engine on a linux machine. I can't monitor it by
the usual
means (top, etc), since it runs as part of the apache process(es).

Does anyone know if a tool exists from Zend, or a module for Apache, to
monitor resource usage for internal subprocesses such as PHP?  The machines
I need to
monitor are a cluster of load-balanced servers running Perl and mod_jk in
addition to PHP, so that complicates things a bit.

It was suggested to me on a message board to set up a similar test
environment with just PHP and some kind of profiling built into all the
scripts, but this would kind of defeat the point, since we're wanting to
monitor production machines so that in the case they do down for whatever
reason, we can see which applications spiked when and why.

Sorry for the lengthy question, hope someone can help.  Thanks for your
time.

Reply via email to