Skip to content

Commit

Permalink
Sy/slurm user (#19182)
Browse files Browse the repository at this point in the history
* add all user query param

* changelog
  • Loading branch information
steveny91 authored Dec 4, 2024
1 parent 07dbc93 commit f4d5ccc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
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

0 comments on commit f4d5ccc

Please sign in to comment.