tldr/pages/linux/slurmrestd.md

29 lines
713 B
Markdown
Raw Normal View History

# slurmrestd
> Interface to Slurm via REST API. It can be used in two modes: *Inetd Mode* & *Listen Mode*.
> More information: <https://slurm.schedmd.com/slurmrestd.html>.
- Change the group ID (and drop supplemental groups) before processing client requests:
`slurmrestd --g {{group_id}} {{[host]:port | unix:/path/to/socket}}`
- Comma-delimited list of authentication plugins to load:
`slurmrestd -a {{authentication_plugins}} {{[host]:port | unix:/path/to/socket}}`
- Read Slurm configuration from the specified file:
`slurmrestd -f {{path/to/file}}`
- Change user ID before processing client request:
`slurmrestd -u {{user_id}}`
- Display help:
`slurmrestd -h`
- Display version:
`slurmrestd -V`