Process Management in the Terminal


The recommended signals to stop a program, in increasing severity, are TERM (15), INT (2), HUP (1), KILL (9)

The kill command is used to send signals to a program.

  • Send a specific signal to a process: kill -INT PID or kill -2 PID
  • The same to several processes: kill -2 PID1 PID2 PID3

  • Killing processes by name

kill processes processes by name killall http*

comments powered by Disqus