Unable to see individual processes using top, when using mod_perl

When I have mod_perl enabled, and I try to watch "top" on a linux box, all I see is httpd processes near the top. When I disable mod_perl, I can see the individual .cgi files running. I understand that this is exactly what mod_perl is supposed to do, to cache itself inside of httpd, but I would love the best of both worlds, specifically to see what individual processes are sucking up the CPU.

Is there a way to see what .cgi's are actually running, when mod_perl is enabled?

Thank you in advance!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Artysystem administratorCommented:
You may see, what pages are currently queried, this may help.

Just enable extended status in httpd.conf:

# uncommend this
ExtendedStatus ON

# Also fix Allow from ..
<Location /server-status>

Restart apache,
now browse http://yourserver/server-status

You will see something like this:
Srv      PID      Acc      M      CPU       SS      Req      Conn      Child      Slot      Client      VHost      Request
0-0      26292      0/0/0      W       0.00      0      1786959044      0.0      0.00      0.00      www.yourhost.com      GET /server-status HTTP/1.1

Srv      Child Server number - generation
PID      OS process ID
Acc      Number of accesses this connection / this child / this slot
M      Mode of operation
CPU      CPU usage, number of seconds
SS      Seconds since beginning of most recent request
Req      Milliseconds required to process most recent request
Conn      Kilobytes transferred this connection
Child      Megabytes transferred this child
Slot      Total megabytes transferred this slot

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux OS Dev

From novice to tech pro — start learning today.