iproute2
是在阅读wikipedia netstat时,发现的iproute2。
wikipedia iproute2
iproute2 collection contains the following command-line utilities:
ip, ss, bridge, rtacct, rtmon, tc, ctstat, lnstat, nstat, routef, routel, rtstat, tipc, arpd and devlink.[3] tc is used for traffic control.
iproute2 utilities communicate with the Linux kernel using the netlink protocol.
Some of the iproute2 utilities are often recommended over now-obsolete net-tools utilities that provide the same functionality.[4][5]
ss
ss(8) - Linux man page
ss is used to dump socket statistics. It allows showing information similar to netstat. It can display more TCP and state informations than other tools.
NOTE: 看了一下,这个command的一个优势它能够让我们查看TCP的底层实现信息,比如state、socket table等。
Example
TODO tecmint 12 ss Command Examples to Monitor Network Connections