Killall Node Not Killing Node Process

Killall Node Not Killing Node Process

I have the following output via ps aux | grep node:

karlm    17551  1.4  0.7 1000592 93604 pts/2   Sl   09:54   0:01 node -r babel-register -r babel-polyfill src/index.js --config=c.json

I try to kill this with killall node.

It doesn't kill the process though?

2

1 Answer

The default signal sent by killall is SIGTERM

The following command uses SIGKILL which sometimes is needed in order to kill a process:

killall -s KILL node

More info killall man

killall sends a signal to all processes running any of the specified commands. If no signal name is specified, SIGTERM is sent.

Options:
-s, --signal
Send this signal instead of SIGTERM.

8

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.