I'm doing a project for school and it involves running a java program which sometimes crashes. In order to kill the unresponsive program, I'll go to my dock, right click on the program and press "Force Quit":
The program it kills has a window with a title "Planet Wars Visualizer", and the top menu for the program in the top left says "CLViewer":
Instead of having to press "Force Quit" every time, I want to just use the
killall <name> command. However, when I go to my activity monitor I don't see any processes with the names "Java", "Planet Wars Visualizer", or "CLViewer". Even when I try
killall with those names I just get
No matching processes belonging to you were found.
How can I find out the actual name of the process just by the clues I have?