I'm tracing issues with Window Scaling from client to server, after a batch testfile (with copy commands for file transfers) i want to analyse all tracefiles for throughput, window sizes, application read requests and so on, but..... from every trace i only need the biggest tcp stream. Most of the time it's "tcp.stream eq 0" but sometimes not.. How to tshark a folder full of traces for the biggest tcp stream in each trace? As always, all answers are highly appreciated! asked 18 Jul '11, 23:55 Marc edited 18 Jul '11, 23:56 |
2 Answers:
So the "koel" stuff you're looking for might be looking something like this?
(only works with relative sequence numbering on and for streams in which the sequence number does not wrap) answered 25 Jul '11, 17:12 SYN-bit ♦♦ |
answered 25 Jul ‘11, 11:33 joke Ah Joke! Thanks for the answer! but this is only partly what i ment, i would need the biggest trace in the file eg a new .pcap file with only the biggest trace, so dropping everything else (25 Jul ‘11, 12:12) Marc
(25 Jul ‘11, 12:34) joke Exactly, and this is where it gets hard because doing this for every tracefile in a folder is as much trouble as clicking through the GUI… i was hoping for something (i’m using my fantasy here…)along the lines of: tshark -r test.tcp.pcap -q -z conv,tcp | awk “first lines of previous output” then put in new tshark cmd… wouldn’t that be “koel”? (25 Jul ‘11, 12:44) Marc |
Many,many thanks! I'll let the script work down my dir meanwhile i'll try get my head around everybit of that long line you wrote here, amazing stuff mr Blok!