Ticket 2772

Summary: colorize squeue
Product: Slurm Reporter: Moe Jette <jette>
Component: User CommandsAssignee: Unassigned Developer <dev-unassigned>
Status: OPEN --- QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: sts
Version: 17.02.x   
Hardware: Linux   
OS: Linux   
Site: NASA - NCCS Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Linux Distro: ---
Machine Name: CLE Version:
Version Fixed: Target Release: ---
DevPrio: --- Emory-Cloud Sites: ---
Attachments: sample output

Description Moe Jette 2016-05-26 04:37:44 MDT
Created attachment 3150 [details]
sample output

Namely, I was wondering if you might look at adding some colorizing options to squeue. I currently do this locally by piping the squeue output to a python script to get the behavior in the attached image. As you see, it colorizes the different STATES, highlights my username, etc.

But if squeue could, with a flag, add the termcodes to do this, that might be nice.

Thanks,
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