Ticket 6203 - Parsable output
Summary: Parsable output
Status: RESOLVED DUPLICATE of ticket 6220
Alias: None
Product: Slurm
Classification: Unclassified
Component: User Commands (show other tickets)
Version: 18.08.3
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Unassigned Developer
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2018-12-10 03:36 MST by Jurij Pečar
Modified: 2018-12-11 16:59 MST (History)
0 users

See Also:
Site: EMBL
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Jurij Pečar 2018-12-10 03:36:25 MST
Related to #1424 and #2265, but slightly different.

In today's world of everything web it would be very helpful to provide output of various slurm commands in key:value form as well.

For example "sacct -j 24803343 -l -p --delimiter=\n" doesn't really do what I want, \n is not expanded to newline. And even if it would be, it still looks like default mysql column formatted output. Take a look at mysql -E, that's more what I would like to see. So above sacct should print something like:

JobID:24803343
JobIDRaw:24803343
JobName:MATLAB-2017a
Partition:htc
... etc.
Comment 1 Jason Booth 2018-12-10 11:15:53 MST
Hi Jurij Pečar,

 Thanks for the suggestion. I have moved your issue over to an enhancement. There has been some discussion going on internally related to this and other areas that could use a different way to view this information e.g. json so this is something we are aware of and are looking at improving.
Comment 2 Jurij Pečar 2018-12-11 02:36:01 MST
Yes, json is the obvious next step. Can I assume some of this work will land in 19.x ?
Comment 3 Jason Booth 2018-12-11 09:20:49 MST
This is still being discussed so we have not assigned the task to a specific release yet.
Comment 4 Tim Wickberg 2018-12-11 16:59:45 MST
I'm marking this closed as a duplicate of a new bug 6220. We've been tracking this as an internal private bug for a while, but I can't merge yours in with that due to privacy concerns.

We do not have a committed date for any of this work, and I cannot provide an estimate at this point in time.

If our support staff has not explain this before, these enhancement requests are a way for us to track outstanding requests only, and do not indicate whether we will develop anything related to that. If this is of specific importance to EMBL, this is something that we can under a custom development contract, but outside of that cannot commit to any timeframe, or even if the requested functionality will ever be provided. If you have any questions on that please let me know.

- Tim

*** This ticket has been marked as a duplicate of ticket 6220 ***