pidof

Install command:
brew install pidof

Display the PID number for a given process name

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

/api/formula/pidof.json (JSON API)

Formula code on GitHub

Current versions:

stable 0.1.4
bottle 🍾 big_sur, arm64_big_sur, catalina, mojave, high_sierra, sierra, el_capitan, mavericks

Analytics:

Installs (30 days)
pidof 406
Installs on Request (30 days)
pidof 394
Build Errors (30 days)
pidof 0
Installs (90 days)
pidof 1,385
Installs on Request (90 days)
pidof 1,364
Installs (365 days)
pidof 6,147
Installs on Request (365 days)
pidof 6,067
Fork me on GitHub