netstat命令

netstat

--route, -r
Display the kernel routing tables
显示内核路由表

--groups, -g
Display multicast group membership information for IPv4 and IPv6
显示IPv4和IPv6的多播组成员关系信息

--interfaces=iface, -I=iface, -i
Display a table of all network interfaces, or the specified iface
显示所有网络接口或具体接口信息

--masquerade, -M
Display a list of masqueraded connections
显示伪装连接列表

--statistics, -s
Display summary statistics for each protocol
显示每个协议的摘要统计信息

--verbose, -v
Tell the user what is going on by being verbose. Especially print some useful information about unconfigured address families
详细告诉用户正在发生什么。 特别是打印一些有关未配置地址系列的有用信息。

--tcp, -t
显示tcp相关

--udp, -u
显示udp相关

--listening, -l
显示监听接口

--all, -a
Show both listening and non-listening (for TCP this means established connections) sockets.
显示所有的监听或未监听的socket

--numeric, -n
Show numerical addresses instead of trying to determine symbolic host, port or user names.
显示数字地址而不是符号host,端口或用户名

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容