[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] Synchronise a file to a remote machine in real time
John Elliot wrote:
What are the implications of file-locking in the above scenario? Does
machine B have a write-lock on logfile-copy, or does it open and close
the file (thus making it periodically available for reading) while it is
waiting for more data? Does tail buffer data if it can't get a write
lock on a file while another process is reading it?
The blame remains the same, and I realise that it must be the ssh client
on B which has the write-lock. Does the local ssh client process
periodically make logfile-copy available for reading?
I'm assuming Jay wants to be able to process the file on B as it arrives
(otherwise the 'close to real-time' requirement doesn't seem as urgent).
-
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@xxxxxxxxxxxxxxxxxxx
If you are having trouble, ask owner-progsoc@xxxxxxxxxxxxxxxxxx for help.