Hello to all, I am curious how can i get the stats from a packet capture manually ( instead of going to statistics->summary menu), such as packet count, total bytes, and avg MBit/sec. It's just an educational question, i don't want to use it in real life. Thanks!!! asked 22 Dec '12, 03:26 EvilDude |
One Answer:
Isn't going to statistics->summary the manual way to get the statistics? You can get to the stats from the CLI with capinfos:
But maybe you mean how you can calculate the individual values themselves? Well, that would require libpcap programming to read the files and keep count of all the necessary data and then output the results. So basically you would want to write your own capinfos tool :-) (have a look at the capinfos source code for more details) answered 22 Dec '12, 03:52 SYN-bit ♦♦ |