Hi,

To get some traffic statistics on multiple capture files in a folder, I am using a batch file running a simple tshark command e.g. "tshark -z io,stat,1,ip.addr==1.2.3.4" on each file one after the other, resulting in a large csv file containing the results.

Unluckily, the statistics generated by this command use Relative Time i.e. timestamps start at zero for each new file.

I was wondering why the output time format using tshark –z io,stat cannot be changed from relative to absolute, eg. using “–t ad”. I found on the mailing list a patch for tap-iostat.c which seem to allow such behaviour. http://www.wireshark.org/lists/wireshark-dev/200608/msg00213.html

So maybe this question is for devs/advisors, could it be integrated into an upcoming release? Thanks!

asked 16 Apr '12, 09:50

yul_analyzer's gravatar image

yul_analyzer
6448
accept rate: 0%


I opened bug 7207 to ensure that patch doesn't get lost again. You might want to subscribe yourself to that bug to track its progress.

link

answered 27 Apr '12, 07:27

JeffMorriss's gravatar image

JeffMorriss ♦
2.2k432
accept rate: 25%

Patch has been applied on trunk and 1.8.0 is now including the corresponding revision, thx!

(05 Jul '12, 12:53) yul_analyzer
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

Tags:

×245
×36
×30

Asked: 16 Apr '12, 09:50

Seen: 1,238 times

Last updated: 05 Jul '12, 12:53

powered by OSQA