Files
cheatsheet-tldr/tldr/linux/slurmrestd
2026-01-20 00:21:53 +00:00

35 lines
815 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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`