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!

Quick Question

Discussion in 'General Discussion' started by Izkabola, Jul 22, 2006.

  1. Izkabola

    Izkabola Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    156
    I am rusty on my linux commands, anyways how can I find out what folder an httpd process is using? (Example: /tmp) I have searched and had no luck. I remember doing this in TOP. Thanks!
     
    #1 Izkabola, Jul 22, 2006
    Last edited: Jul 22, 2006
  2. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    166
    # lsof | grep httpd

    Above command will give all files and directories used by apache (httpd) presently. You can user lsof with its other interactive parameter.


    thnx
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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