You should try a really good program called ntop available from ntop.org if
I remember correctly
From: Vincent Cunniffe [mailto:vincent at cunniffe.net]
Sent: 19 December 2001 10:05
To: Irish Linux Users Group
Subject: Re: [ILUG] Amount of data transferred over a network interface
Niall O Broin wrote:
> Is there any way of telling the amount of data transferred over a network
> interface ? From ifconfig I can get the number of RX and TX packets and a
> simple (RX + TX) X MTU gives me an upper bound (which, come to think of
> will be close enough) but I suspect that somewhere in /proc I could find
> this. I've looked but haven't found anything. In fact, I've often wondered
> if there is a comprehensive document anywhere which describes everything
> which can be accessed through /proc - is there ?
Redhat 7.2 default ifconfig shows both packets and absolute byte count
for all interfaces, if that's any help.
Presumably some upgrades to kernel and userland tools would accomplish
Irish Linux Users' Group: ilug at linux.iehttp://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!