Hi,
I have a stupid issue about sacctmgr output and associations.
I would like to retrieve my accounts with all the following data :
"Account","Clusters","DefaultQOS","Description","Fairshare","Flags","GrpTRESMins","GrpTRES","GrpJobs","GrpSubmitJob",GrpWall",
"MaxTRESMins","MaxTRES","MaxJobs","MaxNodes","MaxSubmitJobs","MaxWall","Organization","ParentName","Priority","QosLevel"
So my command is the following :
sacctmgr list accounts --assoc
format="Account","Clusters","DefaultQOS","Description","Fairshare","Flags","GrpTRESMins","GrpTRES","GrpJobs","GrpSubmitJob","GrpWall","MaxTRESMins","MaxTRES","MaxJobs","MaxNodes","MaxSubmitJobs","MaxWall","Organization","ParentName","Priority","QosLevel"
-n -P
However, I have a lot of outputs corresponding to each User association
entry. That would be fine if a basic `|uniq` would remove everything I
don't need, but I am stuck with grptres, which can be seen in the main
account, but not in the children associations with the Users. On the
opposite, if I remove `--assoc`, I don't have anymore grptres,
ParentName, or related Qos values.
I had to add `where User=""` to my first command to just retrieve my
main accounts, without User associations.
I dont' know if that is clear enough; is there something I missed with
the sacctmgr output ?
Thanks,
Best regards,
Rémy