title: How to kill process on GPUs with PID in nvidia-smi using keyword?
body: <p>How to kill running processes on GPUs for a specific program (e.g. python) in terminal?
  For example two processes are running with python in the top picture and kill them to see the bottom picture in nvidia-smi</p>
  
  <p><a href="https://i.stack.imgur.com/SMzOK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SMzOK.png" alt="For example two processes are running with python in the top picture and kill them to see the bottom picture in nvidia-smi"></a></p>