Sysadmins love top. Now it’s time for mod_top. From the homepage:
mod_top is a production monitoring tool for LAMP applications with user interfaces modeled after the popular unix top. mod_top plans to support PHP, Perl, Ruby, Python, mySQL, Postgres, Apache1+2 on Linux.
mod_top is a PHP extension that is able to monitor PHP 4.4.x and PHP 5.x based applications. Sounds cool. Unfortunately it seems there’s no source available, but the FAQ says that mod_top is free.