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: 11. Command Reference Manual Previous: condor_who   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

Center for High Throughput Computing, University of Wisconsin-Madison

Copyright

Copyright © 1990-2013 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 HTCondor Version 7.9.6 Manual or http://research.cs.wisc.edu/htcondor/ for additional notices.


next up previous contents index
Next: filelock_undertaker Up: 11. Command Reference Manual Previous: condor_who   Contents   Index
htcondor-admin@cs.wisc.edu