Browse Source

sacctmgr, sreport: add page (#4646)

Nikhil Reddy 4 years ago
parent
commit
6d0b062c36
2 changed files with 36 additions and 0 deletions
  1. 20 0
      pages/linux/sacctmgr.md
  2. 16 0
      pages/linux/sreport.md

+ 20 - 0
pages/linux/sacctmgr.md

@@ -0,0 +1,20 @@
+# sacctmgr
+
+> View, setup, and manage Slurm accounts.
+> More information: <https://slurm.schedmd.com/sacctmgr.html>.
+
+- Show current configuration:
+
+`sacctmgr show configuration`
+
+- Add a cluster to the slurm database:
+
+`sacctmgr add cluster {{cluster_name}}`
+
+- Add an account to the slurm database:
+
+`sacctmgr add account {{account_name}} cluster={{cluster_of_account}}`
+
+- Show details of user/association/cluster/account:
+
+`sacctmgr show {{user/association/cluster/account}}`

+ 16 - 0
pages/linux/sreport.md

@@ -0,0 +1,16 @@
+# sreport
+
+> Generate reports on jobs, users, and clusters from accounting data.
+> More information: <https://slurm.schedmd.com/sreport.html>.
+
+- Show pipe delimited cluster utilization data:
+
+`sreport --parsable cluster utilization`
+
+- Show number of jobs run:
+
+`sreport job sizes printjobcount`
+
+- Show users with highest cpu time use:
+
+`sreport user topuser`