HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

slurmrestd — Interface to Slurm via REST API. Note: Can be used in two modes: Inetd Mode and Listen Mode. More in

Submitted by: @import:tldr-pages··
0
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 -h


Display [V]ersion:
slurmrestd -V

Code 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 -h

Context

tldr-pages: linux/slurmrestd

Revisions (0)

No revisions yet.