linux系统上可以用F参数。请问solaris有什么好的办法么作者: duanwenwen_850 时间: 2008-10-21 13:58
--follow (-f), tail defaults to following the file descriptor, which means that even if a tail'ed file is renamed, tail will
continue to track its end. This default behavior is not desirable when you really want to track the actual name of the file, not
the file descriptor (e.g., log rotation). Use --follow=name in that case. That causes tail to track the named file by reopening
it periodically to see if it has been removed and recreated by some other program.