← 返回命令列表

Linux command

sshare 命令

网络

需要网络或远程资源。

常用示例

Example

sshare

Example

sshare --parsable

Example

sshare --json

Example

sshare -o [format_string]

Example

sshare -u [user1,user2]

Example

sshare -A [account1,account2]

Example

sshare -a

说明

sshare displays fair-share information for Slurm's priority/multifactor plugin. It shows how accounts and users are allocated shares, their actual usage, and resulting fair-share factors that influence job scheduling priority. The data requires slurmdbd to be configured and operational. Fair-share scheduling ensures equitable resource distribution among users and projects based on their allocated shares and historical usage.

参数

-A, --accounts _accounts_
Show data for specified accounts (comma-separated)
-a, --all
Display information for all users
-u, --users _users_
Show data for specified users (comma-separated)
-U, --Users
Print only user information (exclude ancestors)
-M, --clusters _names_
Target specific clusters
-o, --format _format_
Custom field selection
-l, --long
Extended output with normalized data
-n, --noheader
Omit header row
-p, --parsable
Pipe-delimited with trailing delimiter
-P, --parsable2
Pipe-delimited without trailing delimiter
--json
Output as JSON
--yaml
Output as YAML
-m, --partition
Show partition names
-v, --verbose
Verbose output
-V, --version
Print version

FAQ

What is the sshare command used for?

sshare displays fair-share information for Slurm's priority/multifactor plugin. It shows how accounts and users are allocated shares, their actual usage, and resulting fair-share factors that influence job scheduling priority. The data requires slurmdbd to be configured and operational. Fair-share scheduling ensures equitable resource distribution among users and projects based on their allocated shares and historical usage.

How do I run a basic sshare example?

Run `sshare` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -A, --accounts _accounts_ do in sshare?

Show data for specified accounts (comma-separated)