Socket
Book a DemoInstallSign in
Socket

cli-die

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-die

Kill multiple processes

latest
Source
npmnpm
Version
0.1.31
Version published
Maintainers
1
Created
Source

Table of Contents

  • Die

Die

Utility executable to kill multiple processes by regular expression pattern match.

Converts the output of ps(1) into an object graph and finds pids that match specified patterns.

This module may also be used as a library require('cli-die'), see killer.js.

Install

npm i -g cli-die

Test

npm test

Manual

Run die help for the program manual, use die help <cmd> for individual command man pages.

Help

Usage: die <args> <ptn...> -- <psargs>

Kill groups of processes.

Commands:
 column, c                Print column names.
 graph, g                 Print parsed object graph.
 match, m                 Print processes that match patterns.
 kill, k                  Kill processes that match patterns.
 help                     Show help for commands.

Options:
 -f, --filter=[name...]   Filter columns, only include named columns.
 -c, --cmd                Executable name only in command column.
     --[no]-color         Enable or disable terminal colors.
     -U=[uid]             Display processes for a real uid.
     -u=[username]        Display processes for a username.
     --help               Display this help and exit.
     --version            Print version and exit.

Report bugs to muji <noop@xpm.io>.

License

Everything is MIT. Read the license if you feel inclined.

Generated by mdp(1).

Keywords

cli

FAQs

Package last updated on 08 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts