mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #19] [Question] Which processes are using GPU memory? #16
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jiapei-nexera on GitHub (Jun 14, 2022).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/19
What command(s) will be able to tell which process(es) are using GPU memory?
Runtime Environment
Ubuntu 22.04 LTSgnome-desktop3-data/jammy-updates,jammy-updates,now 42.1-0ubuntu1 all [installed]3.10.4510.73.05nvitopversion or commit:nvitop 0.5.6python-ml-pyversion: ??? what is that?en_US.UTF-8Current Behavior
working fine...
Expected Behavior
Looking forward to check which processes are using GPU memory ???
Context
N/A
Possible Solutions
N/A
Steps to Reproduce
Just run it...
Traceback
Images / Videos
N/A
@XuehaiPan commented on GitHub (Jun 15, 2022):
Hi @jiapei-nexera, I do not quite understand your question. Did you mean how to see the processes on
nvitop's GUI? Or looking for a method for Python program integration?In the terminal GUI, the processes using GPU are listed at the bottom and all of them are using GPU memory. The column
GPU-MEMshows the GPU memory consumption and%SMmeans the utilization of SM units.if you press the t key:
the device that the process running on is shown in the column
DEVICE(Host for using CPU only).For program integration, please see https://github.com/XuehaiPan/nvitop#process.
The following code retrieves all processes running on the GPU:
@jiapei-nexera commented on GitHub (Jun 15, 2022):
@XuehaiPan
Great.... Got you ... Thank you....