[SLUG] ComputerBank Meeting Sat 20th?

2007-01-15 Thread Grant Parnell - EverythingLinux
Apologies if you receive this twice, I've bcc'd the LCA delegates mailing list. ComputerBank NSW and ComputerBank Sydney are two organisations in need of repair. Their purpose is to take old computers and either use environmentally friendly recycling or re-task them and give them to

[SLUG] tail and rotated log files

2007-01-15 Thread Peter Hardy
I have a script that uses `tail -f --max-unchanged-stats=5` to follow a log file. The way I read the man page, --max-unchanged-stats will cause tail to close and reopen the given file if it hasn't changed after 5 iterations. But after logrotate rotates the logfile, tail keeps watching the old

Re: [SLUG] tail and rotated log files

2007-01-15 Thread Michael Chesterton
Peter Hardy [EMAIL PROTECTED] writes: I have a script that uses `tail -f --max-unchanged-stats=5` to follow a log file. The way I read the man page, --max-unchanged-stats will cause tail to close and reopen the given file if it hasn't changed after 5 iterations. But after logrotate rotates

Re: [SLUG] tail and rotated log files

2007-01-15 Thread Tony Sceats
Hey Peter, sounds like you want tail -F log or tail --follow=name --retry log never used the max-unchanged-stats argument though - maybe it's used to delay the retry? wtf is an iteration in tail anyway? 5 poll's on the file?! On 1/15/07, Peter Hardy [EMAIL PROTECTED] wrote: I have a script