slurm*: add pages (#11133)

Author:    xuzhangheng <48378279+xuzhangheng@users.noreply.github.com>
Co-authored-by: Magrid <magrid0@proton.me>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
xuzhangheng
2023-10-22 17:02:51 +11:00
committed by K.B.Dharun Krishna
parent 5b4a496e01
commit 669a5b87d5
5 changed files with 105 additions and 0 deletions

28
pages/linux/slurmrestd.md Normal file
View File

@@ -0,0 +1,28 @@
# 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`