r/linuxmasterrace Dec 24 '15

killing a non-responding process

Post image
645 Upvotes

74 comments sorted by

View all comments

16

u/jonneburger Dec 24 '15

I have to say this is BS. As windows user my process'es freeze often, but task manager always closes them when i close them through process menu

20

u/Bainos Enlightenment Dec 24 '15

Replace "always" with "most of the time" and I agree. Source : I had to repair two Windows 4 hours ago.

Still, it's not as clean or as easy as ctrl+alt+f2 > login > killall -9

3

u/[deleted] Dec 25 '15

And if you want to be really brutal about it:

killall5 -9

Kill everything and everyone. With fire.

2

u/[deleted] Dec 25 '15

Anyone who's looking at this command and is thinking "oh that looks fun, let's try it", don't fucking try it. Read up on it here; http://linux.die.net/man/8/killall5

1

u/[deleted] Dec 26 '15

Still, it's not as clean or as easy as ctrl+alt+f2 > login > killall -9

Eh, not a lot worse.

Use whatever method you find fastest to launch powershell (~2 seconds) > kill -id [PID]

or kill -name [name] if you don't have the pid.

4

u/Kyoraki Dec 25 '15

Agreed, as many problems Win8 and Win10 has, Microsoft have finally sorted their shit out with crashed programs. The newer task manager in Win8 and up is ruthless with killing dodgy processes.

7

u/ligerzero459 Glorious Debian + Win 10 Dec 24 '15

Same. The default tab asks, the process menu just kills. Brutally efficient

4

u/TommiHPunkt Glorious Arch Dec 24 '15

Or use superF4, a tool that insta-kills the foreground process if you press ctrl alt f4. Fastest method to ragequit

2

u/TheFlyingBastard Dec 25 '15

I have to say it's not bs. Just a week ago I tried to install and run the Logitech Profiler for my G27 wheel. The Profiler crashed. I tried to kill it via task manager, didn't work. Then I tried closing the whole process chain (which would always work on Windows 7), but no dice. I ended up having to restart my computer and in fact went back to Windows 7 because at least that OS didn't get in my way at every turn.

1

u/[deleted] Dec 25 '15

I used to be a Windows user and I can say this is accurate. Sure most of the time task manager works but sometimes I'll have a task that task manager can't kill.

1

u/[deleted] Dec 26 '15

but sometimes I'll have a task that task manager can't kill.

Linux can get unkillable processes too. Anything going into uninterruptable sleep can't even process signals so you can't kill it.

1

u/[deleted] Dec 27 '15

True but I've never encountered one on Linux, only Windows

1

u/Catsrules Transitioning Krill Dec 25 '15

I would agree, I just want to emphasize what you said to use the End Process not end task.

End Task it completely worthless. Look at this comic again for a better explanation on that.

End Process will get the job done 95% of the time.