EmbeddedRelated.com
Forums

What do the RX and TX bytes number mean?

Started by Robert Willy September 3, 2015
Hi,

I have a Sitara SK board, similar to BeagleBone Black board. There are below
messages on its Ethernet ports.

What do the bytes numbers mean? Are they used in running ifconfig?

Thanks,






........................................
root@am335x-evm:/home# ifconfig
eth0      Link encap:Ethernet  HWaddr D4:94:A1:86:09:C3  
          inet addr:192.168.0.112  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22678 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22423 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2463856 (2.3 MiB)  TX bytes:2316757 (2.2 MiB)
          Interrupt:56 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:119 errors:0 dropped:0 overruns:0 frame:0
          TX packets:119 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:195183 (190.6 KiB)  TX bytes:195183 (190.6 KiB)
On 2015-09-03, Robert Willy <rxjwg98@gmail.com> wrote:
> > What do the bytes numbers mean? Are they used in running ifconfig? > > root@am335x-evm:/home# ifconfig > eth0 Link encap:Ethernet HWaddr D4:94:A1:86:09:C3 > inet addr:192.168.0.112 Bcast:0.0.0.0 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:22678 errors:0 dropped:0 overruns:0 frame:0 > TX packets:22423 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:2463856 (2.3 MiB) TX bytes:2316757 (2.2 MiB) > Interrupt:56 >
As it says, it's the total number of bytes in all the packets which have been transmitted and received through the interface. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world
Robert Willy wrote:
> Hi, > > I have a Sitara SK board, similar to BeagleBone Black board. There are below > messages on its Ethernet ports. > > What do the bytes numbers mean? Are they used in running ifconfig? > > Thanks, > > > > > > > ........................................ > root@am335x-evm:/home# ifconfig > eth0 Link encap:Ethernet HWaddr D4:94:A1:86:09:C3 > inet addr:192.168.0.112 Bcast:0.0.0.0 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:22678 errors:0 dropped:0 overruns:0 frame:0 > TX packets:22423 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:2463856 (2.3 MiB) TX bytes:2316757 (2.2 MiB) > Interrupt:56 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:119 errors:0 dropped:0 overruns:0 frame:0 > TX packets:119 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:195183 (190.6 KiB) TX bytes:195183 (190.6 KiB) >
https://www.ietf.org/rfc/rfc1213.txt -- Les Cargill