Persistent connection to named pipe

Tom Metro tmetro+gnhlug at gmail.com
Fri Jul 16 21:43:16 EDT 2010


Michael ODonnell wrote:
> ..."tail -f"...I have yet to see any output when used
> on the RHEL3 system where I actually need to do the filtering.

Try -F. Quoting tail(1):

  -F      same as --follow=name --retry

  --retry keep trying to open a file even when it is or becomes
          inaccessible; useful when following by name,
          i.e., with --follow=name

  -f, --follow[={name|descriptor}]
          output appended data as the file grows; -f, --follow, and
          --follow=descriptor are equivalent

Though I prefer and have used the shell loop approach to solve this problem.

 -Tom

-- 
Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/


More information about the gnhlug-discuss mailing list