[CLUE-Tech] Partial file troubles

Keith Hellman kehellman at yahoo.com
Wed Jan 9 12:58:37 MST 2002


Have you looked at 'lsof'?

--- Grant Johnson <grant at amadensor.com> wrote:
> We have a scheduler system that kicks off on the modification or 
> existence of a file.  This file is being sent via FTP.  The thing it 
> kicks off is a Korn shell script that runs PGP.
> 
> Here is the problem:
> The file is marked as modified, or comes into existence before the FTP 
> is complete.  PGP does not like this.  Is there a test for the number of
> 
> open file handles on that inode, or a way to tell if exclusive access is
> 
> available to a file so that we can tell from the shell script when FTP 
> is done before we start the PGP?
> 
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech


=====
Keith E. Hellman
kehellman at yahoo.com

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



More information about the clue-tech mailing list