Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sy/slurm user #19182

Merged
merged 2 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions slurm/changelog.d/19182.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add all user query param to the different queries
10 changes: 5 additions & 5 deletions slurm/datadog_checks/slurm/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
SINFO_PARTITION_PARAMS = [
"-hO",
"-ahO",
"Partition:|,NodeList:|,CPUs:|,Available:|,Memory:|,Cluster:|,NodeAIOT:|,StateLong:|,Nodes:",
]
SINFO_NODE_PARAMS = ["-hNO", "PartitionName:|,Available:|,NodeList:|,NodeAIOT:|,Memory:|,Cluster:"]
SINFO_NODE_PARAMS = ["-haNO", "PartitionName:|,Available:|,NodeList:|,NodeAIOT:|,Memory:|,Cluster:"]
SINFO_ADDITIONAL_NODE_PARAMS = "|,CPUsLoad:|,FreeMem:|,Disk:|,StateLong:|,Reason:|,features_act:|,Threads:"
GPU_PARAMS = "|,Gres:|,GresUsed:"
SQUEUE_PARAMS = ["-ho", "%A|%u|%j|%T|%N|%C|%R|%m"]
SSHARE_PARAMS = ["-lnPU"]
SQUEUE_PARAMS = ["-aho", "%A|%u|%j|%T|%N|%C|%R|%m"]
SSHARE_PARAMS = ["-alnPU"]
SACCT_PARAMS = [
"-npo",
"-anpo",
"JobID,JobName%40,Partition,Account,AllocCPUs,AllocTRES%40,Elapsed,CPUTimeRAW,MaxRSS,MaxVMSize,AveCPU,AveRSS,State,ExitCode,Start,End,NodeList",
"--units=M",
]
Expand Down
Loading