Assuming I want to calculate throughputs (using commands) by applying different display filters on same file, I have to calculate capture time from "capinfos -u" and bytes from "tshark -z io,stat,time,filter" Is there any better way that I can get througput directly? I want to specify display filters in single command and get the throughut directly in a single command. asked 24 Jun '13, 07:51 Rajat |
2 Answers:
How about something like It gives the following output:
Now you can use the capture time and the answered 24 Jun ‘13, 08:23 SYN-bit ♦♦ |
How about this:
Then take the Bytes value and divide it by the number of seconds (Duration). To get only one certain streams, either filter them (option: -R tcp.port eq xxxx) or search for those connections in the output of tshark.
Regards answered 24 Jun '13, 10:38 Kurt Knochner ♦ edited 24 Jun '13, 10:39 |
Which version of Wireshark is this? The one I have is a dissector where tshark -z io,stat,0,filter does not specify total capture time.
The latest official release 1.10, which version are you running?
Sake, what is the relavance of 0 in your t-shark cli?
Thanks
It is representing the interval over which the statistics are calculated. 0 means “the whole file”.