beautypg.com

4 netstat command, 1 options, Options – FUJITSU SPARC ENTERPRISE M8000 User Manual

Page 84

background image

2-46

SPARC Enterprise M8000/M9000 Servers Service Manual • August 2009

2.9.4

netstat

Command

The netstat command displays the network status.

2.9.4.1

Options

TABLE 2-16

describes options for the netstat command and how those options can

help troubleshooting.

pseudo-console, instance #0

nvram (driver not attached)

pseudo-mc, instance #0

pseudo-mc, instance #1

pseudo-mc, instance #4

cmp (driver not attached)

core (driver not attached)

cpu (driver not attached)

cpu (driver not attached)

(The rest is omitted.)

TABLE 2-16

Options for netstat

Option

Description

How It Can Help

-i

Displays the interface state, including packets in/out, error
in/out, collisions, and queue.

Provides a quick overview of the
network status.

-i

interval

Providing a trailing number with the -i option repeats the
netstat

command every interval seconds.

Identifies intermittent or long
duration network events. By
piping netstat output to a file,
overnight activity can be viewed
all at once.

-p

Displays the media table.

Provides MAC address for hosts
on the subnet.

-r

Displays the routing table.

Provides routing information.

-n

Replaces host names with IP addresses.

Used when an address is more
useful than a host name.