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
|
||||
|
||||
After a job is submitted, you can query the status of that job using the status
|
||||
command:
|
||||
After a job is submitted, you can query the status of that job using the job
|
||||
status command:
|
||||
|
||||
```shell
|
||||
$ nomad status
|
||||
$ nomad job status
|
||||
```
|
||||
|
||||
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
|
||||
"running" actually mean. By supplying the name of a job to the status command,
|
||||
we can ask Nomad for more detailed job information:
|
||||
"running" actually mean. By supplying the name of a job to the job status
|
||||
command, we can ask Nomad for more detailed job information:
|
||||
|
||||
```shell
|
||||
$ nomad status docs
|
||||
$ nomad job status docs
|
||||
```
|
||||
|
||||
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:
|
||||
|
||||
```text
|
||||
$ nomad status -evals docs
|
||||
$ nomad job status -evals docs
|
||||
ID = docs
|
||||
Name = docs
|
||||
Type = service
|
||||
|
|
Loading…
Reference in New Issue