Graphical hardware monitor

UUID: hwmonitor@sylfurd
Last edited:
1 week ago 2019-12-01, 15:15 UTC
Last commit: [69afd891] hwmonitor@sylfurd: Update da.po (#2727)

Displaying realtime CPU and memory load

README

Close

Graphical Hardware Monitor

Graphical Hardware Monitor is an applet that displays realtime CPU and memory load.

The code for this applet can be found under hwmonitor@sylfurd here : cinnamon-spices-applets

Issues can be reported here : Issues

Changes

You can open the configuration dialog by right-clicking the applet and selecting Configure....

Version 1.0:

  • Multi-version support: Should now support older versions of Cinnamon (before 3.8).

Older versions (without a real version number):

  • Configuration dialog has been cleaned up and divided into pages.
  • Some new themes have been implemented. (Thanks to @cgvirus)
  • There are two new graphs showing internet traffic in and out. Note that you might need to adjust the values for your Internet speed in the configuration dialog, both in and out, for the graphs to look good. The default value is 100 Mbit/s. You might want to set the values to slightly higher or than the Internet speed you have paid for. You can show the graphs in a linear or logarithmic scale.
  • You can now turn on or off each individual graphs.
  • You can now choose the width (horizontal panels) or the height (vertical panels) of each individual graph.
  • You can now show or hide a detail label, which show for example CPU usage %, or used memory etc.
  • You can now control the font size of both the main label and the detail label.
  • Select the update frequency for the graph, by selecting the number of seconds between updates in the Update frequency combo.
  • Select theme : If you select dark theme, the graph will be drawn in dark colors and vice versa for light theme. If you select custom theme you can customize the colors so that they match your desktop theme perfectly.
  • You can set a custom label for each graph. By doing this you will override the labels from the language files.
  • You can now add more than one Graphical Hardware Monitor to your panels. Might be useful for people with more than one monitor.
  • The applet now works in both vertical and horizontal panels.

Requirements

Graphical Hardware Monitor requires the Gtop package to collect system information. It might allready be installed on your system, but if the applet or graph is not shown, you might need to install the Gtop package manually.

  • Ubuntu/Mint: install the package gir1.2-gtop-2.0
  • Fedora: install the package libgtop2-devel
  • Arch/Manjaro: install the package libgtop

Example

Horizontal pane example:

screenshot

Vertical pane example:

screenshot

Contributing

  • Sylfurd
  • Hultan (SoftTeam AB)
  • Claudiux
  • D1ceWard
  • kelebek333
  • Jason Hicks
  • spacy01
  • brownsr
  • Alan01
  • eson57
  • renepavlik
  • colinss
  • MrElectroNick
  • NikoKrause
  • giwhub
  • andreevlex
  • clefebvre

Log In To Comment!

33 Comments

Fahad Hasan Pathik
Fahad Hasan Pathik-2 months ago
This excellent applet should have a gray theme for modern interface. Here is an example: https://github.com/linuxmint/cinnamon-spices-applets/issues/2620
saffrontsunami
saffrontsunami-2 months ago
This is a SUPERB app. ! I have used similar in a dozen Linuxes that I have used, but never been so impressed. From design to product, everything is so nice, I just HAD to tell all readers to disregard the negativity of the gloomy cautionary icons and notifications, this app is GOOD. It is easy to read, highly configurable, and very, very useful to optimize/troubleshoot your system. I went thru a heap of paranoid/schizophrenic/narcissistic "security" checks to sign up so I could comment. If this process was rationalized, there would be 400000 likes, not 4. Best Wishes & Regards !
claudiux
claudiux-3 months ago
What a good work! This applet is now a must have! I would add a Star if I could.
selionchik
selionchik-5 months ago
debian10+lightdm_cinnamon work exelent! Please, add netwok, I realy missing it and using different applet, but ghm is much better. Thanks to developpers!
Alberto Goldoni
Alberto Goldoni-7 months ago
in linux mint (19.1), after resume from suspension, the cpu graph remains flat
claudiux
claudiux-3 months ago
This issue is now fixed.
Karl Clinckspoor
Karl Clinckspoor-6 months ago
I had the same problem. You can restart Cinnamon with Alt+F2, typing "r" and hitting enter. Then the monitor will resume.
kluszon
kluszon-10 months ago
Linux Mint 19.1 x64 with Cinnamon "This applet contains function calls that could potentially cause Cinnamon to crash or freeze. If you are experiencing crashes or freezing, please try removing it."
BraianF
BraianF-11 months ago
To change the update frequency, edit file: ~/.local/share/cinnamon/applets/hwmonitor@sylfurd/applet.js, go to line "this.loopId = Mainloop.timeout_add(1000, Lang.bind(this, this.update));" and change the number to desired time (in milliseconds).
SoftTeam AB
SoftTeam AB-4 months ago
There is now a configuration window in this applet, where you can set update frequency easily.
rickrich
rickrich-1 year ago
Using it on Fedora 27, cinnamon-3.8.4. Quite nice. Only warning I get is in Add/Remove Applets: "This applet contains function calls that could potentially cause Cinnamon to crash or freeze. If you are experiencing crashes or freezing, please try removing it."
rickrich
rickrich-1 year ago
Oh, yeah. The warning is on "Graphical hardware monitor". All of the other ~13 installed applets don't have the warning.
SoftTeam AB
SoftTeam AB-4 months ago
@rickrich I have looked in to this, and from what I gather this is a warning that all applets get that uses calls to asynchronous javascript functions. My applet list currently has three applets with this warning sign. GHW probably gets the warning since it uses the Gtop package to receive memory and CPU information. If it actually happens (a crash or a freeze) because of this applet, please create an issue on GitHub.
©TriMoon™
©TriMoon™-1 year ago
Anyway to have it display info of the GPU also?
Hultan (SoftTeam AB)
hwmonitor@sylfurd uses libgtop to get information about the system. I have looked trough the documentation (https://developer.gnome.org/libgtop/stable/) and it doesn't provide information about the GPU (at least I have not found it). I have also looked through the code for other Applets that gives GPU information, and it looks like they always support ONE architecture (like NVidia or AMD), which makes me believe that it will be complicated to get information that will work for all graphic cards. But if anyone knows a (not too complicated) way to do this, please let me know...
Alex Apkhaidze
Alex Apkhaidze-1 year ago
To narrow down the applet, edit file: ~/.local/share/cinnamon/applets/hwmonitor@sylfurd/applet.js and change "const ScaleRatio" from 3 to 2. To apply changes, restart Cinnamon.
SoftTeam AB
SoftTeam AB-4 months ago
The applet now have a configuration window where you can set the width in pixels for horizontal panels, and height in pixels for vertical panels.
Dragoş
Dragoş-4 months ago
At least on certain themes, when hovering the graphs there's a hilite behind that doesn't quite look good (see here: https://postimg.cc/QFqhw9k9 ). If possible, please either disable hiliting on the applet or allow both width and height to be user-defined (with auto-centering according to panel position on screen). And one sort of feature request: would it be possible to add a numeric variant instead of the graphs, that could easily be toggled on/off through the context menu and/or a hotkey (like Ctrl+left click)? Something like [CPU: xx%][MEM: xx%]. When using the traditional mode, panel gets cluttered very fast with window buttons, and this applet takes a lot of space in graph mode. Thank you for all your work so far!
SoftTeam AB
SoftTeam AB-3 months ago
@Dragos I will look into that when I get some time over. Regarding text instead of graphs, that should be fairly easy to implement. Again, will look into that when I find some time. Meanwhile you can decrease the size of the graphs in the configuration window.
david-robson
david-robson-1 year ago
Only monitoring tool to work nicely with a vertical menu bar - I like mine on the right side of the screen! :-) To install the dependency, run the following without the quotes "sudo apt install gir1.2-gtop-2.0".
peter urquidez
peter urquidez-2 years ago
installed but have a Dependence missing message: install GTop package. Ubuntu / Mint: gir1.2-gtop-2.0. what is that and where do i find and install it?
Sergei Kovalev
Sergei Kovalev-2 years ago
Very useful. But i got error: in "System Monitor" actual CPU is 10% long time, but applet shows 100% long time and not decrease.
osmand
osmand-2 years ago
pls do one for network usage
SoftTeam AB
SoftTeam AB-3 months ago
@osmand Graphs for network usage is now implemented.
hub2git
hub2git-2 years ago
I have 2 requests: 1. Please let us adjust update frequency (as Jesse Boyd two weeks ago requested). 2. Please let us adjust the width. I want to narrow each graph to a fourth of the width.
SoftTeam AB
SoftTeam AB-4 months ago
Both those options now exists in the configuration window for the applet.
Peter Bittner
Peter Bittner-2 years ago
Very nice graphical applet!---I wish there were a desklet like this!
Nanners
Nanners-2 years ago
You fixed the "scaling" issue where it remained a static size and aligned to the top of the task bar in Cinnamon! Very nice.
Jesse Boyd
Jesse Boyd-2 years ago
how can I adjust the update frequency? I don't want to strain my system too much. Thank you!
Nanners
Nanners-2 years ago
Works fine in the Arch repo's Cinnamon. Pretty easy to customize if you can use a text editor and a little common sense. For instance, the font: (https://github.com/linuxmint/cinnamon-spices-applets/blob/master/hwmonitor@sylfurd/files/hwmonitor@sylfurd/applet.js) // Label cr.setFontSize(7); cr.setSourceRGBA(0, 0, 0, 0.5); cr.moveTo(2.5, 7.5); cr.showText(this.provider.getName()); cr.setSourceRGBA(1, 1, 1, 1); cr.moveTo(2, 7); cr.showText(this.provider.getName()); If you wanted a bigger, brighter label on each graph.
Fraoch
Fraoch-2 years ago
Works well, although it would be nice if I could make it a bit bigger. Does not scale if you resize the height of your panel.
Andreas Till
Andreas Till-2 years ago
After suspending my notebook the graph stays fairly high...
Nickolay Karnaukhov
I use it on all Mint machines I have!