Operating System - HP-UX
1748045 Members
4997 Online
108757 Solutions
New Discussion юеВ

how to change the niceness value of a running process

 
SOLVED
Go to solution
chetana07
Frequent Advisor

how to change the niceness value of a running process

How to change the priority(niceness value) of a running process?

Thanks
6 REPLIES 6
Peter Nikitka
Honored Contributor

Re: how to change the niceness value of a running process

Hi,

look at
man renice

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
SANTOSH S. MHASKAR
Trusted Contributor
Solution

Re: how to change the niceness value of a running process

Hi,

use

renice -n -p

-Santosh
Gary Cantwell
Honored Contributor

Re: how to change the niceness value of a running process

Hi There,

Please take a moment to assign points to those who have taken the time to assist you. Here's how:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Thanks,

Gary
Yogeeraj_1
Honored Contributor

Re: how to change the niceness value of a running process

hi,

also note that to be able to alter the system nice value of another user's process, you must have appropriate privileges.

You can indeed change the nice value of your own processes easily.

hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Gregory Locke
Frequent Advisor

Re: how to change the niceness value of a running process

I wrote a script based on a script that I had seen. You need to be root to change other's values. The script is called reniceit.

Anshumali
Esteemed Contributor

Re: how to change the niceness value of a running process

renice -n -p

Increasing nice.. check if you have privileges...
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!