mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 10:41:54 +00:00
34 lines
805 B
Plaintext
34 lines
805 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|