当您查看/proc/net/tcp或/proc/net/tcp6文件时,您可以看到计算机本身打开的端口。
/proc/net/tcp
/proc/net/tcp6
但只是想知道这些条目按什么顺序列出?
networking tcp proc
networking ×1
proc ×1
tcp ×1