launchctl — manage Mac OS X processes
Use launchctl to stop a Mac OS X process that’s running in the background.
$ sudo launchctl list | grep -i foo
list of results
31415 0 com.foo.the
27182 0 quick.brown.fox
161 0 jumps.over.lazy.dog
$ sudo launchctl remove com.foo.the
The end.