Comments (6)
Why do you need it?
from fkill-cli.
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.
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.
SIGHUP is typically used to make a daemon reload its settings (e.g. prometheus/prometheus#1572)
from fkill-cli.
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.
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)
- Tomcat process not getting listed HOT 2
- Cannot install on Ubuntu HOT 1
- Improve startup time HOT 8
- Warning during installation concerning cross-spawn-async
- Feature: Show CPU/mem usage HOT 5
- Combining --force and --silent HOT 7
- Include more lines in the list of processes HOT 1
- v6.0.0 interactive mode not launching on Windows HOT 1
- Cheatsheet for fkill added to the cheat library
- Warning of unmet peer dependency: inquirer
- [improvement] line softwrap when it's too long
- SyntaxError: Invalid regular expression HOT 1
- fkill crashes on Node v8.17.0 HOT 1
- Process list not displaying application names HOT 4
- Cannot search by port in fkill --verbose mode
- fkill doesn't search application list properly HOT 4
- 'npx fkill' should be working!!! HOT 1
- Search doesn't find process HOT 2
- please support APPimage format HOT 1
- bug/feature request(windows): console output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fkill-cli.