Task |
Description |
For Instructions |
---|---|---|
List processes. |
Use the ps command to list all the processes on a system. | |
Display information about processes. |
Use the pgrep command to obtain the process IDs for processes that you want to display more information about. | |
Control processes. |
Locate processes by using the pgrep command. Then, use the appropriate pcommand (/proc) to control the process. See Table 12–3 for a description of the (/proc) commands. | |
Kill a process.
|
Locate a process, either by process name or process ID. You can use either the pkill or kill commands to terminate the process.
|