Hi Danny,

Thanks for the tip! That was exactly what I was after. GrpCPURunMins isn't mentioned in the man page or the sacctmgr help but specifying it works perfectly.

Attached is a quick patch to add it to the sacctmgr help.

Thanks!
Mark

On 24/01/12 17:48, Danny Auble wrote:
Mark, use the "format" option, see sacctmgr --help, or man sacctmgr.
Unless of course that isn't setup (I haven't really looked, I am just
presuming you were unaware of the format option).

On 01/23/12 22:19, Mark Nelson wrote:
Hi All,

Excuse the very basic question but I can't seem to get sacctmgr to
print the GrpCPURunMins limit for an association.

I see it getting set to the correct value in the slurmctld log file
but sacctmgr list ass doesn't show it. Is there an option to show all
limits that I'm missing?

Thanks!
Mark.

---
 src/sacctmgr/sacctmgr.c |   31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

Index: slurm-2.3.3/src/sacctmgr/sacctmgr.c
===================================================================
--- slurm-2.3.3.orig/src/sacctmgr/sacctmgr.c
+++ slurm-2.3.3/src/sacctmgr/sacctmgr.c
@@ -821,8 +821,8 @@ sacctmgr [<OPTION>] [<COMMAND>]         
                             MaxJobs=, MaxNodes=, MaxSubmitJobs=, MaxWall=, \n\
                             Names=, Organization=, Parent=, and QosLevel=  \n\
        modify account     - (set options) DefaultQOS=, Description=,       \n\
-                            Fairshare=, GrpCPUMins=, GrpCPUs=,             \n\
-                            GrpJobs=, GrpNodes=, GrpSubmitJob=,            \n\
+                            Fairshare=, GrpCPUMins=, GrpCPURunMins=,       \n\
+                            GrpCPUs=, GrpJobs=, GrpNodes=, GrpSubmitJob=,  \n\
                             GrpWall=, MaxCPUMins=, MaxCPUs=,               \n\
                             MaxJobs=, MaxNodes=, MaxSubmitJobs=, MaxWall=, \n\
                             Names=, Organization=, Parent=, and QosLevel=  \n\
@@ -872,12 +872,13 @@ sacctmgr [<OPTION>] [<COMMAND>]         
                             Preempt=, PreemptMode=, Priority=,             \n\
                             UsageFactor=, and UsageThreshold=              \n\
        modify qos         - (set options) Description=, Flags=, GraceTime=,\n\
-                            GrpCPUMins=, GrpCPUs=, GrpJobs=, GrpNodes=,    \n\
-                            GrpSubmitJob=, GrpWall=, MaxCPUMins=, MaxCPUs=,\n\
-                            MaxCPUsPerUser=, MaxJobs=, MaxNodes=,          \n\
-                            MaxNodesPerUser=, MaxSubmitJobs=,              \n\
-                            MaxWall=, Names=, Preempt=, PreemptMode=,      \n\
-                            Priority=, UsageFactor=, and UsageThreshold=   \n\
+                            GrpCPUMins=, GrpCPURunMins=, GrpCPUs=,         \n\
+                            GrpJobs=, GrpNodes=, GrpSubmitJob=, GrpWall=,  \n\
+                            MaxCPUMins=, MaxCPUs=, MaxCPUsPerUser=,        \n\
+                            MaxJobs=, MaxNodes=, MaxNodesPerUser=,         \n\
+                            MaxSubmitJobs=, MaxWall=, Names=, Preempt=,    \n\
+                            PreemptMode=, Priority=, UsageFactor=,         \n\
+                            and UsageThreshold=                            \n\
                             (where options) Descriptions=, ID=, Names=     \n\
                             and PreemptMode=                               \n\
        delete qos         - Descriptions=, ID=, Names=, and PreemptMode=   \n\
@@ -924,11 +925,11 @@ sacctmgr [<OPTION>] [<COMMAND>]         
                             Organization                                   \n\
                                                                            \n\
        Association        - Account, Cluster, DefaultQOS, Fairshare,       \n\
-                            GrpCPUMins, GrpCPUs, GrpJobs, GrpNodes,        \n\
-                            GrpSubmitJob, GrpWall, ID, LFT, MaxCPUMins,    \n\
-                            MaxCPUs, MaxJobs, MaxNodes, MaxSubmitJobs,     \n\
-                            MaxWall, QOS, ParentID, ParentName,            \n\
-                            Partition, RawQOS, RGT, User                   \n\
+                            GrpCPUMins, GrpCPURunMins, GrpCPUs, GrpJobs,   \n\
+                            GrpNodes, GrpSubmitJob, GrpWall, ID, LFT,      \n\
+                            MaxCPUMins, MaxCPUs, MaxJobs, MaxNodes,        \n\
+                            MaxSubmitJobs, MaxWall, QOS, ParentID,         \n\
+                            ParentName, Partition, RawQOS, RGT, User       \n\
                                                                            \n\
        Cluster            - Classification, Cluster, ClusterNodes,         \n\
                             ControlHost, ControlPort, CpuCount, DefaultQOS,\n\
@@ -942,8 +943,8 @@ sacctmgr [<OPTION>] [<COMMAND>]         
                             State, StateRaw, User                          \n\
                                                                            \n\
        QOS                - Description, Flags, GraceTime, GrpCPUMins,     \n\
-                            GrpCPUs,GrpJobs, GrpNodes, GrpSubmitJob,       \n\
-                            GrpWall, ID,MaxCPUMins, MaxCPUs,               \n\
+                            GrpCPURunMins, GrpCPUs, GrpJobs, GrpNodes,     \n\
+                            GrpSubmitJob, GrpWall, ID, MaxCPUMins, MaxCPUs,\n\
                             MaxCPUsPerUser, MaxJobs, MaxNodes,             \n\
                             MaxNodesPerUser, MaxSubmitJobs, MaxWall, Name, \n\
                             Preempt, PreemptMode, Priority, UsageFactor,   \n\

Reply via email to