netstat — Show Network Status

Synopsis

/bin/netstat [-f address-family][-anv]
/bin/netstat [-f address-family][-g | -m | -p | -s][-n][-P protocol]
/bin/netstat {[-i][-I interface]}[-f address-family][interval]
/bin/netstat -r [-f address-family][-anv]
/bin/netstat -M [-f address-family][-ns]
/bin/netstat -D [-f address-family][-I interface]

Description

Use the netstat command to display status information about various network-related data structures in various formats.

  • The first form of the command displays a list of active sockets for each protocol.

  • The second form selects one from among various other network data structures.

  • The third form shows the state of the interfaces.

  • The fourth form displays the routing table.

  • The fifth form displays ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.