Depending on your kernel version, try:
ifconfig eth0
eg.
[root@plain root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:13: DE:31:61:31
inet addr:x.x.x.x Bcast:x.x.x.x Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14003481 errors:0 dropped:0 overruns:0 frame:0
TX packets:4449232 errors:0 dropped:0 overruns:7 carrier:0
collisions:0 txqueuelen:100
RX bytes:3443282835 (3283.7 Mb)
TX bytes:3747839100 (3574.2 Mb)
Last 2 lines are probably (maybe : ) what you want.
|