Ticket 2162 - scontrol show syntax
Summary: scontrol show syntax
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: Other (show other tickets)
Version: 15.08.4
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Unassigned Developer
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2015-11-17 02:46 MST by Paul Edmon
Modified: 2016-10-26 08:35 MDT (History)
0 users

See Also:
Site: Harvard University
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: 16.05.6
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 Paul Edmon 2015-11-17 02:46:54 MST
The scontrol show syntax is not the same as update, create, delete.  This is sort of a headache when you are trying to remember commands to use.  The syntax should be the same.  Namely you do:

scontrol show job blah

and

scontrol update jobid=blah stuff

It would be better if it was:

scontrol show jobid=blah

-Paul Edmon-
Comment 1 Moe Jette 2016-10-26 08:35:18 MDT
It looks like this functionality has existed since 2009. Here is the commit:

https://github.com/SchedMD/slurm/commit/82ce9e74128b7b9cf749957e82791e908d31b8b9

I've updated the documentation accordingly in this commit:
https://github.com/SchedMD/slurm/commit/a908b11068eb4df9323612fd9bfbf6b895abfe4d