This script will show the top 5 processes that are using the most CPU percentage. What i'd like to do is color the process that is the highest, which should be the first line. Does anyone know how to do this?
#!/bin/bash
COL_GREEN='\E[32;01m'
ps -eo user,pcpu,pid,cmd | sort -r -k2 | head -6