Coder’s Eye

A site about one of the three passions in my life.

Coder’s Eye header image 2

Pgrep and Pkill for OSX

September 13th, 2006 · 1 Comment

HappyUsually I am satisfied by the commandline tools available in OSX. However, one itch that has been unfulfilled for quite a while since my permanent conversion to the Mac is the lack of “pgrep” and “pkill”, two of my favorite time savers from Linux.

Solution

sourceforge.net/projects/proctools/

Works like a dream.

Technorati Tags: ,

Tags: Open Source · Macintosh · Linux

Bookmark this article

del.icio.us:Pgrep and Pkill for OSX digg:Pgrep and Pkill for OSX spurl:Pgrep and Pkill for OSX wists:Pgrep and Pkill for OSX simpy:Pgrep and Pkill for OSX newsvine:Pgrep and Pkill for OSX blinklist:Pgrep and Pkill for OSX furl:Pgrep and Pkill for OSX reddit:Pgrep and Pkill for OSX fark:Pgrep and Pkill for OSX blogmarks:Pgrep and Pkill for OSX Y!:Pgrep and Pkill for OSX smarking:Pgrep and Pkill for OSX magnolia:Pgrep and Pkill for OSX segnalo:Pgrep and Pkill for OSX gifttagging:Pgrep and Pkill for OSX

1 response so far ↓

  • 1 sufehmi // Jun 2, 2007 at 8:29 pm

    There’s killall instead of Pkill, but it only matches the process name from the beginning (not as substring)

    So when you ran “bash -x myscript”, then the following will not terminate it : killall myscript

    Of course, “killall bash” may not be a very wise thing to do :)

    Thanks for the tip !

Leave a Comment