next up previous contents index
Next: install_release Up: 9. Command Reference Manual Previous: filelock_midwife   Contents   Index

Subsections


filelock_undertaker

determine whether a process has exited

Synopsis

filelock_undertaker -help

filelock_undertaker [-file filename] [-block]

Description

filelock_undertaker can examine an artifact file created by filelock_midwife and determine whether the program started by the midwife has exited. It does this by attempting to acquire a file lock.

Be warned that this will not work on NFS unless the separate file lock server is running.

Options

-block
If the process has not exited, block until it does.
-file filename
The name of the artifact file. created by filelock_midwife. The file lock.file is the default file used when this option is not specified.

Exit Status

filelock_undertaker will exit with a status of 0 (zero) if the monitored process has exited, with a status of 1 (one) if the monitored process has definitely not exited, with a status of 2 if it is uncertain whether the process has exited (this is generally due to a failure by the filelock_midwife), or with any other value for program failure.

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: install_release Up: 9. Command Reference Manual Previous: filelock_midwife   Contents   Index
condor-admin@cs.wisc.edu