remove-source-files checking for open files?

2009-06-03 Thread Roy Sigurd Karlsbakk
hi We have a box here connected to an antenna receiving rather large amounts of metheorological data from a satellite. the data is received and ransferred to another box and removed from the receiving server. I first thought of using rsync for this, but it seems --remove-source- files has

Re: remove-source-files checking for open files?

2009-06-03 Thread Paul Slootman
On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote: We have a box here connected to an antenna receiving rather large amounts of metheorological data from a satellite. the data is received and ransferred to another box and removed from the receiving server. I first thought of using rsync

Re: remove-source-files checking for open files?

2009-06-03 Thread Roy Sigurd Karlsbakk
On 3. juni. 2009, at 12.34, Paul Slootman wrote: On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote: We have a box here connected to an antenna receiving rather large amounts of metheorological data from a satellite. the data is received and ransferred to another box and removed from the

Re: remove-source-files checking for open files?

2009-06-03 Thread Paul Slootman
On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote: I would solve this not using rsync, but by writing the active file in a separate directory, or by first writing to a special filename and renaming when done (like firefox adds .part to the filename while it is still downloading it). Why not

Re: remove-source-files checking for open files?

2009-06-03 Thread Roy Sigurd Karlsbakk
On 3. juni. 2009, at 18.16, Paul Slootman wrote: On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote: I would solve this not using rsync, but by writing the active file in a separate directory, or by first writing to a special filename and renaming when done (like firefox adds .part to the

Re: remove-source-files checking for open files?

2009-06-03 Thread Paul Slootman
On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote: On 3. juni. 2009, at 18.16, Paul Slootman wrote: Because checking whether a process has a file open can be very costly in system resources. Not really. I'm writing some code doing this now. It will be Linux Well, it's not something to do

Re: remove-source-files checking for open files?

2009-06-03 Thread Roy Sigurd Karlsbakk
On 3. juni. 2009, at 19.31, Paul Slootman wrote: On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote: On 3. juni. 2009, at 18.16, Paul Slootman wrote: Because checking whether a process has a file open can be very costly in system resources. Not really. I'm writing some code doing this now.