snippetbashTip
slurmrestd — Interface to Slurm via REST API. Note: Can be used in two modes: Inetd Mode and Listen Mode. More in
Viewed 0 times
commandslurminterfaceviaclislurmrestdapirest
linux
Problem
How to use the
slurmrestd command: Interface to Slurm via REST API. Note: Can be used in two modes: Inetd Mode and Listen Mode. More information: <https://slurm.schedmd.com/slurmrestd.html>.Solution
slurmrestd — Interface to Slurm via REST API. Note: Can be used in two modes: Inetd Mode and Listen Mode. More information: <https://slurm.schedmd.com/slurmrestd.html>.Change the [g]roup ID (and drop supplemental groups) before processing client requests:
slurmrestd -g {{group_id}} {{[host]:port|unix:/path/to/socket}}Comma-delimited list of [a]uthentication plugins to load:
slurmrestd -a {{authentication_plugins}} {{[host]:port|unix:/path/to/socket}}Read Slurm configuration from the specified [f]ile:
slurmrestd -f {{path/to/file}}Change [u]ser ID before processing client request:
slurmrestd -u {{user_id}}Display [h]elp:
slurmrestd -hDisplay [V]ersion:
slurmrestd -VCode Snippets
Change the [g]roup ID (and drop supplemental groups) before processing client requests
slurmrestd -g {{group_id}} {{[host]:port|unix:/path/to/socket}}Comma-delimited list of [a]uthentication plugins to load
slurmrestd -a {{authentication_plugins}} {{[host]:port|unix:/path/to/socket}}Read Slurm configuration from the specified [f]ile
slurmrestd -f {{path/to/file}}Change [u]ser ID before processing client request
slurmrestd -u {{user_id}}Display [h]elp
slurmrestd -hContext
tldr-pages: linux/slurmrestd
Revisions (0)
No revisions yet.