PID termination

How to Forcibly Kill a Process in Ubuntu Efficiently.

Contents

  1. Understanding some unix or linux signal terms
  2. What’s PID
  3. How to view them and kill.

Terms in linux signals

  1. SIGHUP
    (1) — Hangup detected on controlling terminal or death of controlling process. Use SIGHUP to reload configuration files and open/close log files.
  2. SIGKILL
    (9) — Kill signal. Use SIGKILL as a last resort to kill process. It will not
    save data or cleaning kill the process.
  3. SIGTERM
    (15) — Termination signal. It is the default and safest way to kill process.
    The kill and killall command support more than 60 signals. However, most users only need to use signal 9 or 15. To get a full list of signals,

What is PID?

Using the htop command to view processes and kill them

PID termination

References:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store