ssh_job_list
List detached jobs on a machine with their states, including sudo-started ones, to retrieve job IDs when not kept.
Instructions
Lists the detached jobs on a machine with their state, for when an id was not kept, jobs started with sudo included. Ids and states only — for what a job printed, use ssh_job_output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | Machine name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | No | ||
| legend | No | What the words in this answer mean. A key names the field before the value — "state=limited", "jobs[].state=lost" — and only the values this answer actually used are listed. |