X-Git-Url: https://git.saurik.com/apple/network_cmds.git/blobdiff_plain/9dc66a05cc4adb91b19bae0373afae7fac34ede8..ee37ac02415d1212d26efc435f88cdf729b60098:/netstat.tproj/netstat.1?ds=inline diff --git a/netstat.tproj/netstat.1 b/netstat.tproj/netstat.1 index e66f46e..5e2abee 100644 --- a/netstat.tproj/netstat.1 +++ b/netstat.tproj/netstat.1 @@ -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;