← Back to list

Solution 21

How to kill a process running on GPU

Talha Hanif Butt · 2026-01-22 20:57 · 0 claps · 0.2 min read
#nvidia-smi #idp #process #kill #linux
Open on Medium ↗
Wiki topics: OPS · LLMOps & Inference 🔓 · Open Source 🏃 · Running & Endurance

Solution 21

How to kill a process running on GPU

Use nvidia-smi to get the pid of the process under consideration and then use the following command:

kill -9 <pid>

References

[embed]How to kill process on GPUs with PID in nvidia-smi using keyword? How to kill running processes on GPUs for a specific program (e.g. python) in terminal? For example two processes are…stackoverflow.com


메타데이터
post_id
edd23d5fd8eb
slug
solution-21-edd23d5fd8eb
url
https://medium.com/@thanifbutt/solution-21-edd23d5fd8eb
canonical_url
https://medium.com/@thanifbutt/solution-21-edd23d5fd8eb
author_url
https://medium.com/@thanifbutt
status
ok
fetched_at
2026-06-17 17:19:58