Hi All,
I am checking for the data transfer over particular interface. ifconfig reports the following
eth0 Link encap:Ethernet HWaddr 00:90:77:2E:88:3E inet addr:202.54.1.30 Bcast:202.54.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:38272865 errors:0 dropped:0 overruns:0 frame:454 TX packets:35874542 errors:0 dropped:0 overruns:0 carrier:233 collisions:2018238 txqueuelen:100 Interrupt:11 Base address:0x2000
How do i know the data transfered in bytes? RX and TX. Is there any other way to find it out? How precise are the values reported?
Thanks
Amish.
On Mon, 24 Sep 2001, Amish Mehta wrote:
I am checking for the data transfer over particular interface. ifconfig reports the following
eth0 Link encap:Ethernet HWaddr 00:90:77:2E:88:3E inet addr:202.54.1.30 Bcast:202.54.1.255 Mask:255.255.255.0
[snip]
How do i know the data transfered in bytes? RX and TX. Is there any other way to find it out? How precise are the values reported?
cat /proc/net/dev
You may have to format the output, the lines are very long. It gives you the exact values in bytes at the time you run the command.
Why don't you write a gnome-panel applet to monitor this?
Philip