Go to main content

Managing System Information, Processes, and Performance in Oracle® Solaris 11.4

Exit Print View

Updated: April 2019

Tasks and Commands for Managing System Processes

This section summarizes the various tasks for managing system processes. It also lists commands for managing these processes.

Table 2  Managing System Processes Task Map
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 of the 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. For a description of the /proc commands, see Figure 4, Table 4, Process Commands (/proc).
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.

The following table summarizes the different commands in the management of system processes.

Table 3  Commands for System Process Management
Man Page
ps, pgrep, prstat, pkill
Check the status of active processes on a system, and also displays detailed information about the processes.
Functions identically to pgrep but finds or signals processes by name or other attribute, and terminates the process. Instead of having the process ID printed, each matching process is signaled similar to the kill command.
pargs, preap
Assists with process debugging.
Lists default process scheduling policies.
Assigns processes to a priority class and manages process priorities.
Changes the priority of a timesharing process.
Binds specific process groups to a group of processors rather than to just a single processor.