This is an outdated version of the HTCondor Manual. You can find current documentation at http://htcondor.org/manual.
next up previous contents index
Next: uniq_pid_undertaker Up: 9. Command Reference Manual Previous: procd_ctl   Contents   Index

Subsections


uniq_pid_midwife

create an artifact of the creation of a process

Synopsis

uniq_pid_midwife [- -noblock] [- -file filename] [- -precision seconds] program [programargs]

Description

uniq_pid_midwife starts a given program, while creating an artifact of the program's birth. At a later time the uniq_pid_undertaker can examine the artifact to determine whether the program is still running or whether it has exited. uniq_pid_midwife accomplishes this by recording an enforced unique process identifier to the artifact.

Options

- -file filename
The filename to use for the artifact file. Defaults to pid.file.
- -precision seconds
The precision the operating system is expected to have in regards to process creation times. Defaults to an operating system specific value. The default is the best choice in most cases.
- -noblock
Exit after the program has been confirmed, typically 3 times the precision. Defaults to block until the program exits.
program [programargs]
Forks a process and executes program with programargs as command-line arguments (when specified).

Exit Status

uniq_pid_midwife will exit with a status of 0 (zero) upon success, and non-zero otherwise.

See Also

uniq_pid_undertaker (on page [*]), filelock_midwife (on page [*]).

Author

Center for High Throughput Computing, University of Wisconsin-Madison

Copyright

Copyright © 1990-2012 Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved. Licensed under the Apache License, Version 2.0.

See the Condor Version 7.6.10 Manual or http://research.cs.wisc.edu/htcondor/ for additional notices.


next up previous contents index
Next: uniq_pid_undertaker Up: 9. Command Reference Manual Previous: procd_ctl   Contents   Index
htcondor-admin@cs.wisc.edu