Sshare

From CMU -- Language Technologies Institute -- HPC Wiki
Revision as of 15:28, 11 December 2023 by 172.26.101.216 (talk) (Created page with "Category:Monitoring Category:Slurm Category:Jobs = sshare = == Overview == The [https://slurm.schedmd.com/sshare.html sshare] command in Slurm provides detailed information about resource shares and usage. It's essential for managing fair-share priorities in a cluster. == Key Features == * <code>Account/User Share Information</code>: Displays the allocation of resources to users and accounts. * <code>Raw and Normalized Shares</code>: Shows both actual and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


sshare

Overview

The sshare command in Slurm provides detailed information about resource shares and usage. It's essential for managing fair-share priorities in a cluster.

Key Features

  • Account/User Share Information: Displays the allocation of resources to users and accounts.
  • Raw and Normalized Shares: Shows both actual and proportionate shares.
  • Usage Data: Details resource consumption, aiding in monitoring and planning.
  • Fair-share Factor: Indicates the priority based on usage and allocation. (Higher is better)

Examples

Usage:  sshare [OPTION]
  Valid OPTIONs are:
    -a or --all            list all users
    -A or --accounts=      display specific accounts (comma separated list)
    -e or --helpformat     Print a list of fields that can be specified
                           with the '--format' option
    -l or --long           include normalized usage in output
    -m or --partition      print the partition part of the association
    -M or --cluster=names  clusters to issue commands to.
                           NOTE: SlurmDBD must be up.
    -n or --noheader       omit header from output
    -o or --format=        Comma separated list of fields (use
                           "--helpformat" for a list of available fields).
    -p or --parsable       '|' delimited output with a trailing '|'
    -P or --parsable2      '|' delimited output without a trailing '|'
    -u or --users=         display specific users (comma separated list)
    -U or --Users          display only user information
    -v or --verbose        display more information
    -V or --version        display tool version number
          --help           display this usage description
          --usage          display this usage description

User Details

% sshare -u dvosler
             Account       User  RawShares  NormShares    RawUsage  EffectvUsage  FairShare
-------------------- ---------- ---------- ----------- ----------- ------------- ----------
root                                          0.000000  3339151397      1.000000
 local                                   1    0.500000  3339151397      1.000000
  local                 dvosler          1    0.002660       28672      0.000009   0.305040

See Also