49280ba4e942 default tip
More
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Thu, 04 Dec 2025 10:32:44 -0500 |
| parents | 502c03ce389d |
| children | (none) |
| branches/tags | default tip |
| files | remote/bin/slurm-usage |
Changes
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/slurm-usage Thu Dec 04 10:32:44 2025 -0500 @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +if test -z "$1"; then + echo "USAGE: slurm-usage ACCT MM/DD/YY MM/DD/YY" + exit +fi + +set -euo pipefail + +acct="$1" +start="$2" +end="$3" + +sreport cluster UserUtilizationByAccount \ + start="$start" end="$end" \ + account="$acct" \ + --tres cpu