XuehaiPan / nvitop

An interactive NVIDIA-GPU process viewer and beyond, the one-stop solution for GPU process management.
https://nvitop.readthedocs.io
Apache License 2.0
4.56k stars 144 forks source link

[Feature Request] Add shortcut that shows parent process's name for selected process #102

Closed ubless607 closed 10 months ago

ubless607 commented 10 months ago

Required prerequisites

Motivation

image

Training a deep learning model with pytorch ddp is useful because it can utilize multiple gpus simultaneously.

The "COMMAND" description is not enough to get the information user need.

setproctitle allows user to change the name of a process. If there was a shortcut to show the name of the parent process for the selected process, the user could distinguish the origin of the process or the purpose of the process.

Currently, user can use the tree-view mode to see the name of the parent process. I would like to use a toggle shortcut working on the main screen. It would be useful for users working in the field of deep learning.

Solution

No response

Alternatives

No response

Additional context

No response

XuehaiPan commented 10 months ago

Hi @ubless607, you can press the t key to switch to the treeview screen. That will show the GPU processes and their ancestors.