In this chapter, we dealt with various aspects relating to handling processes from within the shell. We started off with the ps command. The methods to expose processes currently running in the shell were shown. Next, we saw how to print all processes running on the system. This was followed up by exposing the commands used by each process. We then focused on filtering the output for a particular user, also by the user ID. After that, we touched on filtering for a process, also filtering by the process ID. In addition to this, we tackled filtering by groups. This was followed by changing the display into a forest layout.
Furthermore, we saw how to pull memory and CPU information; we called on the watch command to update the results in real time. Finally, we saw how to terminate a process using the ps command in combination with the kill command. Next, we touched on the...