next up previous contents index
Next: uniq_pid_undertaker Up: 9. Command Reference Manual Previous: stork_ submit   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

Condor Team, University of Wisconsin-Madison

Copyright

Copyright © 1990-2006 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved. No use of the Condor Software Program is authorized without the express consent of the Condor Team. For more information contact: Condor Team, Attention: Professor Miron Livny, 7367 Computer Sciences, 1210 W. Dayton St., Madison, WI 53706-1685, (608) 262-0856 or miron@cs.wisc.edu.

U.S. Government Rights Restrictions: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of The Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as applicable, Condor Team, Attention: Professor Miron Livny, 7367 Computer Sciences, 1210 W. Dayton St., Madison, WI 53706-1685, (608) 262-0856 or miron@cs.wisc.edu.

See the Condor Version 6.8.3 Manual for additional notices.


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