Solaris 7 (SPARC Platform Edition) Installation Library

New Commands, pgrep and pkill, to Manage Processes

The Solaris 7 release provides the pgrep and pkill commands, which replace the combination of the ps, grep, egrep, awk, and kill commands that were used to manage processes in previous Solaris releases. The pgrep command looks at the active processes on the system and displays the process IDs of the processes whose attributes match the specified criteria on the command line. The pkill command works the same way as the pgrep command except that each matching process ID is signaled by kill(2) instead of having the process ID displayed.

For more information, see System Administration Guide, Volume II.