waitpid

Wait for the termination of arbitrary processes. See also: wait. More information: https://manned.org/waitpid.1.

waitpid pid1 pid2 ...

waitpid --timeout n pid1 pid2 ...

waitpid --exited pid1 pid2 ...

waitpid --count n pid1 pid2 ...

waitpid -h