Named pipe question

Sam Smith S at mSmith.net
Wed Jan 23 15:34:27 GMT 2002


On Wed, 23 Jan 2002, Alex Dyas wrote:
> Is it possible to get two "listeners" on one named pipe? In other words, I
> create a named pipe (mkfifo), listen to it with two separate tail -f
> instances, but only the first tail sees any data coming out.
>
> Is this a limitation of named pipes?

yes

> It would be nice to be able to  attach any number of "listeners"
> to the pipe as and when.

man tee

For doing what you want without the problems of doing it your way.




Sam


-- 
  Despair: It's Always Darkest Just Before it Goes Pitch Black





More information about the Ukfreebsd mailing list