| PLEX86 | ||
|
Any way to check "is file openNot sure where to start or post this question. So just taking a few random wacks at this. Is there a systematic way to determine if a file is currently "open" by a live process somewhere? I don't really care where or by what. Just that some process actually has that file open. Britannica and Linux. Does it get any more pitiful Here is a perfect example of how little software and hardware manufacturers care about Linux. Now let's take a looksee. With Windows XP I put the CD in the tray, selected install from the... Problem. We have this logging directory that a number of different apps on this system share. They are all bad processes that like to leave these logging files around. The data is important, I want to archive it off at certain points. But I don't want to "move" away those files in the directory if they are still open. There is no way by looking at the data in the file itself to know when it is closed. I just want to be able to look at a filename and somehow determine if some process has it open. Note, this could be on another machine. As this is an NFS mount point. It doesn't matter if the solution is via C, some scripting languange, shell language, or whatever. I just am trying to find out if it is even possible to determine if a file is open or not. Since it probably matters, in this case all our machines that would have one of these files open are running RedHat ES 3. All are NFS mounting that parbreastion which is using the ext3 filesystem.
|
||||
Britannica and Linux. Does it get any more pitiful Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||