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: filelock_undertaker Up: 10. 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-2012 Condor Team, 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.7.6 Manual or http://www.condorproject.org/license for additional notices.


next up previous contents index
Next: filelock_undertaker Up: 10. Command Reference Manual Previous: condor_wait   Contents   Index
condor-admin@cs.wisc.edu