you are viewing a single comment's thread
view the rest of the comments
[–] 51 points 9 months ago (12 children)

Isn't that what SIGTERM is? A request to gracefully shutdown processes.

  • source
  • hideshow 12 child comments
  • [–] 22 points 9 months ago (5 children)

    kill, and I swear to god if you're still there when I ps, I'm getting out the -9

  • source
  • parent
  • hideshow 5 child comments
  • [–] 8 points 9 months ago

    Yeah, by default kill sends sigterm, and not kill the process at all.

    It's the correct behavior, sending sigkill by default would be harmful. Now take a look at how killall worked in Solaris (before it adopted GNU).

  • source
  • parent
  • [–] 0 points 9 months ago (2 children)

    How’s that differ from SIGHUP?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 9 points 9 months ago

    Historical context, delivery, and handling.

    HUP—hang up—is sent to indicate the TTY is closed.
    TERM—terminate— is sent by request.

    What happens when received is usually up to the process. Most of them just leave the defaults, which is to exit.

  • source
  • parent