🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #13169

Re: distribuir salida a varios procesos

#13169
From: J.A. Gutierrez
Date: Mon, 12 Mar 2001 18:31
21 lines
1798 bytes
Toptnc <fernando_sancho@dipucr.es> wrote:

: Mi idea es esta. Conecto con una pipe la salida de tcpdump a un
: distribuidor. Para cada proceso que necesita la salida de tcpdump

	a ver que te parece esto.

	shell-1$ mknod pipe1 p
	shell-1$ mknod pipe2 p
	shell-2$ od -c pipe1
	shell-3$ od -x pipe2
	shell-1$ cat /etc/motd | tee pipe1 | tee pipe2  | rev

	Asi tienes tres procesos (rev, od -c y od -x) procesando
	la salida de un proceso (cat)

-- 
PGP and other useless info at      \                 La ciencia-ficcion es
http://www.cps.unizar.es/~spd/      \                 ese futuro en el que
finger://daphne.cps.unizar.es/spd    \                 lo seguro es que ya
ftp://ivo.cps.unizar.es/pub/          \    (F. Alfaro)  no seremos jovenes
Technical Details
Message-ID: <98j4mt$jvv$1@news.unizar.es>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!newsfeed.icl.net!ldn-newsfeed.speedport.net!newsfeed.speedport.net!naxos.belnet.be!news.belnet.be!news.rediris.es!news.unizar.es!not-for-mail
References: <u66pat8eka480ljut3mhtccehcghpckdn2@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,9050de6ed77e4c12
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-03-12 10:22:55 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!newsfeed.icl.net!ldn-newsfeed.speedport.net!newsfeed.speedport.net!naxos.belnet.be!news.belnet.be!news.rediris.es!news.unizar.es!not-for-mail
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: distribuir salida a varios procesos
Date: 12 Mar 2001 18:31:57 GMT
Organization: Rank
Lines: 21
Message-ID: <98j4mt$jvv$1@news.unizar.es>
References: <u66pat8eka480ljut3mhtccehcghpckdn2@4ax.com>
NNTP-Posting-Host: daphne.cps.unizar.es
X-Trace: news.unizar.es 984421917 20479 155.210.152.20 (12 Mar 2001 18:31:57 GMT)
X-Complaints-To: usenet@news.unizar.es
NNTP-Posting-Date: 12 Mar 2001 18:31:57 GMT
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (IRIX/6.2 (IP22))