Print networkconnections, routing tables, interface statistics, masquerade connections, and multicast membership.
Netstat prints information about the Linux networking subsystem. The type of information printed is controlled by the first argument, as follows:
(none)
By default, netstat displays a list of open sockets. If you don't specify any address families, then the active sockets of all configured address families will be printed.
--route, -r
Display the kernel routing tables.
--groups, -g
Display multicast group membership information for IPv4 and IPv6.
--interface=iface, -i
Display a table of all network interfaces, or the specified iface.
--masquerade, -M
Display a list of masquerade connections.
--statistics, -s
Display summary statistics for each protocol.
OPTIONS
--numeric, -n
Show numerical addresses instead of trying to determine symbolic host, port or user names.
阅读(792) | 评论(0) | 转发(0) |