Task
Description
For Instructions
List processes.
Use the ps command to list all the processes on a system.
How to List Processes
Display information about processes.
Use the pgrep command to obtain the process IDs for processes that you want to display more information about.
How to Display Information About Processes
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.
How to Control Processes
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.
How to Terminate a Process (pkill)
How to Terminate a Process (kill)