Best way to filter real time data stream?
From: Herb T (oth3ll0_at_hotmail.com)
Date: 04/30/05
- Next message: bigbinc_at_hotmail.com: "Re: Setting up your own linux distro"
- Previous message: Tony Lawrence: "Re: When Longhorn release, Linux got killed."
- Next in thread: Jean-David Beyer: "Re: Best way to filter real time data stream?"
- Reply: Jean-David Beyer: "Re: Best way to filter real time data stream?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Apr 2005 10:16:38 -0700
Greetings,
I was searching for a way to filter out keep-alive traffic and data
arriving from a specific ip addr (e.g. chat server) for a continuous
stream of network data. I started with grep, but the problem I was
having when grep was piped through grep, real time traffic seemed to
buffer the data stream. Information updates happened after a some
number of characters accumulated. For example,
ht@host:~$ tcpdump -i eth0 | grep -v keep-alive-traffic | grep -v
chat-server
...
Can you recommend a better way than two levels of pipe ('|')? I had
thought maybe sed, or combining into a single egrep expression?
Thanks,
-HT
- Next message: bigbinc_at_hotmail.com: "Re: Setting up your own linux distro"
- Previous message: Tony Lawrence: "Re: When Longhorn release, Linux got killed."
- Next in thread: Jean-David Beyer: "Re: Best way to filter real time data stream?"
- Reply: Jean-David Beyer: "Re: Best way to filter real time data stream?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|