Re: /dev/fanout : A one-to-many multiplexer (beta)



On Tue, 06 Dec 2005 05:12:51 -0500, Måns Rullgård <mru@xxxxxxxxxxxxx> wrote:

Bob Smith <bsmith@xxxxxxxxxxxxx> writes:

Fanout is a module that replicates its input out to
all processes reading from it.  I use it to distribute
some log messages from syslogd.

That is better to do in userspace using sockets or pipes.

With kind of architecture? How would one attach simple programs like cat or awk to the socket or pipe stream? A pipe can only have one useful reader. And stdio programs don't do sockets. .



Relevant Pages

  • Re: Dumb printing question
    ... If you want to split the output and both drive the printer and save a file copy then look at the jetdirectprint script.. ... # cat jetdirectprint ... open a socket to the printer. ... My PERL is nonexistent, so don't ask me for syntactically correct PERL. ...
    (comp.os.linux.misc)
  • Re: Dumb printing question
    ... I need to get it to a PDF and do other things with it besides ... cat printcap.local: ... open a socket to the printer. ... echo -n -e $TERMINATION; ...
    (comp.os.linux.misc)
  • close writing side of socket only in bash
    ... I had the idea to use bash only as a general ... client for a TCP server. ... # Run cat in the background to drain server output to stdout. ... # With 3<&1 I want to get rid of the socket in fd 3, ...
    (comp.unix.shell)
  • Re: small cat 6 outlet
    ... the outlet socket. ... I found the following for cat 5e: ... you to get deep accessories into shallow boxes (like for ...
    (uk.telecom)
  • Re: Non blocking UDP
    ... trying to connect to the port. ... cat serv.rb ... socket = UDPSocket.new ... a = IO.select(, nil, nil, 5) ...
    (comp.lang.ruby)