Summary

Commands, such as ps and prstat, are used to identify attributes about executing processes such as process name, Process ID (PID), process owner, and so on.

Keep in mind that SIGTERM (15) is the default signal used by the ps command, but can be ignored by a process. Specifying SIGKILL (9) as the signal is a “sure kill” because a process cannot ignore it.

The kill command requires that the process be identified by its PID. Using pkill allows a process to be identified by other attributes such as process name or User ID (UID) of process owner.

The pgrep command returns the PID of the process that is identified by process name or some other attribute.

The cron command and associated crontab files are used for running processes multiple times ...

Get Solaris™ 9 System Administrator Exam Cram™ 2 (Exams 310-014 and 310-015) 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.