This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Disable packet count in tshark

0

Topic says it..how do I disable the annoying packet count in tshark? Thank you.

asked 07 May '14, 04:44

DigiAngelXX's gravatar image

DigiAngelXX
216611
accept rate: 0%


2 Answers:

1

Not sure which version supports it but there is: tshark -h

:

-q be more quiet on stdout (e.g. when using statistics)

-Q only log true errors to stderr (quieter than -q)

:

answered 07 May '14, 04:56

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

Yea I tried both of those...no luck but thanks.

(07 May '14, 05:27) DigiAngelXX

1

See my answer to this question, which was also asked in a similar question here.

answered 07 May '14, 07:17

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%

That explains it..thank you.

(07 May '14, 16:53) DigiAngelXX

So this....sorta worked. Looked at the r51227 and recompiled after making the changes to tshark.c. Now EVERY packet gets the packet count...which I guess is better then getting them sporadically.

(09 May '14, 06:18) DigiAngelXX

How are you running tshark? Can you post your tshark command-line?

(09 May '14, 08:17) cmaynard ♦♦

sudo tshark -t ad -n -i eth1 ip and host 192.168.1.1

This gets me a packet count on every line.

(09 May '14, 17:10) DigiAngelXX

You can control what is displayed via tshark's -T fields options or through the -o gui.column.format option. Run tshark -G column-formats for the various options.

(09 May '14, 17:48) cmaynard ♦♦

Thanks...I guess that's my only option.

(14 May '14, 04:40) DigiAngelXX
showing 5 of 6 show 1 more comments