Ticket 13468

Summary: sstat doesn't have json or yaml output
Product: Slurm Reporter: VUB HPC <hpcadmin>
Component: User CommandsAssignee: Jason Booth <jbooth>
Status: RESOLVED WONTFIX QA Contact:
Severity: 4 - Minor Issue    
Priority: ---    
Version: 21.08.1   
Hardware: Linux   
OS: Linux   
Site: VUB Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Linux Distro: ---
Machine Name: CLE Version:
Version Fixed: Target Release: ---
DevPrio: --- Emory-Cloud Sites: ---

Description VUB HPC 2022-02-18 03:07:09 MST
Most slurm commands have a --json/--yaml option to output in json/yaml since 21.08.

However, sstat is still missing this. Could these very useful options also be added to sstat?
Comment 2 Jason Booth 2022-03-02 14:55:43 MST
Adding YAML/JSON support for sstat is something we are not actively pursuing at this time, nor do we have plans to tackle this in the near future. There are some design nuances to how sstat works that do not exist in other command that support YAML/JSON that would need to be addressed.

If a site like yours is interested in sponsoring this, purchasing development time, then we may be able to consider the request as part of a future release.
Comment 3 Jason Booth 2022-03-08 11:22:24 MST
Resolving.