next up previous contents index
Next: filelock_undertaker Up: 9. Command Reference Manual Previous: condor_ wait   Contents   Index

Subsections


filelock_midwife

create an artifact of the creation of a process

Synopsis

filelock_midwife -help

filelock_midwife [-file filename] program [programargs]

Description

filelock_midwife starts a given program, while creating an artifact of the program's birth. At a later time the filelock_undertaker can examine the artifact to determine whether the program is still running, or whether the program has exited. filelock_midwife accomplishes this by obtaining a file lock on the given artifact file before starting the program.

Warning: filelock_midwife will not work on NFS unless the separate file lock server is running.

Options

-file filename
The filename to use for the artifact file. The file lock.file is the default file used when this option is not specified.
program [programargs]
Forks a process and executes program with programargs as command-line arguments (when specified).

Exit Status

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

See Also

uniq_pid_midwife (on page [*]), filelock_undertaker (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: filelock_undertaker Up: 9. Command Reference Manual Previous: condor_ wait   Contents   Index
condor-admin@cs.wisc.edu