Linux Process Priority 1. How to query the PID and pri value of the crond program [root @ localhost ~] # Ps-lfC crondF s uid pid ppid c pri ni addr sz wchan stime tty time CMD1 S root 3847 1 0 78 0-1621? 00:00:00 crond [root @ localhost ~] # Run www.2cto.com to check that the crond PID is 3847 and the PRI value is 78. 2. How to modify the priority of the crond PID for a process: PRI (NEW) = PRI (OLD) + NICE for the priority of the started process can be modified using the renice command: [root @ localhost ~] # Ps-lfC crondF s uid pid ppid c pri ni addr sz wchan stime tty time CMD1 S root 3847 1 0 78 0-1621? 00:00:00 crond [root @ localhost ~] # Renice 5 38473847: old priority 0, new priority 5 [root @ localhost ~] # Ps-lfC crondF s uid pid ppid c pri ni addr sz wchan stime tty time CMD1 S root 3847 1 0 83 5-1621? 00:00:00 crond [root @ localhost ~] # Www.2cto.com 3. How do I know if my Nic is identified during startup? Dmesg | grep 'eth '. The dmesg command displays the boot hardware and then captures the eth keyword. You can see eth0: regist as pci is similar. 4. Can a general user adjust the nice value of a program that does not belong to me? If a common user adjusts his or her priority to 10, can he or she adjust his or her priority to 5? The renice command allows you to modify the priority of a running process. The renice command can be used to adjust its priority when executing the command. The format is as follows: $ renice-number PID. The parameter number has the same meaning as the number of the nice command. Note: (1) You can only use the renice command for all your processes. (2) the root user can use the renice command on any process. (3) only the root user can improve the priority of the process. Therefore, you cannot adjust the nice value of your program. If a common user adjusts his or her priority to 10, the user cannot call him or her back to 5, because only the root user can improve the priority of the process.