Skip to main content
7 events
when toggle format what by license comment
Jul 3, 2018 at 9:27 comment added luator It might be useful to add the -a flag to pgrep which makes it print not only the process id but also the command (including arguments). This way it is very easy to verify that only desired processes are matched.
Apr 25, 2014 at 18:24 comment added Peter Hanley pgrep and pkill are available in OS X 10.8 (Mountain Lion) and above. apple.blogoverflow.com/2012/07/…
Nov 29, 2011 at 19:19 comment added javamonkey79 man alive, the more I use 'nix, the more I love it :) thanks for this!
Jan 13, 2011 at 3:36 vote accept Ricket
Jan 12, 2011 at 21:21 comment added Gilles 'SO- stop being evil' pgrep is not native on OSX, you have to get it from a third party. The previous thread on the topic has proposals and alternatives.
Jan 12, 2011 at 14:29 comment added Seamus you should redefine kill as a for loop that does kill -i for each i ;)
Jan 12, 2011 at 4:04 history answered SiegeX CC BY-SA 2.5