In this chapter, we have covered a variety of methods for handling processes. First, we focused on scheduling processes using the nice command. Whenever the workload on your CPU is rising, various processes are contending for the CPU's resources. The niceness for each process was exposed using various commands, such as ps and top. Next, we did some demos on how we would go about setting the niceness for the processes. This took us to systems that run systemd; we saw the problem of changing the niceness of a process on a systemd system. This led to us modifying the configuration file for a process so that systemd could recognize the niceness when we started the process. After this, we moved on to the renice command, particularly dealing with processes that are currently running and the method to change the niceness of running processes. This was illustrated by changing...




















































