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
Post a Comment