[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to get info on process

Dan Track wrote:

I've got a file /opt/development/index.html that I serve. The problem
I'm having is that some other process is touching/locking this file at
random intervals. Now this mystery process seems to only last for less

I don't understand. This is not a standard file, so the process which
is opening it should be one you created.

than a second. So my dilemma is how do I capture what it is given the
short space of time the process acts upon the file. What tools are

Common sense and intelligence go a long way. Turn off your apps, and
turn them back on one by one.

I've tried to use

watch lsof /opt/development/index.html

with an interval of 1 sec refresh, but I still can't see the process. Any ideas?

Yes. You must have *some* app which is noticing that the file is
getting locked. Have it do an lsof on that file.

But really, this must be one of your own apps that's doing it,
musn't it?

Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]