Why Does the Program Die When I xkill It But Not When I kill -9 It?
I'm sure you've all encountered this. You have some GUI-based application that you want to kill and when you try to kill it using "kill -9 pid", the application does not shut down or die. In fact, sometimes it doesn't even die if you try it a few times. At the same time, if you use xkill, the application dies immediately. Why does this happen? What low-level system call does xkill make and can it be invoked from the terminal without selecting the process using the cross-hairs? Thanks for your time.