Thu Jan 19 10:43:38 2023 UTC ()
Pull up following revision(s) (requested by msaitoh in ticket #52):

	usr.bin/netstat/netstat.1: revision 1.76

Add note about "netstat -mssv".


(martin)
diff -r1.75 -r1.75.2.1 src/usr.bin/netstat/netstat.1

cvs diff -r1.75 -r1.75.2.1 src/usr.bin/netstat/netstat.1 (expand / switch to unified diff)

--- src/usr.bin/netstat/netstat.1 2022/01/07 10:17:39 1.75
+++ src/usr.bin/netstat/netstat.1 2023/01/19 10:43:38 1.75.2.1
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: netstat.1,v 1.75 2022/01/07 10:17:39 bad Exp $ 1.\" $NetBSD: netstat.1,v 1.75.2.1 2023/01/19 10:43:38 martin Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1990, 1992, 1993 3.\" Copyright (c) 1983, 1990, 1992, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 3. Neither the name of the University nor the names of its contributors 14.\" 3. Neither the name of the University nor the names of its contributors
@@ -19,27 +19,27 @@ @@ -19,27 +19,27 @@
19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.\" 29.\"
30.\" @(#)netstat.1 8.8 (Berkeley) 4/18/94 30.\" @(#)netstat.1 8.8 (Berkeley) 4/18/94
31.\" 31.\"
32.Dd July 21, 2020 32.Dd December 21, 2022
33.Dt NETSTAT 1 33.Dt NETSTAT 1
34.Os 34.Os
35.Sh NAME 35.Sh NAME
36.Nm netstat 36.Nm netstat
37.Nd show network status 37.Nd show network status
38.Sh SYNOPSIS 38.Sh SYNOPSIS
39.ds address_family Fl f Ar address_family Ns Op , Ns Ar family ... 39.ds address_family Fl f Ar address_family Ns Op , Ns Ar family ...
40.Nm 40.Nm
41.Op Fl Aan 41.Op Fl Aan
42.Op \*[address_family] 42.Op \*[address_family]
43.Op Fl M Ar core 43.Op Fl M Ar core
44.Op Fl N Ar system 44.Op Fl N Ar system
45.Nm 45.Nm
@@ -229,26 +229,32 @@ instead of @@ -229,26 +229,32 @@ instead of
229.Xr sysctl 3 229.Xr sysctl 3
230to retrieve information and 230to retrieve information and
231extract values associated with the name list from the specified core. 231extract values associated with the name list from the specified core.
232If the 232If the
233.Fl M 233.Fl M
234option is not given but the 234option is not given but the
235.Fl N 235.Fl N
236option is given, the default 236option is given, the default
237.Pa /dev/mem 237.Pa /dev/mem
238is used. 238is used.
239.It Fl m 239.It Fl m
240Show statistics recorded by the mbuf memory management routines 240Show statistics recorded by the mbuf memory management routines
241(the network manages a private pool of memory buffers). 241(the network manages a private pool of memory buffers).
 242If the kernel option
 243.Cd options MBUFTRACE
 244is set, extra info can be retrieved with
 245.Fl mssv .
 246See also
 247.Xr options 4 .
242.It Fl N Ar system 248.It Fl N Ar system
243Use 249Use
244.Xr kvm 3 250.Xr kvm 3
245instead of 251instead of
246.Xr sysctl 3 252.Xr sysctl 3
247to retrieve information and extract the name list from the specified system. 253to retrieve information and extract the name list from the specified system.
248For the default behavior when only 254For the default behavior when only
249.Fl M 255.Fl M
250option is given, see the description about when 256option is given, see the description about when
251.Fa execfile 257.Fa execfile
252is 258is
253.Dv NULL 259.Dv NULL
254in 260in
@@ -426,26 +432,27 @@ The fourth character indicates whether t @@ -426,26 +432,27 @@ The fourth character indicates whether t
426to see the packets sent. 432to see the packets sent.
427And the fifth character shows the header complete flag status. 433And the fifth character shows the header complete flag status.
428.Sh SEE ALSO 434.Sh SEE ALSO
429.Xr fstat 1 , 435.Xr fstat 1 ,
430.Xr nfsstat 1 , 436.Xr nfsstat 1 ,
431.Xr ps 1 , 437.Xr ps 1 ,
432.Xr sockstat 1 , 438.Xr sockstat 1 ,
433.Xr vmstat 1 , 439.Xr vmstat 1 ,
434.Xr inet 3 , 440.Xr inet 3 ,
435.Xr kvm 3 , 441.Xr kvm 3 ,
436.Xr kvm_openfiles 3 , 442.Xr kvm_openfiles 3 ,
437.Xr sysctl 3 , 443.Xr sysctl 3 ,
438.Xr bpf 4 , 444.Xr bpf 4 ,
 445.Xr options 4 ,
439.Xr route 4 , 446.Xr route 4 ,
440.Xr hosts 5 , 447.Xr hosts 5 ,
441.Xr networks 5 , 448.Xr networks 5 ,
442.Xr protocols 5 , 449.Xr protocols 5 ,
443.Xr services 5 , 450.Xr services 5 ,
444.Xr ifmcstat 8 , 451.Xr ifmcstat 8 ,
445.Xr iostat 8 , 452.Xr iostat 8 ,
446.Xr route 8 , 453.Xr route 8 ,
447.Xr trpt 8 454.Xr trpt 8
448.Sh HISTORY 455.Sh HISTORY
449The 456The
450.Nm 457.Nm
451command appeared in 458command appeared in