Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

How to add new graph mode? #440

Closed
edouard-lopez opened this issue Mar 8, 2016 · 5 comments
Closed

How to add new graph mode? #440

edouard-lopez opened this issue Mar 8, 2016 · 5 comments

Comments

@edouard-lopez
Copy link

This is probably a stupid question but after building the 2.0.0 following #439, I don't have any graph.

I went to the setup menu and try to add CPU Average and Load average, still nothing.

Is there a flag or something like that to enable the graph ?

@Explorer09
Copy link
Contributor

Remember you can press space bar to change the meter style. That way you can get the graph display you want.
And by the way, graph display for Load average will not probably work what you expect. It's work-in-progress. Patches are welcome.

@hishamhm
Copy link
Owner

hishamhm commented Mar 8, 2016

@edouard-lopez some meters make more "sense" as graphs and bars than others because they have a logical "maximum" value that can be used to gauge the size of the bar or the height of the Y axis of the graph. For example, for CPU that is 100%, for memory that is total RAM size. For load, on the other hand, there is no maximum value.

@hishamhm
Copy link
Owner

hishamhm commented Mar 8, 2016

To further clarify, htop supports setting any meter in any mode (pressing Space, as @Explorer09 mentioned), but it's not in the plans to try to make every mode work optimally in every meter, because some of them either don't make sense or don't fit (as in the case of the LED mode).

@hishamhm hishamhm closed this as completed Mar 8, 2016
@edouard-lopez
Copy link
Author

Thank,
I didn't know about the possibility to change the meter style and there is no indication you can do that in the shorcuts list at the bottom.
It Should be added to improve discoverability.

@Explorer09
Copy link
Contributor

@edouard-lopez No, there is. It's just not easily discoverable. And that's why I propose this: #414

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants