slurm helper line

This commit is contained in:
lemke_h committed 2026-05-07 13:51:44 +02:00
1 parent d9c82e7410
commit 7e94bf8eb8
1 file changed
+2
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
sinfo -s --format="%P %F" | awk 'NR>1 {split($2,a,"/"); printf "%-15s %-15s Usage: %.2f%%\n", $1, $2, (a[1]/a[4])*100}'