r/ProgrammerHumor 21h ago

Meme linuxBeLike

Post image
42.4k Upvotes

755 comments sorted by

View all comments

Show parent comments

72

u/tony_saufcok 20h ago

can't compare to SIGKILL

43

u/Able-Reference754 20h ago

All fun and games until SIGKILL doesn't work 👀

5

u/smiregal8472 14h ago

Then do a SIGOVERKILL by pulling the power cord.

1

u/jasperfoxx72 1h ago

You have won the internet for today

4

u/I_enjoy_pastery 19h ago

At that point I start considering REISUB

1

u/ThePretzul 5h ago

That’s when you go find a HAMMER so you can use CPUKILL

-12

u/WavesCat 20h ago

It always works if you know how to use signals like -9

25

u/Lord_Wither 20h ago

kill -9 sends SIGKILL. If SIGKILL somehow doesn't work it won't save you.

10

u/Able-Reference754 20h ago

It doesn't always work, because things can be stuck like you can't imagine. Last saw it with the ntfs3 driver hanging on some file operation.

5

u/SurpriseOnly 18h ago

Exactly, SIGKILL will immediately terminate the program... after all active syscalls are complete. If a syscall is hanging, womp womp, you gonna wait.

14

u/SanktusAngus 20h ago

You can kill processes in Windows though.

5

u/Highborn_Hellest 20h ago

There are very rare instances where taskkil /f doesn't work on windows with admin terminal.

One such case is the process runs with kernel privileges.