priocntl, nice and renice
Hi,
Solaris 10 x86 Im playing around with priority commands and have some questions :) Is it standard -20 to 20 in priority for solaris 10, if so is there anyway to dobbelcheck this ? I dont see the connection with the following example root@pimpking {/] #ps -elf | grep dtwm 0 S root 531 525 0 40 20 d407c010 2233 d4f71932 08:09:53 ? 0:01 dtwm root@pimpking {/] #priocntl -s -p -5 -i pid 531 root@pimpking {/] #ps -elf | grep dtwm 0 S root 531 525 0 40 21 d407c010 2233 d4f71932 08:09:53 ? 0:01 dtwm root@pimpking {/] #priocntl -s -p -10 -i pid 531 root@pimpking {/] #ps -elf | grep dtwm 0 S root 531 525 0 40 23 d407c010 2233 d4f71932 08:09:53 ? 0:01 dtwm Here i can see that the standard priority is 40/20, but i thought when i was setting -5 it would change to -5 and not to +21 :) And the same goes for nice commando.....and good explanation for a newbi :) Ole |
Look for "Scheduling and Schedulers" in the http://www.opensolaris.org/os/articl...eebsd_kernels/ page for a good start.
Also, don't confuse the nice value of a process, which simply give a hint to the scheduler, and its actual priority, which commonly vary with the time. |
ok thanks, ill check that link out...
|
All times are GMT -5. The time now is 01:05 AM. |