Wait for an arbitrary process.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Damien Goutte-Gattat 797252d80f Do not store filter steps in dynamic memory 8 years ago
lib Die on memory allocation error 8 years ago
m4 Initial commit 8 years ago
src Do not store filter steps in dynamic memory 8 years ago
.gitignore Initial commit 8 years ago
AUTHORS Add docs files 8 years ago
COPYING Add docs files 8 years ago
Makefile.am Add man page 8 years ago
NEWS Update NEWS file 8 years ago
README Update README 8 years ago
configure.ac Filter out unwanted proc events 8 years ago
wait4.1.in Add man page 8 years ago

README

wait4 - Wait for an arbitrary process
=====================================

Description
-----------
wait4 allows its user to wait for the termination of an arbitrary
process specified by its PID. It works as the standard shell command
wait, but is not limited to waiting to the child processes of the
current shell.

On GNU/Linux systems where the Netlink interface is available, wait4 is
directly informed by the kernel as soon as the target process is
terminated, and the exit code of that process is used as the exit code
of wait4 itself. On other systems, wait4 acts by pretending to send a
signal to the target process every second; in that case, the exit code
is always 0, as there is no way to retrieve the exit code of the target
process.

When using Netlink, wait4 must be run as setuid root, as only a
privileged process can bind to an AF_NETLINK address; root privileges
are dropped immediately after the bind(2) call.


Copying
-------
wait4 is distributed under the terms of the GNU General Public License,
version 3 or higher. The full license is included in the COPYING file
of the source distribution.


Homepage and contact
--------------------
The project homepage, where release tarballs may be found, is located at
<http://www.incenp.org/dvlpt/wait4.html>. The latest source code is
available at <git://git.incenp.org/wait4.git> and may also be browsed at
<http://www.incenp.org/gitweb/?p=wait4.git;a=summary>.

The author may be contacted at the following address:
Damien Goutte-Gattat <dgouttegattat@incenp.org>