in reply to Is file still open ?
Some versions of Unix (and Linux) support the fuser command. FreeBSD has the fstat command. On some versions of Unix, there's no way to tell!
On most (I think all) Unixes, you can kill(pid, 0) to see if pid exists.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is file still open ?
by blazar (Canon) on May 15, 2006 at 13:18 UTC |