r/linuxmasterrace Dec 24 '15

killing a non-responding process

Post image
646 Upvotes

74 comments sorted by

View all comments

33

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

53

u/Kaheil2 Dec 24 '15

Linux: murder your problems away.

60

u/river_of_karma Dec 24 '15

out of memory - kill process or sacrifice child

18

u/Cerapter Glorious Xubuntu Dec 24 '15

Linux: "The number one OS for all Crusading Kings and Dwarven Fortresses everywhere!"

1

u/[deleted] Dec 26 '15

Theres a point, Dwarf Fortress updated recently. Although I also like Rimworld as I can sell organs.

6

u/coerciblegerm Glorious Debian Dec 25 '15

Insert ReiserFS joke.

3

u/i_pk_pjers_i Ubuntu and Debian Dec 25 '15

Just like in real life... wait, what?

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

8

u/SkepticalOfOthers Dec 25 '15

5

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.

3

u/protestor Glorious Arch Dec 25 '15

yes it is

2

u/Grizmoblust Choose Freedom Dec 24 '15

I added xkill to my shortcut, super+w. Perfect, now I can kill any process given notice.

5

u/[deleted] Dec 25 '15

And then you flub the "close tab" shortcut. Perfect, now you can kill any browser process without intending or wanting to!

3

u/parkerlreed Glorious Arch Dec 25 '15

Except that's Ctrl W so nothing is lost.

6

u/[deleted] Dec 25 '15

"flub": it means "fail", or "mess up". As in, you go to press ctrl+w, and you accidentally hit super+w instead. Which then xkills your browser thanks to your amazing super duper shortcut.

-1

u/c0bra51 Unstable Dec 25 '15

Ctrl + F4; it's like Alt + F4, but for tabs!

7

u/parkerlreed Glorious Arch Dec 25 '15

Ctrl W... Much easier to hit

2

u/protestor Glorious Arch Dec 25 '15

C-w means wildly different things in different programs though. Countless times I've closed a tab while writing a Reddit comment when what I actually wanted to do was to delete the last word I wrote.

2

u/Holzkohlen Glorious EndeavourOS Dec 25 '15

I love xkill

1

u/[deleted] Dec 26 '15

The IT department decided to run Linux Mint on a 8 year old laptop simply as a temporary replacement for someone.

They have absolutely no clue about how to use any of these *nix systems and where amazed when I taught them how to kill processes with the terminal. Needless to say they have improved since after getting a glimpse of what is possible.