--- Sneh D my_linux@rediffmail.com wrote:
Hi all,
Is there a way in which i can find out (using a shell script) whether the .DAT file has been locked for FTP or not?
Kindly suggest a way out. Regards, Sneh.
It is possible to find out if this .DAT file is already open, using either of the utilities "lsof" or "fuser". You may choose to populate the tables only if this file is not already open.
Regards, ThaniX
__________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/