Colobridge WIKI

использование netstat в solaris

Применимость: OmniOS, Solaris

Слова для поиска:


<Уберите этот раздел если он не нужен>

returns sockets by protocol using /etc/services for lookup

netstat

returns ALL protocols for ALL address families (TCP/UDP/UNIX)

netstat -a

-n option disables name resolution of hosts & ports

netstat -an

returns the state of interfaces. pay attention to errors/collisions/queue columns when troubleshooting performance

netstat -i

returns streams(TCP) statistics

netstat -m

returns net-to-media info (MAC/layer-2 info.) i.e. arp

netstat -p

returns active sockets for selected protocol

netstat -P protocol (ip|ipv6|icmp|icmpv6|tcp|udp|rawip|raw|igmp)

returns routing table

netstat -r

returns DHCP configuration (lease duration/renewal/etc.)

netstat -D

netstat -an -f address_family

netstat -an -f inet|inet6|unix

netstat -an -f inet - returns ipv4 only information

netstat -n -f inet
netstat -anf inet -P tcp
netstat -anf inet -P udp