Re: [Wireshark-dev] tshark -x options

2012-03-14 Thread Guy Harris
On Mar 14, 2012, at 10:59 AM, kahou lei wrote: > Thanks for the reply. Actually I want another way around. That is, I don't > want the Packet Summary Line in Tshark. There isn't a flag to do that. You *could* try using tshark -o 'column.format:"No.", "%m"' -o column.hidden:%m ... whi

Re: [Wireshark-dev] tshark -x options

2012-03-14 Thread kahou lei
On 03/13/2012 09:00 PM, Guy Harris wrote: On Mar 13, 2012, at 2:45 PM, kahou lei wrote: Can anyone tell me if I can achieve the same thing that wireshark does in tshark? Yes. Enable "Packet summary line" in addition to "Packet bytes". ... In the File->Print menu (as opposed to the File->Expor

Re: [Wireshark-dev] tshark -x options

2012-03-14 Thread Jeff Morriss
Guy Harris wrote: On Mar 13, 2012, at 6:13 PM, Jeff Morriss wrote: On 03/13/2012 09:00 PM, Guy Harris wrote: On Mar 13, 2012, at 2:45 PM, kahou lei wrote: Can anyone tell me if I can achieve the same thing that wireshark does in tshark? Yes. Enable "Packet summary line" in addition to "Pa

Re: [Wireshark-dev] tshark -x options

2012-03-13 Thread Guy Harris
On Mar 13, 2012, at 6:13 PM, Jeff Morriss wrote: > On 03/13/2012 09:00 PM, Guy Harris wrote: >> >> On Mar 13, 2012, at 2:45 PM, kahou lei wrote: >> >>> Can anyone tell me if I can achieve the same thing that wireshark does in >>> tshark? >> >> Yes. Enable "Packet summary line" in addition to

Re: [Wireshark-dev] tshark -x options

2012-03-13 Thread Jeff Morriss
On 03/13/2012 09:00 PM, Guy Harris wrote: On Mar 13, 2012, at 2:45 PM, kahou lei wrote: Can anyone tell me if I can achieve the same thing that wireshark does in tshark? Yes. Enable "Packet summary line" in addition to "Packet bytes". ... In the File->Print menu (as opposed to the File->

Re: [Wireshark-dev] tshark -x options

2012-03-13 Thread Guy Harris
On Mar 13, 2012, at 2:45 PM, kahou lei wrote: > Can anyone tell me if I can achieve the same thing that wireshark does in > tshark? Yes. Enable "Packet summary line" in addition to "Packet bytes". ___ Sent via:Wireshar

[Wireshark-dev] tshark -x options

2012-03-13 Thread kahou lei
Hi, I am trying to display the hex value of the packet. Currently I am using "-x" option in tshark and I get this output: 1 62 0.00 212.179.66.74 -> 224.0.0.2HSRP Hello (state Active) 62 01 00 5e 00 00 02 00 00 0c 07 ac 01 08 00 45 c0 ..^...E. 0010 00 30 00 00 00 00