Multi-Core System Monitor

by jaszhix
UUID: multicore-sys-monitor@ccadeptic23
Score: 11
Last edited: 1 week ago
Last commit: db724b42d9c9c08f0568620e6c7496dcb1b3d1c0

Displays in realtime the cpu usage for each core/cpu and overall memory usage.

You must install the gir1.2-gtop-2.0 package to use this applet.

// Multi-core System Monitor Readme // Copyright (C) 2011-2012 Chace Clark ccdevelop23@gmail.com.

How to Configure Colors (in prefs.json)

Edit config file its called prefs.json. Also backup the file, and only do it if you feel comfortable. There are 3 values that control the color of the applet all use arrays of the format: [r,b,g,a] r-red from 0 to 1.0 g-green from 0 to 1.0 b-blue from 0 to 1.0 a-alpha from 0 to 1.0

These 3 are: BackgroundColor, ColorsMem, and ColorsCPUs

ColorsCPUs requires a little more explaination. It is an array of arrays the first level is the cpu number that will use that color. For example, if I had 2 cpus and the first one was red and the second on was green my ColorsCPUs entry would be: "ColorsCPUs":[[1,0,0,1],[0,1,0,1]]

The ColorsMem is also a matrix like this but instead of the cpunumber each of the sub arrays are for different parts of the memory utilization. The first row is the memory that is "used up" meaning it is not available for a program to use. (This is the value gnome's system monitor shows as mem %) The second is the buffered memory. The third is the cached memory. The fourth is the free memory.

For Example, If I wanted the used up memory to be red, the buffered memory to be green, the cached to be blue, and the free to be white my entry ColorsMem would be: "ColorsMem": [[1,0,0,1],[0,1,0,1],[0,0,1,1],[1,1,1,1]]

In general, I prefer the free memory to be see thru but others maynot. if you want a see thru free make the fourth entry all 0.

Note1: that if you have more cpu's than colors defined in the config file. Then the colors will repeat until you run out of cpus. This behavour happens with the memory colors also. Add more arrays if you want to specify them.

Changelog

New changelog info is available in the commit history.

Version 1.5

Disk IO monitoring is now no longer in beta Applet no longer attempts to read from disabled devices. Added Logarithmic scaling option. And description of scaling options to prefs window. Also prefs window will no longer show devices it dected in the past. But settings will be retained. (ie wont show all flash drives ever put into machine, but will remember colors set for them) Several bug fixes.

Version 1.45

Fixed gjs shebang to cjs this was why the preferences werent working Lots of small changes, some code clean up, and "/" mountpoint monitoring Changed code so that all versions of ubuntu can use the same applet Added the use of an error icon when the applet fails due to gtop not being installed. Network line graph now has auto scaling disabled. Its too hard to see what is going on when the axis keeps changing.

Version 1.4

added ability to seperate code into different files changed line chart scaling so that the max does not jump around. added a beta version for disk performance. Shows error icon applet and message when gtop is not installed.

Version 1.32

Fixed issue where systems with older version of the glib gir would crash when closing preferences menu.

Version 1.31

added the color selection choice for swap.

Version 1.3

New improved customization menu Added Network Usage Monitoring

Version 1.2

  • Memory Visualization expanded and is now a Pie Chart.
  • Vertical Bars Graph minor visuals improvement. When the height of vertical bars was 0, it would display annoying little line fragments. Now nice and clean.
  • Moved the configuration menu to open on Right click. Left click now opens the system monitor.
  • Changed the default color scheme to be monochromatic. I have been using it and think it looks much better. Especially on default Cinnamon.

Version 1.1

Added the use of a config file, and a menu system to change a few of the parameters. It is called prefs.json. At the moment the only way to change the colors is to modify this file. I am hoping to add a color selector soon, but documentation is very thin. If you have seen a cinnamon or gnome-shell extension/applet that uses one I would be very grateful to hear about it. Also backup the file, and only do it if you feel comfortable. There are 3 values that control the color of the applet all use arrays of the format: [r,b,g,a] r-red from 0 to 1.0 g-green from 0 to 1.0 b-blue from 0 to 1.0 a-alpha from 0 to 1.0

These 3 are: BackgroundColor, ColorsMem, and ColorsCPUs

ColorsCPUs requires a little more explaination. It is an array of arrays the first level is the cpu number that will use that color. For example, if I had 2 cpus and the first one was red and the second on was green my ColorsCPUs entry would be: "ColorsCPUs":[[1,0,0,1],[0,1,0,1]]

The ColorsMem is also a matrix but it will always have one row.(For now)

Note 1: that if you have more cpu's than colors defined in the config file. Then the colors will repeat until you run out of cpus. Add more arrays if you want to specify them.

Note 2: A couple people wanted a monochromatic theme so I will put an extra config file called monoprefs.json. backup the original prefs.json and rename this one to prefs.json to use it. Then restart cinnamon, before changing the settings again.

Version 1

Initial drop. Psst..When tha bars heights are the same as the applet this is 100%.

Log In To Comment!

14 Comments

andreashohl82
andreashohl82-1 week ago
Version 1.5, which is currently the latest one, seems not to be compatible with Cinnamon 3.4.1.
Is there a way to make it compatible?
Jason Hicks
Jason Hicks-1 week ago
The changelog info is from the original author. The newest version is 1.6 which does support 3.4. Please check for an update in System Settings -> Applets.
Tobias Gaertner
Tobias Gaertner-1 week ago
same here Version 1.6 stopped working.
Jason Hicks
Jason Hicks-1 week ago
WammKD's bug report has been reproduced and patched. Please check for an update.
WammKD
WammKD-2 weeks ago
I think your latest upgrade may've broken something (leastwise, on my machine). Trying to add the applet errors out and the error message given in glass.log is "error t=2017-06-04T01:19:19.277Z Mainloop.idle_add_full is not a function".

I'm running Linux Mint 18, version 3.0.7. If there's any further info. you might need or tests to run, let me know and I'm more than happy to help.
Thiago Ponte
Thiago Ponte-2 weeks ago
Working great! I missed this applet.
angelo
angelo-4 weeks ago
great - thanks a lot!
bthery
bthery-1 month ago
Great applet.

Feature request, I'd love to be able to specify a refresh rate greater than 1 second (1000ms) in the GUI.
When running Mint in a VM I don't need to have a very accurate current CPU or memory load.
Jefferson Davis
Jefferson Davis-1 month ago
Cinnamon now at version 3.4.0
Jefferson Davis
Jefferson Davis-1 month ago
And, it's been fixed, apparently. Try removing it from the installed apps, go to online list, refresh, and reinstall.

It also appears cinnamon itself was updated, so perhaps that's part of it?
Jefferson Davis
Jefferson Davis-1 month ago
George Cohn I'm running Ubuntu 16.04 LTS. For the time being I'm using an oldie but goodie, gkrellm. But I'd rather use something more integrated with Cinnamon.
George Cohn
George Cohn-1 month ago
FWIW I'm getting the same failure with Cinnamon 3.2.8 as Jefferson Davis
Jefferson Davis
Jefferson Davis-1 month ago
Cinnamon 3.2.8 gags on almost every monitor app, including this one, which I've used for some time. Any thoughts?

error t=2017-05-04T16:37:21.976Z [Applet "multicore-sys-monitor@ccadeptic23"]: Error importing applet.js from multicore-sys-monitor@ccadeptic23
error t=2017-05-04T16:37:21.976Z Could not load applet multicore-sys-monitor@ccadeptic23
Sergedel
Sergedel-1 month ago
When installing new version, the custom prefs.json file is deleted and replaced by default prefs. It's a bug or a feature?