summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-06-01 06:26:35 +0000
committerngie <ngie@FreeBSD.org>2017-06-01 06:26:35 +0000
commit1bc7624c8bb0fdf5f97f70d58d76305b0679bd69 (patch)
tree7f730caaa77d950cd4619ba5f0f1f5a52a40abd1
parentd58474a488c9bc574ae1e46ec41a92023deb4de6 (diff)
downloadFreeBSD-src-1bc7624c8bb0fdf5f97f70d58d76305b0679bd69.zip
FreeBSD-src-1bc7624c8bb0fdf5f97f70d58d76305b0679bd69.tar.gz
MFC r318175,r318178,r318179:
r318175: procstat(1): clarify the Signal Disposition section - Fix a typo (SIGIGN -> SIG_IGN). Use .Dv when referencing SIG_IGN. - Use semi-colons as soft breaks when separating sentences for the FLAGS section. - Tweak wording for C slightly to flow better and to be a bit more technically correct (signals with handlers installed will be caught by the target program). - Reference signal(3) in the SEE ALSO section. r318178: procstat(1): document all possible `PRO` (network protocol) values Reference the appropriate section 4 manpages for networking protocols. r318179: procstat(1): also reference icmp(4) and sctp(4) This was missed in the previous commit by accident. MFC with: r318178
-rw-r--r--usr.bin/procstat/procstat.171
1 files changed, 67 insertions, 4 deletions
diff --git a/usr.bin/procstat/procstat.1 b/usr.bin/procstat/procstat.1
index 68aaaee..da09513 100644
--- a/usr.bin/procstat/procstat.1
+++ b/usr.bin/procstat/procstat.1
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 5, 2015
+.Dd May 11, 2017
.Dt PROCSTAT 1
.Os
.Sh NAME
@@ -269,6 +269,60 @@ omitted, and a new capabilities field will be included listing capabilities,
as described in
.Xr cap_rights_limit 2 ,
present for each capability descriptor.
+.Pp
+The following network protocols may be displayed (grouped by address family):
+.Pp
+.Dv AF_INET ,
+.Dv AF_INET6
+.Pp
+.Bl -tag -width indent -compact
+.It ICM
+.Dv IPPROTO_ICMP ;
+see
+.Xr icmp 4 .
+.It IPD
+.Dv IPPROTO_DIVERT ;
+see
+.Xr divert 4 .
+.It IP\?
+unknown protocol.
+.It RAW
+.Dv IPPROTO_RAW ;
+see
+.Xr ip 4 .
+.It SCT
+.Dv IPPROTO_SCTP ;
+see
+.Xr sctp 4 .
+.It TCP
+.Dv IPPROTO_TCP ;
+see
+.Xr tcp 4 .
+.It UDP
+.Dv IPPROTO_UDP ;
+see
+.Xr udp 4 .
+.El
+.Pp
+.Dv AF_LOCAL
+.Pp
+.Bl -tag -width indent -compact
+.It UDD
+.Dv IPPROTO_UDP ;
+see
+.Xr udp 4 .
+.It UDS
+.Dv IPPROTO_TCP ;
+see
+.Xr tcp 4 .
+.It UD\?
+unknown protocol.
+.El
+.Pp
+.Bl -tag -width indent -compact
+.It \?
+unknown address family.
+.El
.Ss Signal Disposition Information
Display signal pending and disposition for a process:
.Pp
@@ -283,11 +337,13 @@ signal name
process signal disposition details, three symbols
.Bl -tag -width X -compact
.It P
-if signal is pending in the global process queue, - otherwise
+if signal is pending in the global process queue; - otherwise.
.It I
-if signal delivery disposition is SIGIGN, - otherwise
+if signal delivery disposition is
+.Dv SIG_IGN;
+- otherwise.
.It C
-if signal delivery is to catch it, - otherwise
+if the signal will be caught; - otherwise.
.El
.El
.Pp
@@ -540,8 +596,15 @@ auxiliary vector value
.Xr cap_rights_limit 2 ,
.Xr libprocstat 3 ,
.Xr libxo 3 ,
+.Xr signal 3 ,
.Xr xo_parse_args 3 ,
.Xr ddb 4 ,
+.Xr divert 4 ,
+.Xr icmp 4 ,
+.Xr ip 4 ,
+.Xr sctp 4 ,
+.Xr tcp 4 ,
+.Xr udp 4 ,
.Xr stack 9
.Sh AUTHORS
.An Robert N M Watson Aq Mt rwatson@FreeBSD.org .
OpenPOWER on IntegriCloud