Re: How to extract bandwidth usage from tcpdump capture file?

[email protected]
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
On Thu, Apr 05, 2007 at 07:08:29PM -0600, Herb Peyerl wrote:
> That'd be one way.... But a .cap file is a relatively trivial file  
> format.  There's a pcap_file_header and a pcap_pkthdr in front of  
> each packet in the file.  Find the first pcap_pkt hdr, record the  
> timestamp and len (see /usr/include/pcap.h) and you have the  
> equivalent of your tcptrace output.  Pump it into gnuplot and you're  
> done...

So nobody's already done the work for me, huh? :) OK, it sounds like
I'll have to roll my own then.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.