How to set permanently users process to higher priority? As a default the PRI is 60 and NI is 20. Is it process will be faster when the priority is changed?
You need root-privilege to set a higher priority on a process. Use the setpri subroutine if you're writing a C-program or the command renice if you're writing a shell-script. setpri sets a fixed (only for the lifetime of the process) priority while renice just changes the nice value.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.