[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Unable to see individual processes using top, when using mod_perl

Posted on 2006-04-13
Medium Priority
Last Modified: 2010-04-22
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!
Question by:timdr
1 Comment
LVL 27

Accepted Solution

Nopius earned 1500 total points
ID: 16450342
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


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month19 days, 9 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question