pwait(1)

pwait1

Wait for processes to terminate

Usage

pwait [-v] [-c] pid ...

Overview

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

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

Authors

Leah Neukirchen ⟨[email protected]⟩

Built upon code from FreeBSD pwait written by Jilles Tjoelker.

License

pwait is licensed under the terms of the GPLv2.

From extrace 0.7-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.