use job status
This commit is contained in:
parent
cc5a4041ec
commit
bd8a36cc58
|
@ -22,11 +22,11 @@ and command largely apply to all jobs in Nomad.
|
||||||
|
|
||||||
## Job Status
|
## Job Status
|
||||||
|
|
||||||
After a job is submitted, you can query the status of that job using the status
|
After a job is submitted, you can query the status of that job using the job
|
||||||
command:
|
status command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ nomad status
|
$ nomad job status
|
||||||
```
|
```
|
||||||
|
|
||||||
Here is some sample output:
|
Here is some sample output:
|
||||||
|
@ -37,11 +37,11 @@ docs service 50 running
|
||||||
```
|
```
|
||||||
|
|
||||||
At a high level, we can see that our job is currently running, but what does
|
At a high level, we can see that our job is currently running, but what does
|
||||||
"running" actually mean. By supplying the name of a job to the status command,
|
"running" actually mean. By supplying the name of a job to the job status
|
||||||
we can ask Nomad for more detailed job information:
|
command, we can ask Nomad for more detailed job information:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ nomad status docs
|
$ nomad job status docs
|
||||||
```
|
```
|
||||||
|
|
||||||
Here is some sample output
|
Here is some sample output
|
||||||
|
@ -81,7 +81,7 @@ If we issue the status command with the `-evals` flag, we could see there is an
|
||||||
outstanding evaluation for this hypothetical job:
|
outstanding evaluation for this hypothetical job:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
$ nomad status -evals docs
|
$ nomad job status -evals docs
|
||||||
ID = docs
|
ID = docs
|
||||||
Name = docs
|
Name = docs
|
||||||
Type = service
|
Type = service
|
||||||
|
|
Loading…
Reference in New Issue