mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #151] [Feature Request] Add working directory of each process to processes table #94
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#94
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 @Darxeal on GitHub (Feb 7, 2025).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/151
Originally assigned to: @XuehaiPan on GitHub.
Required prerequisites
Motivation
With jupyter notebook processes, the
COMMANDcolumn in the processes table looks for example like this:/home/user/miniconda3/envs/env/bin/python -Xfrozen_modules=off -m ipykernel_launcher -f /home/user/.local/share/jupyter/runtime/kernel-....jsonwhich doesn't tell you much about which process is which. The working directory of the process could be more descriptive.
Solution
Add a "working directory" column to the Processes table. Basically like running
pwdxfor each process.Can be optional.
Alternatives
No response
Additional context
No response
@XuehaiPan commented on GitHub (Feb 8, 2025):
Hi @Darxeal, always showing the CWD in the process list will cause the column to be too long. Have you tried to select process and press the
ekey. You can find the process working directory with thePWDenvironment variable.@Darxeal commented on GitHub (Feb 10, 2025):
I see, that's useful, thank you.
I would still like the additional column, on a large screen there's plenty of space. But it's not necessary.
@XuehaiPan commented on GitHub (Feb 10, 2025):
Both
CWDandCOMMANDcan be very long. Aligned tables may contain many whitespace and scrolling the row can be annoying. Closing this, sorry.