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,端口或用户名

你可能感兴趣的:(netstat命令)