mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 16:52:35 +00:00
Update cheatsheets
This commit is contained in:
33
linux/slurmrestd
Normal file
33
linux/slurmrestd
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
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`
|
||||
Reference in New Issue
Block a user