Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how to track apache processes

Discussion in 'EasyApache' started by hicom, Nov 29, 2004.

  1. hicom

    hicom Well-Known Member

    May 23, 2003
    Likes Received:
    Trophy Points:
    Hello everyone, I'm wondering if there is a way to track which child objects associated with a specific apache PIDs.

    For example, I see in TOP these processes:

    15350 nobody 2 0 22896K 17244K sbwait 0:16 4.79% 4.79% httpd
    15345 nobody 2 0 27788K 22100K sbwait 0:06 0.00% 0.00% httpd
    15338 nobody 2 0 27872K 22232K sbwait 0:05 0.00% 0.00% httpd
    15349 nobody 2 0 23228K 17576K sbwait 0:05 0.00% 0.00% httpd
    15339 nobody 2 0 22512K 16860K sbwait 0:05 0.00% 0.00% httpd
    15413 nobody 18 0 23080K 17428K lockf 0:05 0.00% 0.00% httpd

    I want to find out which website is causing the CPU usage at PID: 15350

    Anyway to track them down ? Apache-Status in WHM seems good, but I was not able to use it successfully to track abusive scripts. My main need is to track cgi,php,perl scripts.
  2. Well-Known Member

    Feb 6, 2004
    Likes Received:
    Trophy Points:
    Bucharest, Romania
    cPanel Access Level:
    DataCenter Provider
    if you look in whm, to the apache-status page you'll see alot of accesed pages there.

    each one as a PID . compre that pid with the one in top, and there you have your resource-hog
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice