netstat 只显示特定端口

netstat 默认隐藏知名端口, 使用http 替换 80 , mysql => 3306 , 8080=>webcache 等

知名端口查看本地:   /etc/services 文件

参考: 

https://serverfault.com/questions/373798/why-is-the-port-listed-only-in-the-specific-format-of-netstat

浪漫家园,没事就来逛逛
原文地址:https://www.cnblogs.com/lovezbs/p/14728359.html