DEV Community

Cover image for fkill - (imo) best way to kill processes // Cool GitHub projects
Mateusz Jarzyna
Mateusz Jarzyna

Posted on

fkill - (imo) best way to kill processes // Cool GitHub projects

I will start with the biggest disadvantage of this app - fkill is written in JS using Node.js. To be clear - JS is not my enemy, I'm not using that stack, so I had to install npm and so on.

GitHub logo sindresorhus / fkill-cli

Fabulously kill processes. Cross-platform.


fkill


Fabulously kill processes. Cross-platform.

Build Status

Works on macOS, Linux, and Windows.

Install

$ npm install --global fkill-cli

Usage

$ fkill --help

  Usage
    $ fkill [<pid|name> …]

  Options
    --force -f    Force kill
    --verbose -v  Show process arguments
    --silent -s   Silently kill and always exit with code 0

  Examples
    $ fkill 1337
    $ fkill safari
    $ fkill :8080
    $ fkill 1337 safari :8080
    $ fkill

  To kill a port, prefix it with a colon. For example: :8080.

  Run without arguments to use the interactive interface.
  In interactive mode, 🚦n% indicates high CPU usage and 🐏n% indicates high memory usage.

  The process name is case insensitive.

Interactive UI

Run fkill without arguments to launch the interactive UI.

Related

Maintainers




Install

npm install --global fkill-cli

Features

  • kill process by pid - fkill 1337 (nothing fancy)
  • kill process by name - fkill firefox (like killall)
  • kill process by port - fkill :8080 - will kill process which uses port 8080, super cool feature
  • interactive mode - fkill - shows all processes, search bar, ports used by each process, memory usage and CPU usage
  • -f to force kill

fkill

Top comments (0)