pidof

Display the PID number for a given process name

http://www.nightproductions.net/cli.htm

Current versions:

stable 0.1.4
bottle 🍾 high_sierra, sierra, el_capitan, mavericks, mountain_lion, lion

JSON API for pidof

Formula code on GitHub

Fork me on GitHub