Linux How to check process scheduling policy & Priority? -


i want check scheduling policy & priorities of threads without programming it.

is there way top or other command ? in top, can see pr column (which priority) how can scheduling policy ?

thanks

you can find looking on

/proc/<your_pocess_id>/sched. 

for example:

awk '/policy/ {print $nf}' /proc/8888/sched 

that should return policy process id 8888

you try chrt -p 8888


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -