|
TCP/IP Network Status Utility (netstat)
(Page 3 of 6)
UNIX netstat Universal Options and Parameters
Most of the options shown in these
option groups are particular to those groups; for example, you cannot
use -s when issuing the command netstat -i.
However, there are also a number of universal options that can
be used with more than one of these groups to modify the behavior of
netstat variations in a consistent way. These options are described
in Table 297.
Table 297: Typical UNIX netstat Universal Options and Parameters
Option
/ Parameters
|
Description
|
-f <family>
|
Limits the output of the command
to information on a particular protocol address family, for hosts running
multiple protocol suites. For example, the address family for regular
TCP/IP is inet, while for IPv6 it is inet6.
Others may also be supported.
|
-p <protocol>
|
Restricts output
to data related only to a particular protocol, such as IP, TCP, UDP,
or ICMP.
|
-n
|
Shows network addresses in numeric
form, instead of showing them as symbolic names. Also shows ports as
numbers instead of converting well-known
UDP and TCP port numbers to the protocol
names that use them (for example, 23 rather than telnet).
|
-W
|
Suppresses
the automatic truncation of addresses (which is sometimes done for display
formatting).
|
| If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support! |
|
|
Home -
Table Of Contents - Contact Us
The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005
© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.
|