pgrep, pkill — Find or Signal Processes

Synopsis

/usr/bin/pgrep [-flnvx][-d delim][-P ppidlist][-g pgrplist][-s sidlist] 
  [-u euidlist][-U uidlist][-G gidlist][-t termlist][pattern] 
/usr/bin/pkill [-signal][-fnvx][-P ppidlist][-g pgrplist][-s sidlist] 
  [-u euidlist][-U uidlist][-G gidlist][-t termlist][pattern] 

Description

The pgrep command examines the active processes on the system and reports the process IDs of the processes whose attributes match the criteria specified on the command line. Each process ID is printed as a decimal value and is separated from the next ID by a delimiter string, which is a newline by default. For each attribute ...

Get Solaris™ 7 Reference 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.