[GH-ISSUE #134] [Question] How to kill a procedure named no-such-process #83

Open
opened 2026-05-05 03:24:57 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @HuXiLiFeng on GitHub (Jul 31, 2024).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/134

Originally assigned to: @XuehaiPan on GitHub.

Required prerequisites

  • I have read the documentation https://nvitop.readthedocs.io.
  • I have searched the Issue Tracker that this hasn't already been reported. (comment there if it has.)
  • I have tried the latest version of nvitop in a new isolated virtual environment.

Questions

after exec nvitop
1 56752 C N/A 32.34GiB 100 N/A N/A N/A No Such Process
However, when i exec nvidia-smi, i cant find this process 56752.
I tried "kill -9 56752", but it didn't works.
I also tried "fuser -v /dev/nvidia1 | xargs -t -n 1 kill -9", it didn't works.

Question: how to kill 56752 process?

Originally created by @HuXiLiFeng on GitHub (Jul 31, 2024). Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/134 Originally assigned to: @XuehaiPan on GitHub. ### Required prerequisites - [X] I have read the documentation <https://nvitop.readthedocs.io>. - [X] I have searched the [Issue Tracker](https://github.com/XuehaiPan/nvitop/issues) that this hasn't already been reported. (comment there if it has.) - [X] I have tried the latest version of nvitop in a new isolated virtual environment. ### Questions after exec nvitop `1 56752 C N/A 32.34GiB 100 N/A N/A N/A No Such Process ` However, when i exec nvidia-smi, i cant find this process 56752. I tried "kill -9 56752", but it didn't works. I also tried "fuser -v /dev/nvidia1 | xargs -t -n 1 kill -9", it didn't works. Question: how to kill 56752 process?
gitea-mirror added the
question
label 2026-05-05 03:24:57 -06:00
Author
Owner

@XuehaiPan commented on GitHub (Oct 25, 2024):

@HuXiLiFeng If you are running in a docker container, the PID from the NVIDIA driver is the host PID rather than the one in the container. So, you got No Such Process. You can add --pid when using docker:

docker run ... --pid=host ...

If you are running in a physical machine, try this:

sudo lsof -t /dev/nvidia*
<!-- gh-comment-id:2437572337 --> @XuehaiPan commented on GitHub (Oct 25, 2024): @HuXiLiFeng If you are running in a docker container, the PID from the NVIDIA driver is the host PID rather than the one in the container. So, you got `No Such Process`. You can add `--pid` when using `docker`: ```bash docker run ... --pid=host ... ``` If you are running in a physical machine, try this: ```bash sudo lsof -t /dev/nvidia* ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/nvitop#83
No description provided.