Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Killall node not killing node process

Writer Andrew Henderson

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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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