[GH-ISSUE #58] [Feature Request] Show the real memory usage instead of just show the percentage #34

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

Originally created by @fuzihaofzh on GitHub (Mar 15, 2023).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/58

Originally assigned to: @XuehaiPan on GitHub.

Required prerequisites

  • I have searched the Issue Tracker that this hasn't already been reported. (comment there if it has.)
  • I have tried the latest version of nvitop in a new isolated virtual environment.

Motivation

Thanks for this tool. For the memory panel, I can only see the percentage. Is it possible to show the real memory size together?
Thanks

Solution

No response

Alternatives

No response

Additional context

No response

Originally created by @fuzihaofzh on GitHub (Mar 15, 2023). Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/58 Originally assigned to: @XuehaiPan on GitHub. ### Required prerequisites - [X] I have searched the [Issue Tracker](https://github.com/XuehaiPan/nvitop/issues) that this hasn't already been reported. (comment there if it has.) - [X] I have tried the latest version of nvitop in a new isolated virtual environment. ### Motivation <!-- Please outline the motivation for the proposal. Is your feature request related to a problem? E.g., "I'm always frustrated when [...]". If this is related to another issue, please link here too. --> Thanks for this tool. For the memory panel, I can only see the percentage. Is it possible to show the real memory size together? Thanks ### Solution _No response_ ### Alternatives _No response_ ### Additional context _No response_
gitea-mirror 2026-05-05 03:22:48 -06:00
Author
Owner

@XuehaiPan commented on GitHub (Mar 15, 2023):

Is it possible to show the real memory size together?

Hi @fuzihaofzh, have you ever tried the metrics screen? Select a process and press Enter/Return key. Also you can press the t key to switch to the treeview screen. Let me know if this resolves your concern.

<!-- gh-comment-id:1470386175 --> @XuehaiPan commented on GitHub (Mar 15, 2023): > Is it possible to show the real memory size together? Hi @fuzihaofzh, have you ever tried the metrics screen? Select a process and press `Enter/Return` key. Also you can press the `t` key to switch to the treeview screen. Let me know if this resolves your concern.
Author
Owner

@fuzihaofzh commented on GitHub (Mar 15, 2023):

Sorry for not make it clear. I mean this memory for the machine
image
I want to see the total memory of current machine (e.g. 35.4G/251G). Maybe make it looks like htop style as follows?
image

<!-- gh-comment-id:1470418184 --> @fuzihaofzh commented on GitHub (Mar 15, 2023): Sorry for not make it clear. I mean this memory for the machine <img width="1346" alt="image" src="https://user-images.githubusercontent.com/1419566/225385444-06489c8f-7770-48fd-ba1f-1ac06f9f1bb5.png"> I want to see the total memory of current machine (e.g. 35.4G/251G). Maybe make it looks like htop style as follows? <img width="641" alt="image" src="https://user-images.githubusercontent.com/1419566/225385757-1c6db708-f55a-4e80-915a-b4e69d9f8c31.png">
Author
Owner

@XuehaiPan commented on GitHub (Mar 15, 2023):

This is not compatible with the bar charts in nvitop. nvitop uses box drawing characters, while htop is using | and colors. It's hard to render texts property when your host memory is almost full. Maybe you can use a terminal multipler like tmux.

<!-- gh-comment-id:1470435465 --> @XuehaiPan commented on GitHub (Mar 15, 2023): This is not compatible with the bar charts in `nvitop`. `nvitop` uses box drawing characters, while `htop` is using `|` and colors. It's hard to render texts property when your host memory is almost full. Maybe you can use a terminal multipler like `tmux`.
Author
Owner

@fuzihaofzh commented on GitHub (Mar 15, 2023):

Thanks for the comments. I mean, as it can already show the percentage 10.4% in the above figure. It will not be quite hard to add some extra info (35.4G/251G). Or make it a possible option by users? It would be quite cool if I could see the total memory and the memory engaged in my machine. Thanks.

<!-- gh-comment-id:1470441550 --> @fuzihaofzh commented on GitHub (Mar 15, 2023): Thanks for the comments. I mean, as it can already show the percentage 10.4% in the above figure. It will not be quite hard to add some extra info (35.4G/251G). Or make it a possible option by users? It would be quite cool if I could see the total memory and the memory engaged in my machine. Thanks.
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#34
No description provided.