On 05/27/2016 08:18 AM, Aaron Knister wrote:
Hey Matt,
Was it just those two fields you had colored? Also, were there colors for other
queue states?
The script is a hammer. It colorizes by matching with grep. I have it
set to match:
PENDING RUNNING $USER COMPLET
and then I tweaked the colors to get the black-on-yellow for $USER so
it's really visible.
It has the ability to colorize anything else you like. I rarely see any
of the other states in my experience. Probably because SLURM kicks them
off but fast.
I'm pondering using %r to more finely recognize and colorize different
PENDING states (due to priority, resources, etc.), but my squeue is
already pretty long and my font is already pretty dang small...
Matt
--
Matt Thompson, SSAI, Sr Scientific Programmer/Analyst
NASA GSFC, Global Modeling and Assimilation Office
Code 610.1, 8800 Greenbelt Rd, Greenbelt, MD 20771
Phone: 301-614-6712 Fax: 301-614-6246
http://science.gsfc.nasa.gov/sed/bio/matthew.thompson