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

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%


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)

:

permanent link

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

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

permanent link

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×832

question asked: 07 May '14, 04:44

question was seen: 2,339 times

last updated: 14 May '14, 04:40

p​o​w​e​r​e​d by O​S​Q​A