Managing Process States

A few p-tools allow you to change a process’s state. The utilities I cover in this section include pkill, prun, pstop, and pwait.

Like some of the observation p-tools you’ve tried already, some of these tools require appropriate privileges. Tools such as pgrep have no authorization restrictions because Solaris does not hide running processes from the view of any logged-in user (or rather it doesn’t hide them by default). Tools such as pcred may require additional privileges because the process information is considered sensitive.

Image

You’ll learn these requirements as you go, but if you take note of the sudo command when ...

Get OCA Oracle Solaris 11 System Administration Exam Guide (Exam 1Z0-821) 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.