Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] buffering problem

From: "Abhik Sarkar" <sarkar.abhik@xxxxxxxxx>
Date: Fri, 25 Jul 2008 14:50:13 +0400
Does this help?
http://en.wikipedia.org/wiki/Tee_(command)

On Fri, Jul 25, 2008 at 11:08 AM, Ammar Lilamwala
<ammar.lilamwala@xxxxxxxxx> wrote:
> HI all.
> I am using tshark to capture rtcp packets in linux (opensuse 10.3)
> when i want to display the output in the standard output(monitor) i get the
> data instantaneously
> the command i use is is
>
> tshark -d udp.port==12001,rtcp -e rtcp.ssrc.jitter -e rtcp.ssrc.fraction -e
> rtcp.ssrc.dlsr -i eth1 -R "rtcp" -T fields
>
> Now when i want to store the output in a file and i use the same command as
> above with the redirection operator
> the output only gets stored once i terminate tshark using ctrl+c. ie only
> when the buffer is flushed.
>
> any suggestions how to overcome this problem. i searched a bit and tried
> using the setvbuf option in linux but i dont know how to use it.
> can i do some changes in tshark to solve this buffering problem.
> i need to be able to monitor the rtcp packets in real time . thats why.
>
> regards
> ammar
>
>
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-users
>
>