|
Node Director
|
Implements the 'queuestat' director command printing the job queue contents. More...
Public Member Functions | |
| String | usage () |
| return a one-line usage string | |
| String | help () |
| return a more verbose usage string (aka. | |
| String[] | getOptDefinitions () |
| return option definitions as used by Tools.getOpt() | |
| void | print_tree (JobNode jn, int current_depth, String prefix) |
| synchronized void | run (Hashtable optvals) throws DirectorException |
| run the command with the (pre-parsed) options optargs | |
Public Member Functions inherited from sfi.director.cli.CLICommand | |
| void | setOptions (Hashtable opts) |
| sets options from a hash as returned by Tools.getOpts(). | |
| Options | getOptions () |
| Hashtable | getOptionsHash () |
Static Public Member Functions | |
| static String | indent (int depth) |
Implements the 'queuestat' director command printing the job queue contents.
|
virtual |
return option definitions as used by Tools.getOpt()
Implements sfi.director.cli.CLICommand.
|
virtual |
|
static |
| void sfi.director.cli.queuestat.print_tree | ( | JobNode | jn, |
| int | current_depth, | ||
| String | prefix | ||
| ) |
References sfi.director.jobs.Job.getDescr(), sfi.director.jobs.Job.getId(), sfi.director.jobs.JobNode.getJob(), sfi.director.jobs.Job.getName(), sfi.director.jobs.JobNode.getNext(), sfi.director.jobs.Job.getStatus(), sfi.director.jobs.JobNode.getSub(), and sfi.director.jobs.JobStatus.toString().
Referenced by sfi.director.cli.queuestat.run().
|
virtual |
run the command with the (pre-parsed) options optargs
Implements sfi.director.cli.CLICommand.
References sfi.director.jobs.JobStatus.aborted, sfi.director.jobs.JobStatus.done, sfi.director.jobs.JobStatus.equals(), sfi.director.jobs.JobStatus.failed, sfi.director.jobs.Job.getStatus(), sfi.director.schedule.Scheduler.identifyHeads(), sfi.director.util.Setup.jobqueuedb, sfi.director.schedule.Scheduler.loadQueue(), and sfi.director.cli.queuestat.print_tree().
|
virtual |
return a one-line usage string
Implements sfi.director.cli.CLICommand.
1.8.1.2