Ticket 2772 - colorize squeue
Summary: colorize squeue
Status: OPEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: User Commands (show other tickets)
Version: 17.02.x
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Unassigned Developer
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2016-05-26 04:37 MDT by Moe Jette
Modified: 2019-01-04 13:51 MST (History)
1 user (show)

See Also:
Site: NASA - NCCS
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments
sample output (4.56 KB, image/png)
2016-05-26 04:37 MDT, Moe Jette
Details

Note You need to log in before you can comment on or make changes to this ticket.
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