Viewing and Terminating Processes
The ps(1), prstat(1M), and pgrep(1) commands are used to view attributes of processes, whereas the kill(1) and pkill(1) commands are used to terminate processes.
The ps Command
The ps command is used to display information about active processes. Without any command-line arguments, the ps command displays processes that have the same effective user ID (UID) of the user account that executed the command. Table 7.1 lists the command-line arguments supported by the ps command.
A considerable amount of information on processes is available through the ps command and its several display formats.
The default information ... |
Get Solaris™ 8 System Administrator Exam Cram™ 2 (Exams CX-310-011 and CX-310-012) 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.