1 |
Joseph wrote: |
2 |
|
3 |
>How to list real-time priority in Linux for an application (example |
4 |
>asterisk)? |
5 |
> |
6 |
> |
7 |
> |
8 |
Do you mean processor scheduling? "This program deserves more processor |
9 |
time/power than others?" |
10 |
|
11 |
If so, find out the process ID of the app you want to 'promote' or 'demote' |
12 |
and take it with you into a konsole/terminal and type this: |
13 |
|
14 |
renice <process ID> <priority> |
15 |
|
16 |
The priority is on a scale. -21---0--+21 |
17 |
The negative priorities are promotions. Giving it a -21 would bring down |
18 |
many |
19 |
other applications the second they tried to use the processor. I never |
20 |
really go |
21 |
above ten, either way. |
22 |
|
23 |
HTH, |
24 |
Ian |