How it Started
The Yak-Shaving started when I decided to run a groovy script from TextMate. I conventiently hit
First I went to the command line and did a ps... which didn't result in much. I followed this up with a ps -ef. Way too much info... so I ended with a ps -ef | grep JavaVM. Things just got worst. That is a lot of information!
Along comes jps. A simple jps (no args) and here are the results
There it is GroovyStarter... kill 10620.
... and what if you had multiple GroovyStarter scripts running. Well, jps -m will give you the command-line of the script, which includes the groovy script name.