I'd like to make a shell alias for customers to use like
squeue --format="%.9i %10j %8u %8T %.12M %6D %20R %16P %.4C %m"
The right-most
%m
format tag shows how much memory a job requested with the --mem=###
argument, but squeue
labels that output column as MIN_MEMORY
.
That is backwards, our IT has chosen to enforce memory policies that will OOM Kill anything that reached beyond its --mem=
amount, so in this case that column should really say MAX_MEMORY
.
I have not found a different format tag to show it as an enforced maximum label, any chance there is a way to change that MIN_MEMORY
label from %m
to say something else for the label? It will be confusing for customer users to see MIN_MEMORY
at the same time as they see OOM Killed...
squeue --format="%.9i %10j %8u %8T %.12M %6D %20R %16P %.4C %m"
CLUSTER: cluster-01
JOBID NAME USER STATE TIME NODES NODELIST(REASON) PARTITION CPUS **MIN_MEMORY**
Asked by billt
(101 rep)
Apr 30, 2025, 05:04 PM
Last activity: Apr 30, 2025, 05:08 PM
Last activity: Apr 30, 2025, 05:08 PM