diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2016-10-12 13:04:04 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2016-10-12 13:04:04 +0000 |
commit | 473784e60dc999b0a5ece33898c28f46b507b0f8 (patch) | |
tree | 998e7a00f305dfd3d39e828831e0f3fc831b1ffe /usr.bin | |
parent | 037da74cc00781c7c7f815e9914b096cf59701c5 (diff) |
Mention that netstat -P needs kmem access.
From David Hill, ok bluhm@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/netstat.1 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1 index bfcc65c857b..2347af1470e 100644 --- a/usr.bin/netstat/netstat.1 +++ b/usr.bin/netstat/netstat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: netstat.1,v 1.79 2016/09/01 14:20:13 bluhm Exp $ +.\" $OpenBSD: netstat.1,v 1.80 2016/10/12 13:04:03 jca Exp $ .\" $NetBSD: netstat.1,v 1.11 1995/10/03 21:42:43 thorpej Exp $ .\" .\" Copyright (c) 1983, 1990, 1992, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)netstat.1 8.8 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: September 1 2016 $ +.Dd $Mdocdate: October 12 2016 $ .Dt NETSTAT 1 .Os .Sh NAME @@ -234,6 +234,14 @@ option, also print socket, domain and protocol specific structures. Only the super-user can use the .Fl P option. +.Pp +The +.Fl P +option requires the ability to open +.Pa /dev/kmem +which may be restricted based upon the value of the +.Ar kern.allowkmem +.Xr sysctl 8 . .It Fl p Ar protocol Restrict the output to .Ar protocol , |