Cyberia
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@infosec.pub to Programmer Humor@programming.dev · 3 days ago

Closing programs

infosec.pub

message-square
145
link
fedilink
665

Closing programs

infosec.pub

cm0002@infosec.pub to Programmer Humor@programming.dev · 3 days ago
message-square
145
link
fedilink
  • da_cow (she/her)@feddit.org
    link
    fedilink
    arrow-up
    113
    ·
    edit-2
    3 days ago

    While the meme is very funny, it is technically incorrect. Linux has two major ways of terminating a process. When Linux wants a process to terminate execution (for whatever reason) it first sends the SIGTERM signal to the process, which basically “asks” the process to terminate itself. This has the advantage, that the process gets the chance to save its state in a way, that the execution can continue at another time. If the process however ignores the SIGTERM signal at some point Linux will instead forcefully terminate the execution using the SIGKILL signal. This represents what the image shows.

    Before someone gets mat at me: I know, that there are like 50 more Signals relevant to this, but wanted to keep it simple.

    • FosterMolasses@leminal.space
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

      While the meme is very funny, it is technically incorrect.

      The worst kind of incorrect!

    • Lemminary@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      2 days ago

      Simple answer for us simple folk. I like it. Thank you!

    • Rubanski@discuss.tchncs.de
      link
      fedilink
      arrow-up
      22
      ·
      3 days ago

      Does the “SIG” stands for “Signal”?

      • smeenz@lemmy.nz
        link
        fedilink
        arrow-up
        11
        ·
        2 days ago

        Yes.

        https://man7.org/linux/man-pages/man7/signal.7.html

      • mrunicornman@lemmy.world
        link
        fedilink
        arrow-up
        22
        arrow-down
        4
        ·
        3 days ago

        Special Interest Group. An internal committee convenes to decide the fate of the process.

        (I don’t know the answer, but I’m pretty sure it stands for signal.)

        • _edge@discuss.tchncs.de
          link
          fedilink
          arrow-up
          3
          ·
          2 days ago

          It’s Secret Intervention Group, but close enough.

      • SuspciousCarrot78@lemmy.world
        link
        fedilink
        arrow-up
        22
        arrow-down
        2
        ·
        3 days ago

        I like to secretly imagine it stands for SIG SAUER. Bang = process ded

        • Gathorall@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          3 days ago

          Eh, it works more than 80% of the time.

          • mnemonicmonkeys@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            3 days ago

            The problem with Sig is they work too oftem, particularly when you don’t want them to

          • redhat421@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            3 days ago

            80% of the time it works every time!

            You’re likely bumping into processes which are blocked by IO or are zombies.

      • da_cow (she/her)@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        I guess, but would have to look that up too (there are quite a lot of signals starting with SIG, so it would make sense that it is this way)

    • eldain@feddit.nl
      link
      fedilink
      arrow-up
      6
      ·
      3 days ago

      I think it is showing sigterm correctly. Sigkill wipes you from existence without leaving a body or trace of memory.

    • chaospatterns@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      deleted by creator

      • Ironfacebuster@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        2 days ago

        Looks like someone got SIGKILL’d

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.92K users / day
  • 5K users / week
  • 8.2K users / month
  • 17.3K users / 6 months
  • 1 local subscriber
  • 28.5K subscribers
  • 1.3K Posts
  • 27.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org