Managing Processes

One of the jobs of a Linux system administrator is to be on the watch for runaway processes that can take down the Linux system. You’ve already seen how to use the ps and top commands (or the System Monitor graphical tool) to monitor how processes are doing on the system, the next step is to see how to stop a runaway process.

Setting Priorities

By default, all processes running on the Linux system are created equal, that is, they all have the same priority to obtain CPU time and memory resources. However, you may run some applications that either don’t need to have the same level of priority or that may need a higher level of priority.

The nice and renice commands allow you to set and change the priority level assigned to ...

Get Linux Fundamentals, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.