[GH-ISSUE #9] How to show hidden elements in monitor mode? #9

Closed
opened 2026-05-05 03:21:34 -06:00 by gitea-mirror · 4 comments
Owner

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'

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'
gitea-mirror 2026-05-05 03:21:34 -06:00
Author
Owner

@XuehaiPan commented on GitHub (Nov 19, 2021):

tl;dr: run nvitop with nvitop -m full or simply press f key. You can set environment variable NVITOP_MONITOR_MODE="full" in your shell profile, then you will get the full monitor mode when you run nvitop -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):

  1. auto (default): automaticly resize panels according to the terminal window size. This is the default behavior of nvitop -m if you don't pass an explicit argument and haven't set the NVITOP_MONITOR_MODE environment variable.

    Resizing priority: process panel > host panel > device panel. The bar plot of GPU utilization is shown in the device panel.

    The auto mode is identical to full when the terminal size is big enough.

  2. full: show everything but sometimes overfull the terminal window (use keys [ / ] to scroll up and down the entire screen).

  3. compact: only show key information, useful for small windows.

Rendering strategy for terminal width:

nvitop requires 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).

<!-- gh-comment-id:973874355 --> @XuehaiPan commented on GitHub (Nov 19, 2021): **tl;dr**: run `nvitop` with `nvitop -m full` or simply press <kbd>f</kbd> key. You can set environment variable `NVITOP_MONITOR_MODE="full"` in your shell profile, then you will get the full monitor mode when you run `nvitop -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 <kbd>a</kbd> / <kbd>f</kbd> / <kbd>c</kbd>): 1. **`auto` (default):** automaticly resize panels according to the terminal window size. This is the default behavior of `nvitop -m` if you don't pass an explicit argument and haven't set the `NVITOP_MONITOR_MODE` environment variable. Resizing priority: process panel > host panel > device panel. The bar plot of GPU utilization is shown in the device panel. The `auto` mode is identical to `full` when the terminal size is big enough. 2. **`full`:** show everything but sometimes overfull the terminal window (use keys <kbd>[</kbd> / <kbd>]</kbd> to scroll up and down the entire screen). 3. **`compact`:** only show key information, useful for small windows. **Rendering strategy for terminal width:** `nvitop` requires 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).
Author
Owner

@XuehaiPan commented on GitHub (Nov 19, 2021):

Here is a screencast for auto-resizing:

screencast

<!-- gh-comment-id:973882721 --> @XuehaiPan commented on GitHub (Nov 19, 2021): Here is a screencast for auto-resizing: ![screencast](https://user-images.githubusercontent.com/16078332/142595126-6f0c0788-6287-44c0-9eaf-a846c6cc10be.gif)
Author
Owner

@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.

<!-- gh-comment-id:973886363 --> @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.
Author
Owner

@yinrong commented on GitHub (Mar 24, 2022):

not working in centos linux.

tested on:
CentOS Linux release 7.9.2009 (Core)

image

<!-- gh-comment-id:1077304545 --> @yinrong commented on GitHub (Mar 24, 2022): not working in centos linux. tested on: CentOS Linux release 7.9.2009 (Core) ![image](https://user-images.githubusercontent.com/4221569/159861472-7e46557d-8120-4ab4-ac08-3b3891165ff7.png)
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#9
No description provided.