Linux 查看网络带宽是千兆还是万兆
[trafodion@n12 ~]$ ifconfig
eth1 Link encap:Ethernet HWaddr 5C:B9:01:9A:48:5D
inet addr:10.10.11.12 Bcast:10.10.11.255 Mask:255.255.255.0
inet6 addr: fe80::5eb9:1ff:fe9a:485d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18033924355 errors:0 dropped:857504 overruns:0 frame:0
TX packets:52425526574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:66937144646066 (60.8 TiB) TX bytes:60037314294532 (54.6 TiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1192347276 errors:0 dropped:0 overruns:0 frame:0
TX packets:1192347276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9188133537474 (8.3 TiB) TX bytes:9188133537474 (8.3 TiB)