temp files should be protected; bug report 4.3BSD/usr.bin/186
[unix-history] / usr / src / usr.bin / netstat / netstat.1
index da9643c..9c54639 100644 (file)
@@ -1,8 +1,19 @@
-.\" Copyright (c) 1983 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1983 The Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)netstat.1   6.6 (Berkeley) %G%
+.\" Redistribution and use in source and binary forms are permitted
+.\" provided that the above copyright notice and this paragraph are
+.\" duplicated in all such forms and that any documentation,
+.\" advertising materials, and other materials related to such
+.\" distribution and use acknowledge that the software was developed
+.\" by the University of California, Berkeley.  The name of the
+.\" University may not be used to endorse or promote products derived
+.\" from this software without specific prior written permission.
+.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\"
+.\"    @(#)netstat.1   6.8 (Berkeley) %G%
 .\"
 .TH NETSTAT 1 ""
 .UC 5
 .\"
 .TH NETSTAT 1 ""
 .UC 5
@@ -86,6 +97,11 @@ for debugging.
 With the default display,
 show the state of all sockets; normally sockets used by
 server processes are not shown.
 With the default display,
 show the state of all sockets; normally sockets used by
 server processes are not shown.
+.B \-d
+With either interface display (option
+.B \-i
+or an interval, as described below),
+show the number of dropped packets.
 .TP
 .B \-h
 Show the state of the IMP host table.
 .TP
 .B \-h
 Show the state of the IMP host table.
@@ -187,8 +203,9 @@ The routing table display indicates the available routes and
 their status.  Each route consists of a destination host or network
 and a gateway to use in forwarding packets.  The flags field shows
 the state of the route (``U'' if ``up''), whether the route
 their status.  Each route consists of a destination host or network
 and a gateway to use in forwarding packets.  The flags field shows
 the state of the route (``U'' if ``up''), whether the route
-is to a gateway (``G''), and whether the route was created dynamically
-by a redirect (``D'').  Direct routes are created for each
+is to a gateway (``G''), whether the route was created dynamically
+by a redirect (``D''), and whether the route has been modified
+by a redirect (``M'').  Direct routes are created for each
 interface attached to the local host;
 the gateway field for such entries shows the address of the outgoing interface.
 The refcnt field gives the
 interface attached to the local host;
 the gateway field for such entries shows the address of the outgoing interface.
 The refcnt field gives the
@@ -223,7 +240,7 @@ hosts(5),
 networks(5),
 protocols(5),
 services(5),
 networks(5),
 protocols(5),
 services(5),
-trpt(8C)
+trpt(8)
 .SH BUGS
 The notion of errors is ill-defined.  Collisions mean
 something else for the IMP.
 .SH BUGS
 The notion of errors is ill-defined.  Collisions mean
 something else for the IMP.