Page 51 - DCAP106_OPERATING_SYSTEM_TOOLS
P. 51
Operating System Tools
Notes
Figure 2.24: Example of pstree Program
Source: http://img.tebyan.net/library/english/13777_0248_0.jpg
2.6.3 Taking Control of Running Processes
In order to keep our CPU or memory resources in check, we sometimes need to use some control
on a process. All the existing memory of the system might be taken by a process which will
make the system almost unfeasible. In this type of situation, it might be suitable to terminate the
offending process in order to recuperate system’s control. System Monitor can be used to kill
runaway processes. We can choose the target process in the list. Also, we can choose the End
Process button at the bottom right of the dialog box. When we kill a process, it can lead to loss of
unsaved data. Therefore, a confirmation dialog is there which allows you to verify your verdict
to kill the process.
Figure 2.25: Confirmation Dialog
44 LOVELY PROFESSIONAL UNIVERSITY