netstat
wikipedia netstat
On Linux this program is mostly obsolete, although still included in many distributions.
On Linux, netstat (part of "net-tools") is superseded by ss (part of iproute2).
The replacement for netstat -r is ip route;
The replacement for netstat -i is ip -s link;
The replacement for netstat -g is ip maddr, all of which are recommended instead.[2][3][4][5]
NOTE: 从上面的描述可以看出,
netstat是obsolete,它的successor是 iproute2。