Wednesday, July 1, 2015

Priorities and Policies of Linux

@ Table


@ Reference
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_MRG/2/html/Realtime_Reference_Guide/chap-Realtime_Reference_Guide-Priorities_and_policies.html

@ Application
  /* Change policy to Round-Robin of 3824 process */
  # chrt --rr --pid 3824

  /* Run a process with priority 10, on OTHERS policy (-19 ~ 20) */
  # nice -n -10 opusdec input.opus output.wav

  /* Change the priority of 3824 process to -17, on OTHERS policy (-19 ~ 20) */
  # renice -n -17 --pid 3824

@ Reference
http://linux.die.net/man/1/chrt
http://linux.die.net/man/1/nice
http://linux.die.net/man/1/renice

No comments:

Post a Comment