[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-help
Subject: Re: How to extract bandwidth usage from tcpdump capture file?
From: khym () azeotrope ! org
Date: 2007-04-06 4:29:57
Message-ID: 20070406042957.GB2222 () azeotrope ! org
[Download RAW message or body]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic