netstat

825阅读 0评论2012-06-27 himrpei
分类:LINUX

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.
上一篇:开启linux的路由转发功能
下一篇:redhat推荐的分区方案