McFarm Utility Scripts

Shell and python scripts by H. Severini and J. Snow in use at OUHEP and LUHEP farms. Some may need to be configured for the local site. Use at your own risk. No warrenty implied and expressed.

distq
Determines length of undistributed jobs queue.
exec_monitor.sh
Restart execute daemon if not running on nodes.
get_skip
Get skip events from jobs in distributed queue.
jpd.py
Calculates jobs per day based on jobstat output.
njobs
Determines number of jobs of given request distributed, in dist q, archived, and total.
nreqjobs
Determines number of jobs of given request running, gathering, errored, in dist q, archived, and total.
replace_job
Kill and replace an errored out job.
resubmit_file
Resubmit a file that's stuck in the d0mino sam cache.
stageq
Determines number of jobs in stage directory.
status
McFarm status including jobstat, jobs per day, stageq, distq, and nreqjobs.
undeclare_job
Undeclare a job that's stuck in the sam cache.
update_cardfiles
Add cardfile version to cardfile package area.

jms
Created December 10, 2004
Modified December 25, 2004