processes under linux

Is it possible to give a certain process higher or lower priority?

Thnx.
MalensekAsked:
Who is Participating?
 
samriConnect With a Mentor Commented:
Malensek,
     Yes, it is possible.  But you need to own that process, or you are root (superuser).

    Try, nice nice-level process-id.
    # nice -20 1234  

    will make process with PID 1234 running at priority -20, which is quite high .  Remember the process priority, the lower the umber the higher priority.  Priority goes from 22 down to -22 (Double check with "man nice"

Good luck,

samri
0
All Courses

From novice to tech pro — start learning today.