Files
tldr/pages.zh/linux/slurmrestd.md

28 lines
702 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# slurmrestd
> 通过 REST API 与 Slurm 进行接口。可以以两种模式使用:*Inetd 模式* 和 *监听模式*。
> 更多信息:<https://slurm.schedmd.com/slurmrestd.html>。
- 在处理客户端请求之前更改组 ID并丢弃附加组
`slurmrestd --g {{group_id}} {{[host]:port | unix:/path/to/socket}}`
- 要加载的用逗号分隔的身份验证插件列表:
`slurmrestd -a {{authentication_plugins}} {{[host]:port | unix:/path/to/socket}}`
- 从指定文件读取 Slurm 配置:
`slurmrestd -f {{path/to/file}}`
- 在处理客户端请求之前更改用户 ID
`slurmrestd -u {{user_id}}`
- 显示帮助:
`slurmrestd -h`
- 显示版本:
`slurmrestd -V`