Linux ifconfig allow to display sent and received bytes or packets (Rx/Tx) form each interface and it looks like this:
Code:
eth0 Link encap:Ethernet HWaddr 00:0C:29:C3:5B:BB
inet addr:159.107.89.132 Bcast:159.107.89.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fec3:5bbb/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:381 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41594 (40.6 KiB) TX bytes:10430 (10.1 KiB)
Interrupt:18 Base address:0x1080
What I am trying to have on Solaris 10 is to display sent and received packet/bytes from each NIC. Problem is that Solaris ifconfig looks quite diffrent:
Code:
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 159.107.88.150 netmask ffff0000 broadcast 159.107.255.255
ether 0:b:5d:f3:e4:84
...and it does not display RX/TX in any form.
Is there any way to see that parameters using standard solaris (command line) tools ?
Bytes or packets - doesnt matter for me - just need to have those valuse.