Tim Hatch

Weblog | Photos | Projects | Panoramas | About

Grepping for Processes 21 Oct, 2009

I learned something new today. Instead of doing

ps auxw | grep procname | grep -v grep

you can just do

ps auxw | grep [p]rocname

since the grep process itself will show up with punctuation in ps.

— via github.