pgrep and pkill alternatives on mac os x?
On OS X Lion with Homebrew:
$ brew install proctools
This downloads, builds and installs pgrep
, pkill
and pfind
.
You don't need an alternative anymore: since MacOS 10.8 pgrep
and pkill
are available by default.
You could use MacPorts: sudo port install proctools
Here's the result of port search pgrep
:
proctools @0.4pre1 (sysutils)
pgrep, pkill and pfind for OpenBSD and Darwin (Mac OS X)