mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #9] How to show hidden elements in monitor mode? #9
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#9
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 @yinrong on GitHub (Nov 19, 2021).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/9
no instruction found in README or 'h'
@XuehaiPan commented on GitHub (Nov 19, 2021):
tl;dr: run
nvitopwithnvitop -m fullor simply press f key. You can set environment variableNVITOP_MONITOR_MODE="full"in your shell profile, then you will get the full monitor mode when you runnvitop -m(without arguments).NOTE: the bar plot requires the terminal width is no less than 100.
According to the size of the terminal window, some information is hidden when the window is overfull.
Rendering strategy for terminal height:
Monitor display modes (shortcut a / f / c):
auto(default): automaticly resize panels according to the terminal window size. This is the default behavior ofnvitop -mif you don't pass an explicit argument and haven't set theNVITOP_MONITOR_MODEenvironment variable.Resizing priority: process panel > host panel > device panel. The bar plot of GPU utilization is shown in the device panel.
The
automode is identical tofullwhen the terminal size is big enough.full: show everything but sometimes overfull the terminal window (use keys [ / ] to scroll up and down the entire screen).compact: only show key information, useful for small windows.Rendering strategy for terminal width:
nvitoprequires the terminal width is no less than 79. For the elements on the right side (bar plots and graph plots for GPU / VRAM percent), they require terminal width >= 100 (otherwise hidden).@XuehaiPan commented on GitHub (Nov 19, 2021):
Here is a screencast for auto-resizing:
@XuehaiPan commented on GitHub (Nov 19, 2021):
Thanks for the feedback from @yinrong! Feel free to reopen this issue if you have any other questions.
@yinrong commented on GitHub (Mar 24, 2022):
not working in centos linux.
tested on:
CentOS Linux release 7.9.2009 (Core)