I am looking for a simple packet logging utility that just samples the size of incoming/outgoing packets at a fixed interval.
I am not sure how to manipulate the db files generated by darkstat, vnstat, ntop.
I found live vnstat -i eth0 -l give me almost what I need, but I can't save the output because they rewrite the same terminal space
darkstat makes a nice graph via web interface, but I want the data for the graph
just looked into snort and found that I can go through every packet, and grep the file for the content-length, however the time of arrival for each packet is a bit fidgity.
at the very least I am just looking for a program that gives me one column bytes sent for a fixed time interval:
OR two columns, with time of sending and size for each packet