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 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 ...