Killall node not killing node process
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.