ezpz statusโ๏ธ
Inspect job status locally or on a remote ALCF machine.
# Local (wraps qstat)
ezpz status
ezpz status 8879044.aurora-pbs-0001
# Remote โ list recent jobs on Aurora (all equivalent)
ezpz status --remote aurora
ezpz status aurora
ezpz status --remote aurora --limit 20 --states queued,active
All-machines status
ezpz status with no JOB_ID and no --remote fans out to every
reachable machine โ IRI hosts (Aurora / Polaris / Crux) plus any SSH
alias that responds โ and merges the results into one table (one
owner is your user on IRI, all users on SSH unless you pass
--owner/--all-users). Slow or unreachable hosts show a warning
rather than blocking the rest.
Positional remote sugar
ezpz status aurora โก ezpz status --remote aurora; ezpz cancel
aurora 123 โก ezpz cancel 123 --remote aurora. The first positional
that looks like a known host (aurora, polaris, crux, sunspot,
sophia, sirius, perlmutter, frontier) is treated as --remote.
Job IDs are numeric (8936286 / 8936286.aurora-pbs-...), host aliases
are alphabetic, so there is no ambiguity. Custom SSH aliases still
need --remote my-alias.
When --remote is omitted the command delegates to local qstat (or
qstat -x for historical). With --remote it prefers the ALCF IRI API
on Aurora / Polaris / Crux โ structured JSON, no screen-scraping โ and
falls back to qstat over SSH when IRI is unavailable or the backend is
forced to ssh.
Backend selectionโ๏ธ
--backend auto (the default) resolves to iri on IRI-capable hosts
and ssh elsewhere โ i.e. the faster path is tried first. Force a
backend with --backend iri or --backend ssh when you do not want
the automatic choice. See Remote submission
for the full fallback contract.
Optionsโ๏ธ
| Flag | Description |
|---|---|
JOB_ID (positional) |
A single job id. Without it, status lists recent jobs instead of showing one. |
--remote HOST |
Host to query (SSH name or ALCF resource like aurora, polaris). Omit for local qstat. |
--backend {auto,ssh,iri} |
Remote backend (default: auto, which picks iri on IRI hosts). |
--historical / --no-historical |
Include completed/failed/canceled jobs (IRI only; default --no-historical for list, single-job lookups query with historical=true). |
--limit N |
Max jobs when listing (IRI only, default: 20) |
--queue NAME |
Filter listed jobs by queue/partition (IRI list only) |
--owner NAME |
Filter listed jobs by owner (IRI list only) |
--states LIST |
Filter by IRI states, comma-separated (e.g. queued,active). IRI states: new, queued, held, active, completed, failed, canceled. |
--json |
Emit JSON instead of a table (see JSON output) |
Examplesโ๏ธ
List queued and running jobsโ๏ธ
List with queue / owner filtersโ๏ธ
Include finished jobs (IRI history)โ๏ธ
ezpz status --remote aurora --historical --limit 50
ezpz status --remote polaris --historical --states completed,failed
IRI history can be slow
--historical with no additional filter asks the API to scan the
entire history. If the call times out you will see:
Narrow the query with --queue, --states, or a smaller --limit.
Machine-readable outputโ๏ธ
JSON outputโ๏ธ
--json changes the format without changing which jobs are queried.
- Single job:
{ "id", "state", "exit_code", "queue", "account" } - List: an array of
{ "id", "state", "exit_code", "queue" }
When stdout is a TTY the table is rendered with rich and colour-coded by state; when piped the output is plain text.
State coloursโ๏ธ
| State | Colour |
|---|---|
active, running |
green |
completed |
cyan |
queued |
yellow |
held |
magenta |
failed, canceled |
red |
new |
dim |
Exit codesโ๏ธ
0โ success.- Non-zero โ local
qstat/ remote API or SSH failure. On IRI errors the message includes the HTTP status (e.g.IRI status 404: ...).
See alsoโ๏ธ
ezpz submitโ queue jobs (locally or via--remote)ezpz cancelโ cancel a queued or running jobezpz extendโ change walltime / queue / account of a queued job- Remote submission โ backends, auth, and the auto-fallback rule