Module Name:    src
Committed By:   enami
Date:           Sat Oct 11 06:25:32 UTC 2014

Modified Files:
        src/usr.bin/netstat: netstat.1

Log Message:
- Explicitly describe that kvm(3) is used when -M/-N option is used since
  nowadays sysctl(3) is the default information retrieval method.
- Fix description about default value for -N; it is no longer a single value
  these days, so just say see kvm_openfiles(3) rahter than repeating
  several lines description here.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/usr.bin/netstat/netstat.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/netstat/netstat.1
diff -u src/usr.bin/netstat/netstat.1:1.68 src/usr.bin/netstat/netstat.1:1.69
--- src/usr.bin/netstat/netstat.1:1.68	Thu Oct  9 23:52:47 2014
+++ src/usr.bin/netstat/netstat.1	Sat Oct 11 06:25:32 2014
@@ -1,4 +1,4 @@
-.\"	$NetBSD: netstat.1,v 1.68 2014/10/09 23:52:47 enami Exp $
+.\"	$NetBSD: netstat.1,v 1.69 2014/10/11 06:25:32 enami Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1992, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -223,15 +223,36 @@ and
 .Qq Group
 columns.
 .It Fl M
-Extract values associated with the name list from the specified core
-instead of the default
-.Pa /dev/mem .
+Use
+.Xr kvm 3
+instead of
+.Xr sysctl 3
+to retrieve information and
+extract values associated with the name list from the specified core.
+If
+.Fl M
+option is not given but
+.Fl N
+option is given, the default
+.Pa /dev/mem
+is used.
 .It Fl m
 Show statistics recorded by the mbuf memory management routines
 (the network manages a private pool of memory buffers).
 .It Fl N
-Extract the name list from the specified system instead of the default
-.Pa /netbsd .
+Use
+.Xr kvm 3
+instead of
+.Xr sysctl 3
+to retrieve information and extract the name list from the specified system.
+For the default behavior when only
+.Fl M
+option is given, see the description about when
+.Fa execfile
+is
+.Dv NULL
+in
+.Xr kvm_openfiles 3 .
 .It Fl n
 Show network addresses and ports as numbers (normally
 .Nm

Reply via email to