slurm-25.11.2-1.el9.x86_64 built locally.
This time I built accounting in and so I'm new to sacct.
When I run sacct without a state filter, I see the jobs correctly marked as COMPLETED:
sacct -a -S 2026-01-26 --format=JobID,State | grep COMPLETED | head -10
9 COMPLETED
9.batch COMPLETED
9.extern COMPLETED
9.0 COMPLETED
39 COMPLETED
39.batch COMPLETED
39.extern COMPLETED
39.0 COMPLETED
40 COMPLETED
40.batch COMPLETED
When I attempt to filter for those exact states (using either the short or long flag), the output is empty:
sacct -a -S 2026-01-26 --format=JobID,State --state=completed
JobID State
------------ ----------
(no output beyond the heading)
Am I using it wrong?
Cheers,
Norm.