]> git.saurik.com Git - apple/network_cmds.git/blobdiff - netstat.tproj/netstat.1
network_cmds-606.100.3.tar.gz
[apple/network_cmds.git] / netstat.tproj / netstat.1
index e66f46ef12267af5d240eadf4abf96693903b285..5e2abee1d47e05cc1e1e78aacccc828b78aa0a86 100644 (file)
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2012 Apple Inc. All rights reserved.
+.\" Copyright (c) 2015 Apple Inc. All rights reserved.
 .\"
 .\" @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 .\" 
@@ -77,7 +77,7 @@
 .Fl i | I Ar interface
 .Op Fl w Ar wait
 .Op Fl c Ar queue
-.Op Fl abdgqRt
+.Op Fl abdgqRtS
 .Nm
 .Fl s Op Fl s
 .Op Fl f Ar address_family | Fl p Ar protocol
@@ -249,7 +249,15 @@ is also present, show routing statistics instead.  When
 .Fl l
 is also present,
 .Nm
-assumes more columns are there and the maximum transmission unit
+assumes more columns are there and the maximum transmission unit.
+More detailed information about the route metrics are displayed with
+.Fl ll
+for TCP round trip times
+.Fl lll
+for all metrics.
+Use the
+.Fl z
+flags to display only entries with non-zero RTT values.
 .Pq Dq mtu
 are also displayed.
 .It Fl R
@@ -258,7 +266,11 @@ Show reachability information.  Use with
 to show link-layer reachability information for a given interface.
 .It Fl s
 Show per-protocol statistics.  If this option is repeated, counters with a value of
-zero are suppressed.
+zero are suppressed.  For security reasons, root privileges are required to read TCP statistics and in the absence of such privileges all TCP counters will be reported as zero.
+.It Fl S
+Show interface link status and interface state information about the specified interface.  This option requires specifying an interface with
+.Fl I
+option.
 .It Fl v
 Increase verbosity level.
 .It Fl W
@@ -383,6 +395,7 @@ U   RTF_UP          Route usable
 W      RTF_WASCLONED   Route was generated as a result of cloning
 X      RTF_XRESOLVE    External daemon translates proto to link address
 Y      RTF_PROXY       Proxying; cloned routes will not be scoped
+g      RTF_GLOBAL      Route to a destination of the global internet (policy hint)
 .El
 .Pp
 Direct routes are created for each interface attached to the local host;