分类: DB2/Informix
2007-12-06 10:35:48
网络状况查询,不同的参数,区别也大
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 0.d.60.b.5b.c2 0 0 7 0 0
en0 1500 10.76.11 10.76.11.51 0 0 7 0 0
en1 1500 link#3 0.2.55.cf.5e.9c 16566236 0 10107235 0 0
en1 1500 139.131.1 139.131.1.21 16566236 0 10107235 0 0
en1 1500 139.131.1 139.131.1.20 16566236 0 10107235 0 0
en3 1500 link#4 0.2.55.cf.5e.9d 1050302 0 997924 0 0
en3 1500 139.254.1 139.254.1.1 1050302 0 997924 0 0
lo0 16896 link#1 3477907 0 3479701 0 0
lo0 16896 127 127.0.0.1 3477907 0 3479701 0 0
lo0 16896 ::1 3477907 0 3479701 0 0
# netstat -ain
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 0.d.60.b.5b.c2 0 0 7 0 0
01:00:5e:00:00:01
en0 1500 10.76.11 10.76.11.51 0 0 7 0 0
224.0.0.1
en1 1500 link#3 0.2.55.cf.5e.9c 16566318 0 10107286 0 0
01:00:5e:00:00:01
en1 1500 139.131.1 139.131.1.21 16566318 0 10107286 0 0
224.0.0.1
en1 1500 139.131.1 139.131.1.20 16566318 0 10107286 0 0
224.0.0.1
en3 1500 link#4 0.2.55.cf.5e.9d 1050307 0 997927 0 0
01:00:5e:00:00:01
en3 1500 139.254.1 139.254.1.1 1050307 0 997927 0 0
224.0.0.1
lo0 16896 link#1 3477907 0 3479702 0 0
lo0 16896 127 127.0.0.1 3477907 0 3479702 0 0
224.0.0.1
lo0 16896 ::1 3477907 0 3479702 0 0
ff01::1
ff02::1:ff00:1
ff02::1
# netstat -rn
Routing tables
Destination Gateway Flags Refs Use If PMTU Exp Groups
Route Tree for Protocol Family 2 (Internet):
default 139.131.1.72 UGcA 0 0 en1 - -
10.76.11/24 10.76.11.51 U 0 5 en0 - -
10.76.11.51 127.0.0.1 UGHS 0 1 lo0 - -
127/8 127.0.0.1 U 8 592720 lo0 - -
139.131.1/24 139.131.1.21 U 15 9760548 en1 - -
139.131.1.20 127.0.0.1 UGHS 2 113 lo0 - -
139.131.1.21 127.0.0.1 UGHS 32 2861722 lo0 - -
139.131.180.11 139.131.1.72 UGHWA 1 1048 en1 1500 -
139.131.216.100 139.131.1.72 UGHWA 1 16 en1 - -
139.131.216.110 139.131.1.72 UGHWA 1 90 en1 1500 -
139.131.216.120 139.131.1.72 UGHWA 1 92 en1 1500 -
139.254.1/24 139.254.1.1 U 1 997357 en3 - -
139.254.1.1 127.0.0.1 UGHS 0 66 lo0 - -
Route Tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 0 lo0 16896 -
( To be continued )