From: Conor Daly (conor.daly at domain oceanfree.net)
Date: Sun 09 Jul 2000 - 00:13:24 IST
Padraig Lennon wrote:
> I basically want to know if a file (log) that is currently being written to
> by a service, needs to be copied
> Can it be copied without having to stop that service, renaming the file,
> touch a new file, and restart the service?
> Sorry for the mixup -- i wrote down the wrong file name.
AFAIK, you'll be able to cp the file without probs but the *real* issue
here is how to truncate the file once it's been copied. I presume you
want to trim the log file after copying it. Don't know how to do it
-- Conor Daly ph +353 1 8326146 conor.daly at domain oceanfree.net ------------------------
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:49 GMT