Giter Club home page Giter Club logo

Comments (6)

kevva avatar kevva commented on May 30, 2024 1

Why do you need it?

from fkill-cli.

sindresorhus avatar sindresorhus commented on May 30, 2024 1

This CLI is for killing processes. Sending different signals is out of scope. We already support the most common use-case by killing normally or with --force. And in interactive mode, if killing a process fails, we offer to do it with force (SIGKILL).

from fkill-cli.

juancampa avatar juancampa commented on May 30, 2024

Sometimes programs intercept SIGTERM and don't really die, so you need to send SIGKILL (i.e. kill -9 <pid>). It's the difference of pressing the "Quit" button vs the "Force Quit" in macOS

from fkill-cli.

juancampa avatar juancampa commented on May 30, 2024

SIGHUP is typically used to make a daemon reload its settings (e.g. prometheus/prometheus#1572)

from fkill-cli.

juancampa avatar juancampa commented on May 30, 2024

This might be out of scope of fkill but I'd suggest it works like this:

  • $ fkill
  • find the process you want to kill
  • either:
    • press enter to send SIGTERM (just like it works today)
    • press tab to go to a different menu where you can select the signal, and press enter to send it

from fkill-cli.

kevva avatar kevva commented on May 30, 2024

If you're using --force it'll use SIGKILL. But I suppose we could allow the user to specify whichever signal they want to use behind a signal option or something. @sindresorhus, what do you think?

from fkill-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.