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 find which program/service/process touch the file?

Discussion in 'General Discussion' started by ispro, Oct 15, 2004.

  1. ispro

    ispro Well-Known Member

    Joined:
    Apr 8, 2004
    Messages:
    628
    Likes Received:
    1
    Trophy Points:
    168
    Any of our created directories in /tmp folder erasing after some time... We cannot track which program/service/process touch the file...

    Looks like tmpwatch is not a problem - it is to be run daily, not an every few minutes!

    How can we do the trace?.. For example do chattr +i /tmp/newdir and then watch which process access this dir?

    Point me to manual/links on this theme.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ispro

    ispro Well-Known Member

    Joined:
    Apr 8, 2004
    Messages:
    628
    Likes Received:
    1
    Trophy Points:
    168
    Addition.

    I have removed tmpwatch just to find out it is not a source of this "bug"...

    Anyone! Help me to find out it!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Sheldon

    Sheldon Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Canada
    subscribing to this post
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    168
    At the top of the thread you should see a box called 'Thread Tools'. You can subscribe to the thread there. You can manage your subscriptions in the User CP.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. ispro

    ispro Well-Known Member

    Joined:
    Apr 8, 2004
    Messages:
    628
    Likes Received:
    1
    Trophy Points:
    168
    Thank you for the links, but...

    ...SNARE can do the job, but it will needed to be embedded into kernel.

    And we have RH7.3 on this machine.
    SNARE hasn't version for RH7.3.

    May you recommend something else? Better without kernel recompile?..
     
    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