Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lower and higher priority process

Status
Not open for further replies.

shoux

Technical User
Nov 9, 2000
83
MY

hi all !

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?

Thanks you




shoux
 
Moshiachnow

Thank you for your help

shoux
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top