Linux Thread Priority

$ chrt -m
SCHED_OTHER min/max priority : 0/0
SCHED_FIFO min/max priority : 1/99
SCHED_RR min/max priority : 1/99
SCHED_BATCH min/max priority : 0/0
SCHED_IDLE min/max priority : 0/0
SCHED_DEADLINE min/max priority : 0/0
top -H command will show you per thread information

A simple bash function to print the top statistics of yourapp($1) and threadname($2).

// usage topapp yourappname threadname