Posted By

yuconner on 09/03/06


Tagged

linux commands scheduler


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

yuconner


how to set the nice value of a process (priority execution)


 / Published in: Bash
 

URL: http://learnlinux.tsf.org.za/courses/build/internals/ch07s02.html

Example: nice -n 10 date priority for root: -20 (higher priority) .. 19 (lower priority) priority for common users: 0..19 To list process and nice value: "ps -el"

  1. #new process
  2. nice -n PRIORITYNUMBER PROCESSNAME
  3.  
  4. #existing process
  5. renice PRIORITYNUMBER PID_PROCESS

Report this snippet  

You need to login to post a comment.