Operating System - HP-UX
1833757 Members
2429 Online
110063 Solutions
New Discussion

how we can increase priorit of any process

 
FOIS CRIS
Occasional Contributor

how we can increase priorit of any process

We recommended from ORACLE to set fixed priority of oracle background processes LMS at 24 in the low system category on Tru64 UNIX. It is safer comparing to setting fixed priority in 32(RT class), while the performance improvement is close to that of the RT class.
so tell me how we can do that? and what is the command to set the priority?

3 REPLIES 3
Vipulinux
Respected Contributor

Re: how we can increase priorit of any process

Hi

You can increase the priority by ruuning the command
nice process_pid ( if process is not running)
or
renice process_pid ( if process is running)


Cheers
Vipul
Steven E. Protter
Exalted Contributor

Re: how we can increase priorit of any process

Shalom,

On most Unixes, its renice.

This command allowes you to change the nice of a process counterintuively.

This means to raise the prioirty to 20 you need to renice -4

The command syntax may vary on your Unix platform.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: how we can increase priorit of any process

The real priority is calculated by the system, the nice value is one factor that influences the priority of a process. So, you can run the process with a fixed nice value, thus affecting the priority, but you cannot controll the exact priority.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?