The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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:
    16
    # 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
     
Loading...

Share This Page