From 8fd9f3e185676e070aa267fac708cc5376e0cef8 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 17 Sep 2018 13:19:28 +0200 Subject: README: include both manpages --- Makefile | 4 ++-- README | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3302b89..50b7247 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ MANDIR=$(PREFIX)/share/man all: $(ALL) -README: extrace.1 - mandoc -Tutf8 $< | col -bx >$@ +README: extrace.1 pwait.1 + mandoc -Tutf8 $^ | col -bx >$@ cap: $(ALL) sudo setcap cap_net_admin+ep extrace cap_net_admin+ep pwait diff --git a/README b/README index ca55be0..9b54cae 100644 --- a/README +++ b/README @@ -71,3 +71,53 @@ LICENSE extrace is licensed under the terms of the GPLv2. Void Linux June 19, 2018 Void Linux + +------------------------------------------------------------------------------ + +PWAIT(1) General Commands Manual PWAIT(1) + +NAME + pwait – wait for processes to terminate + +SYNOPSIS + pwait [-v] [-c] pid ... + +DESCRIPTION + pwait waits until each of the given processes has terminated. + + The options are as follows: + + -v Print the exit status when each process terminates. + + -c Return 111 if any process exited non-successfully. + +EXIT STATUS + The pwait utility exits 0 on success, and >0 if an error occurs. + + Invalid pids elicit a warning message but are otherwise ignored. + +ERRORS + Check these prerequisites if you see this error: + + binding sk_nl error: Operation not permitted + + pwait requires special permissions to run, either root or the Linux + CAP_NET_ADMIN capability. + + pwait only works on Linux kernels with the kernel options + + CONFIG_CONNECTOR=y + CONFIG_PROC_EVENTS=y + +SEE ALSO + extrace(1), kill(1), pkill(1), ps(1), wait(1) + +AUTHORS + Leah Neukirchen + + Built upon code from FreeBSD pwait written by Jilles Tjoelker. + +LICENSE + pwait is licensed under the terms of the GPLv2. + +Void Linux September 17, 2018 Void Linux -- cgit 1.4.1