Killing an application I try to kill a buggy application without success.

I tried the Force Quit… feature in the Apple menu but it doesn't work.

In order to find the PID I tried the following command from the Terminal but it doesn't match anything:

ps aux | grep -i MyApplicationName


The only way to effectively kill it is to restart the system. Sometimes I need to force restart because the buggy application is preventing the system to restart.

I'm running Mac OS X 10.9.5 on a Retina 13' MacBook (late 2013)
Find the PID in activity monitor then in a terminal run sudo kill -9 PID and voilà