Linux – Under linux, how to find out if some specific thread is run with real-time priority

linuxpriorityreal timethreads

I have a process (jackd) that runs several threads. One of the threads it runs should be in realtime, the others run on normal priorities. I'd like to check if it actually runs on realtime. What program can I use for this task?

Best Answer

You can use ps with the -m switch to show all threads, and -l ("long" format) to show the priority. The full command would look like:

ps -m -l [TASK PID]
Related Question