Pregunta

How can I use sched_setscheduler explained in this topic? It seems that I have to write a C code and run it on shell?

¿Fue útil?

Solución

To change the policy of a process from the shell you need to use chrt. To choose real time priorities you must be root. Beware that this is dangerous, raising priorities higher than the kernel interrupts will definitely have strange side effects!

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top