getJobStat
Syntax
getJobStat()
Arguments
None
Details
Monitor the number of jobs and tasks that are are running or in the job queue.
It returns a dictionary with the following keys:
| Keys | Meaning |
|---|---|
| queuedLocalTasks | the number of local tasks waiting in the queue |
| runningLocalTasks | the number of running local tasks |
| queuedJobs | the number of jobs in the queue |
| runningJobs | the number of running jobs |
| queuedRemoteTasks | the number of remote tasks waiting in the queue |
Examples
getJobStat();
/* output:
queuedLocalTasks->0
runnningJobs->0
queuedRemoteTasks->0
queuedJobs->0
runningLocalTasks->0
*/
