On Mon, 31 Jul 2000 11:01:48 CHAD B ARMSTRONG wrote:
>
> Hi,
> I downloaded and installed Ethereal on my Linux (slackware) box
> and was immedialty impressed. I would like to add some statistics
> reporting features, such as, % network utilization and % makeup by
> protocol. Maybe even a bar graph or two. I think the data needed for the
> reporting is already gathered I just need to find and format it. Can
> anyone give me a pointer (no pun intended) on where to find the data I
> need? I've looked in a couple of files mainly summary.c and .h but to no
> avail. Thanks
>
> chad
>
> ps the data used to make the summary window would be a great
> starting point.
summary.c calculates the data. It uses some data from cfile, and
adds the per-frame data in tally_frame_data().
Not all the information you need is available. If you want % network
utilization, you need to know the maximum theoretical bandwith of your
network. For most link types, you'll have to ask the user the size of
their pipe... 10/100/1000 Mbps ethernet, 4/16/100 Mbps token-ring, etc.
--gilbert