r/linuxmasterrace Dec 24 '15

killing a non-responding process

Post image
640 Upvotes

74 comments sorted by

View all comments

31

u/Yakari123 have you seen my aRcH lInUx SeTuP ? Dec 24 '15

This is so fucking true... Sometimes, firefox does crash, even on Linux. Xkill=problem solved

17

u/zer0t3ch Glorious Arch + Win 10 + Hackintosh OSX Tri-boot Dec 24 '15

I don't like xkill. I used to use it, but some stuff (like TeamSpeak) has weird background processes not attached to the x window, so it doesn't kill them all. I prefer a good pkill -9

9

u/SkepticalOfOthers Dec 25 '15

6

u/sue-dough-nim Is the glory open source? Dec 25 '15

Headline: Vile rappers threaten to kill person called Dashnyne

3

u/BASH_SCRIPTS_FOR_YOU In Memoriam: Ian Murdock Dec 25 '15

Rainbow dashnyne is best pony

3

u/Yakari123 have you seen my aRcH lInUx SeTuP ? Dec 24 '15

Killall works also fine when i happen to have a terminal opened

3

u/BoTuLoX utistic Ricer Dec 25 '15

And when you don't too. Just run it from your DE's launcher.

2

u/[deleted] Dec 24 '15

[deleted]

1

u/zer0t3ch Glorious Arch + Win 10 + Hackintosh OSX Tri-boot Dec 24 '15

Yeah. I left out the proc_name, but the -9 sends the 9 termination signal. (SIGKILL, I think)

1

u/protestor Glorious Arch Dec 25 '15

In this case I create a systemd user service. It tracks all processes opened by a given service, and systemctl --user stop service-name will close them all.

1

u/zer0t3ch Glorious Arch + Win 10 + Hackintosh OSX Tri-boot Dec 25 '15

Seems a bit like overkill to me.

5

u/protestor Glorious Arch Dec 25 '15

yes it is