520
submitted 11 hours ago by Kory@lemmy.ml to c/linuxmemes@lemmy.world

Yes yes, I REALLY want to terminate that process and I am very sure about it too, ty.

(page 2) 33 comments
sorted by: hot top controversial new old
[-] Bishma@discuss.tchncs.de 43 points 11 hours ago

Sigterm: "End this process or next time I bring my -9"

[-] Vitaly@feddit.uk 3 points 8 hours ago* (last edited 8 hours ago)
[-] whodatdair@lemmy.blahaj.zone 17 points 9 hours ago

Typing “kill -9” into a terminal is the equivalent to breaking out the acetylene torch when a nut won’t budge

load more comments (1 replies)
[-] antifa@infosec.pub 8 points 9 hours ago

xkill is one of my favorite commands

[-] Zozano@lemy.lol 2 points 6 hours ago

Is there a Wayland equivalent?

[-] antifa@infosec.pub 2 points 6 hours ago

I dunno; I sadly can't use Wayland yet bc I have Nvidia

load more comments (4 replies)
[-] fushuan@lemm.ee 1 points 6 hours ago* (last edited 6 hours ago)

Open the process list in your system monitor of choice, right click, signal, sigkill.

You can also open a monitor and use top or any variant to detect the process number and manually kill -KILL number

[-] Zozano@lemy.lol 2 points 6 hours ago

I really want the convenience of binding xkill to a key, which I can use to double tap programs like the undead zombie they've become.

load more comments (4 replies)
load more comments (1 replies)
[-] drspod@lemmy.ml 10 points 10 hours ago

How the OOM Killer asks a process to terminate:

indiscriminate spraying

[-] Magister@lemmy.world 8 points 10 hours ago* (last edited 10 hours ago)

mainly wrong, by default kill send a SIGTERM, you can try SIGINT or SIGQUIT too, and in the end SIGKILL of course. Same in windows there is different way

[-] SpaceNoodle@lemmy.world 8 points 10 hours ago

I always go straight for the SIGKILL

[-] SaharaMaleikuhm@feddit.org 3 points 7 hours ago* (last edited 7 hours ago)

Some software: fork()
Me: Welcome to the process gauntlet loser, better not hang for a millisecond or you are dead and gone.

load more comments (2 replies)
[-] mkwt@lemmy.world 9 points 11 hours ago

TerminateProcess() is pretty reliable, but it doesn't form part of the C signals stack on Windows like kill -9. So for instance, if you're doing process control on Python, you need to use a special Windows-only API to access TerminateProcess().

load more comments (3 replies)
[-] MajinBlayze@lemmy.world 7 points 10 hours ago

I feel like I've had the opposite experience in the gui (maybe a KDE issue?) closing gui windows frequently lock up, and I find I frequently have to drop to the command line in order to properly kill some programs

[-] fushuan@lemm.ee 1 points 6 hours ago

That's because the end proces of the GUI sends a sigint, which does jack shit if the program hangs, you only archieve for a higher parent process to obtain it until it can off itself gracefully. You need to right click the process and send a sigkill signal to emulate the command line.

[-] henfredemars@infosec.pub 2 points 9 hours ago

It even kills threads currently executing a system call! The brutality!

Never even returned to userspace…

[-] boredsquirrel@slrpnk.net 1 points 9 hours ago
[-] zea_64@lemmy.blahaj.zone 1 points 5 hours ago* (last edited 5 hours ago)

KDE can murder windows instantly (you have to set a shortcut), or you can also just send SIGKILL to the process

[-] kekmacska@lemmy.zip 1 points 10 hours ago
[-] jwt@programming.dev 3 points 7 hours ago

kill -9 $(pidof )

[-] henfredemars@infosec.pub 3 points 9 hours ago

killall works great for this.

[-] BonerMan@ani.social 5 points 9 hours ago

At that point you can just hard restart as well. Most motherboards accept 10 to 15 seconds of power button as "my OS is fucked please help" and restart the machine for you.

[-] WhyJiffie@sh.itjust.works 2 points 5 hours ago* (last edited 5 hours ago)

killall just kills all instances of a program, not everything.

and also, long pressing the power button should just shut it down, no?

[-] RustyNova@lemmy.world 6 points 7 hours ago

They also accept pulling the power cord out as "oh no" and shutdown for you!

load more comments
view more: ‹ prev next ›
this post was submitted on 29 Oct 2024
520 points (95.8% liked)

linuxmemes

21114 readers
1290 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS