Name
pidof -- find the process ID of a running program
Synopsis
pidof [-s] [-x] [-o omitpid..] program [program..] |
Options
- -s
instructs the program to only return one pid.
- -x
causes the program to also return process id's of
shells running the named scripts.
- -o
omits processes with specified process id.