Usando netstat -ie
, você poderá ver todas as interfaces e qualquer informação associada a elas.
Exemplo:
user@host:~$ netstat -ie
Kernel Interface table
eth0 Link encap:Ethernet HWaddr 00:16:3e:09:da:c8
inet addr:43.96.21.119 Bcast:43.96.21.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63671638 errors:0 dropped:0 overruns:0 frame:0
TX packets:48175503 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12361708203 (12.3 GB) TX bytes:12765881974 (12.7 GB)