# getJobStat {#getjobstat}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`getJobStat()`

## Arguments {#arguments}

None

## Details {#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 {#examples}

```
getJobStat();

/* output:
queuedLocalTasks->0
runnningJobs->0
queuedRemoteTasks->0
queuedJobs->0
runningLocalTasks->0
*/
```

