It’s not uncommon for me to wonder if some app is running on my linux or OS X box, and while I could pipe together ps and a couple greps it felt silly to keep doing it after a while. So, I applied my admittedly limited bash skills and came up with the following script which I throw that in an executable called “got”. Now I can just type “got tomcat?” (the question-mark is optional). If anything is running with “tomcat” in it’s command it’ll give me the skinny on it. Otherwise it’ll let me know it wasn’t found.
Then I threw it up on github and others helped improve it.
So, if the idea of being able to ask your system if it’s “got tomcat?” (or anything else) sounds good to then Check out the code on github and fork it if you think of a way to improve it.