Send SIGHUP:
kill -1 PID
=> kill sends a signal to a process (may need sudo)
=> -1 is the number for SIGHUP
=> PID is the process id of the process that should receive the signal
Other signals:
Some common signals are:
Catchable:
SIGTERM = sent by kill among others
SIGPIPE = broken pipe, sent by dead sockets, pipes, etc.
SIGHUP = "hang up" sent by exiting the shell the process was running in etc.
SIGIO = configurable exception raised on sockets etc, when something is ready to happen (data recieved etc.)
SIGINT = "interrupt" sent by ctrl - c among other things.
Not able to be caught:
SIGKILL = sent by kill -9
Kategorie(n): Linux