Setting Up Auto Priority Level For A Process
Is it possible to set a priority level for a particular process permanently?
Whenever I run skype, it keeps becoming not-responding at a regular interval. I have to quit it completely and re-login to make it working agan. The default priority for skype is 0 but it works perfectly when I assign a priority level of 10 at the time I log-in. What I wanted to know is that anyway I can set its default priority level to 10 so that whenever it will start it will be at 10 only and I dont have to assign the value each and every time I want to login? |
What do you mean by "0" and "10"? Priorities in Linux don't work on a scale from 0 to 10.
http://en.wikipedia.org/wiki/Nice_(Unix) |
If I run top I can see that the priority for skype is 0.
I change the priority to 10 by issuing the command -> renice 10 pid Hope your understand now what i mean to say, |
What does "->" mean?
Anyway, I misunderstood you and thought you said that Skype doesn't work good and raising the priority to 10 would fix it, so I said that the higher the number, the less the priority. |
Yes, the higher the number, the less the priority. That exactly means that after setting skype to a lower priority level(10), it works smooth and do not become a non-responsive program.
I want some command so that it can be assigned with this value(priority level 10) automatically whenever the program is opened. Currently, I have to set this value by giving the renice command every time I log-in to skype. |
All times are GMT -5. The time now is 02:19 AM. |