1、netstat命令的-t参数指的是 tcp的简写,意思是仅显示tcp相关选项 2、示例:列出所有 tcp 端口 netstat -at # netstat -at Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0
open("/proc/net/tcp6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/net/udp", O_RDONLY) = 3 open("/proc/net/udp6", O_RDONLY) = -1 ENOENT (No such file or directory) 有没有很眼熟呢,这个/proc/..我们在调优系统的时候通常会用到,里面都写了些什么 既然我们是...