summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.1
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-06-15 00:25:44 +0000
committerassar <assar@FreeBSD.org>2001-06-15 00:25:44 +0000
commitea6e16bc20e4706c99c89ec7b7f3ab3be1791a4c (patch)
tree4c8e50bedba0b4b6d215e040dc90818e756c7c91 /usr.bin/netstat/netstat.1
parent5f504c676b2624b656e970c104fbdb1b8bb95ce6 (diff)
downloadFreeBSD-src-ea6e16bc20e4706c99c89ec7b7f3ab3be1791a4c.zip
FreeBSD-src-ea6e16bc20e4706c99c89ec7b7f3ab3be1791a4c.tar.gz
add the option -S for printing port numbers symbolically but addresses
numerically. clean up the CFLAGS in Makefile.
Diffstat (limited to 'usr.bin/netstat/netstat.1')
-rw-r--r--usr.bin/netstat/netstat.116
1 files changed, 10 insertions, 6 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index 8f53bd1..774c4ac 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -34,7 +34,7 @@
.\"
.Dd April 18, 1994
.Dt NETSTAT 1
-.Os BSD 4.2
+.Os
.Sh NAME
.Nm netstat
.Nd show network status
@@ -45,7 +45,7 @@
.Op Fl M Ar core
.Op Fl N Ar system
.Nm
-.Op Fl bdgilnrs
+.Op Fl bdgilnrsS
.Op Fl f Ar address_family
.Op Fl M Ar core
.Op Fl N Ar system
@@ -172,7 +172,7 @@ option) or the
.Fl p Ar protocol
option is present, show per-interface statistics on the
.Ar interface
-for the specfied
+for the specified
.Ar address_family
or
.Ar protocol ,
@@ -194,7 +194,7 @@ option (with the
option) or the
.Fl p Ar protocol
option is present, show per-interface statistics on all interfaces
-for the specfied
+for the specified
.Ar address_family
or
.Ar protocol ,
@@ -218,11 +218,15 @@ Show statistics recorded by the memory management routines
Extract the name list from the specified system instead of the default
.Pa /kernel .
.It Fl n
-Show network addresses as numbers (normally
+Show network addresses and ports as numbers (normally
.Nm
-interprets addresses and attempts to display them
+interprets addresses and ports and attempts to display them
symbolically).
This option may be used with any of the display formats.
+.It Fl S
+Show network addresses as numbers (as with
+.Fl n )
+but show ports symbolically).
.It Fl p Ar protocol
Show statistics about
.Ar protocol ,
OpenPOWER on IntegriCloud