]> git.ipfire.org Git - thirdparty/util-linux.git/blob - misc-utils/waitpid.1.adoc
Merge branch 'fix-jfs' of https://github.com/mbroz/util-linux
[thirdparty/util-linux.git] / misc-utils / waitpid.1.adoc
1 //po4a: entry man manual
2 = waitpid(1)
3 :doctype: manpage
4 :man manual: User Commands
5 :man source: util-linux {release-version}
6 :page-layout: base
7 :command: waitpid
8
9 == NAME
10
11 waitpid - utility to wait for arbitrary processes
12
13 == SYNOPSIS
14
15 *waitpid* [-v] [*--timeout*|*-t* _seconds_] pid...
16
17 == DESCRIPTION
18
19 *waitpid* is a simple command to wait for arbitrary non-child processes.
20
21 It exits after all processes whose PIDs have been passed as arguments have
22 exited.
23
24 == OPTIONS
25
26 *-v*, *--verbose*::
27 Be more verbose.
28
29 *-t*, *--timeout* _seconds_::
30 Maximum wait time.
31
32 *-e*, *--exited*::
33 Don't error on already exited PIDs.
34
35 *-c*, *--count* _count_::
36 Number of process exits to wait for.
37
38 include::man-common/help-version.adoc[]
39
40 == EXIT STATUS
41
42 *waitpid* has the following exit status values:
43
44 *0*::
45 success
46 *1*::
47 unspecified failure
48 *2*::
49 system does not provide necessary functionality
50 *3*::
51 timeout expired
52
53 == AUTHORS
54
55 mailto:thomas@t-8ch.de[Thomas Weißschuh]
56
57 == SEE ALSO
58
59 *waitpid*(2) *wait*(1P)
60
61 include::man-common/bugreports.adoc[]
62
63 include::man-common/footer.adoc[]
64
65 ifdef::translation[]
66 include::man-common/translation.adoc[]
67 endif::[]