priority
1)the priority rules.
-20 highest right, 19 lowest right, 0 default right.
2)the init priority
1@@@@check the priority.
[root@station13 Desktop]# ps axo command,nice,cpu,pid | grep init
/sbin/init 0 - 1
grep init 0 - 3065
@@@the init is origin of the user space,it begin after computer load the kernel.
2@@@backstage guard.
[root@station13 Desktop]# nohup sleep 777 &
[1] 3071
[root@station13 Desktop]# nohup: ignoring input and appending output to `nohup.out\'
[root@station13 Desktop]# ps axo command,nice,pid | grep \'sleep 777\'
sleep 777 0 3071
grep sleep 777 0 3090
@@@the command nohup is the backstage guard. even though you close the terminal
,it still run at backgroud.
3)set.html' target='_blank'>reset the priority of process.
1@@@@change the 0 to -20(highest).
[root@station13 Desktop]# renice -20 3071
307
1: old priority 0, new priority -20
@@@the renice command trail the pid .
@@@only if you can find the pid of process,you could be change the priority.
@@@but remember only root could change the priority to highest.
2@@@@other users no permition to change the priority.
[root@station13 Desktop]# renice -19 3071
3071: old priority -20, new priority -19