> Hello Derek,
> 
> nice idea. But there is a problem with the tail
> command in your perl script.
> In /etc/logadm.conf is a line for rotating svc logs.
> Each time a logfile got rotated, the tail command
> wouldn't catch log lines any more.
> In other words: after rotating a logfile (truncating
> file or creating a new file) by logadm, tail command
> begins to just hang around and doing (almost)
> nothing.
> 
> Possible solution: There is a linux (or GNU) version
> of tail which is able to catch this type of file
> change. I guess gtail may be available from software
> companion!?
> 
> Possible solution 2: write perl code to do proper
> logfile reading and catching rotated logfiles.

I think this is why I used /usr/xpg4/bin/tail in the program.. I don't remember 
since I wrote this a while back.  I'm pretty sure the program doesn't have the 
problem you mentioning though.  I've run this for a few months on some servers 
at work and no problems.  I'll look more into it.
 
 
This message posted from opensolaris.org

Reply via email to