How do I kill a hung process?

If you are logged into a Solaris machine:

In a terminal window, type,
 

xkill


Then it will ask you to click on the window you would like to choose

From any machine:

From a terminal window, type:
 

pkill -u your_username name_of_process


You can check if the process died, by typing:
 

pgrep -u your_username name_of_process


If it hasn't died, you can force it by typing:
 

pkill -9 -u your_username name_of_process


If you want to kill all processes owned by you, type:
 

pkill -u your_username