Multi-Core System Monitor

by jaszhix
UUID: multicore-sys-monitor@ccadeptic23
Score: 13
Last edited: 2 weeks ago
Last commit: 1bbb3510cbabb71e9f190ef0f960f17b4a1b63d3

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.

Instructions for upgrading to Cinnamon 3.4

Uninstall the applet from Applet Settings, delete ~/.local/share/cinnamon/applets/multicore-sys-monitor@ccadeptic23 and ~/.cinnamon/configs/multicore-sys-monitor@ccadeptic23. Then reinstall from Applet Settings, so it re-downloads it.

The below instructions are outdated. You can customize the color scheme in the applet's settings app.

How to Configure Colors (in prefs.json)

Edit config file in called prefs.json. Also backup the file, and only do it if you feel comfortable. There are three values that control the color of the applet that all use arrays in the settings format:

[r, b, g, a] r (red): 0-1.0 g (green): 0-1.0 b (blue): 0-1.0 a (alpha): 0-1.0

The three propteries using these values are BackgroundColor, ColorsMem, and ColorsCPUs.

ColorsCPUs requires a little more explanation. It is an array of arrays. The first level is the CPU number that will use that color. For example, if you have two CPUs where the first one is red, and the second one is green, your ColorsCPUs entry would be:

"ColorsCPUs": [[1, 0, 0, 1], [0, 1, 0, 1]]

The ColorsMem property is also a matrix like this, but instead of the CPU number, 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 the system monitor shows as the memory percentage. The second value is buffered memory, the third is cached memory, and the fourth is free memory.

For example, If you wanted the used up memory to be red, the buffered memory to be green, the cached memory to be blue, and the free memory to be white, the ColorsMem property's value would be:

"ColorsMem": [[1, 0, 0, 1], [0, 1, 0, 1], [0, 0, 1, 1], [1, 1, 1, 1]]

If you want free memory to be transparent, make the fourth entry all 0 values.

If you have more CPUs than colors defined in the config file, then the colors will repeat over the remaining CPU cores. This behavior happens with the memory colors as well. Add more arrays if you want to specify them.

View the original author's changelog.

Log In To Comment!

20 Comments

Boo
Boo-1 week ago
Worked for me Jakub, thanks!
Jakub Římal
Jakub Římal-1 week ago
It looks like the mint control panel is installing an older version so just just remove Multi-Core System Monitor in mint control panel, download zip manually from this site and unzip it to ~/.local/share/cinnamon/applets. :)
zerobedience
zerobedience-1 week ago
That's not working for me.

Linux minty 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Version: 3.4.4+sonya
-------------------------------------
info t=2017-07-13T12:57:15.837Z Cinnamon.AppSystem.get_default() started in 128 ms
info t=2017-07-13T12:57:15.840Z loading default theme
info t=2017-07-13T12:57:15.898Z PlacesManager: Updating devices
info t=2017-07-13T12:57:15.980Z loaded at Thu Jul 13 2017 07:57:15 GMT-0500 (CDT)
info t=2017-07-13T12:57:16.255Z Loaded applet menu@cinnamon.org in 273 ms
info t=2017-07-13T12:57:16.267Z Loaded applet show-desktop@cinnamon.org in 11 ms
info t=2017-07-13T12:57:16.346Z Role locked: panellauncher
info t=2017-07-13T12:57:16.346Z Loaded applet panel-launchers@cinnamon.org in 78 ms
info t=2017-07-13T12:57:16.361Z Loaded applet window-list@cinnamon.org in 14 ms
info t=2017-07-13T12:57:16.372Z Role locked: notifications
info t=2017-07-13T12:57:16.375Z Loaded applet notifications@cinnamon.org in 12 ms
info t=2017-07-13T12:57:16.391Z Loaded applet keyboard@cinnamon.org in 16 ms
info t=2017-07-13T12:57:16.425Z Loaded applet sound@cinnamon.org in 33 ms
info t=2017-07-13T12:57:16.440Z Loaded applet power@cinnamon.org in 14 ms
info t=2017-07-13T12:57:16.447Z Loaded applet systray@cinnamon.org in 6 ms
info t=2017-07-13T12:57:16.465Z Loaded applet calendar@cinnamon.org in 17 ms
info t=2017-07-13T12:57:16.476Z Loaded applet expo@cinnamon.org in 11 ms
info t=2017-07-13T12:57:16.477Z AppletManager.init() started in 497 ms
info t=2017-07-13T12:57:16.479Z Cinnamon took 783 ms to start
info t=2017-07-13T12:57:17.180Z Adding systray: redshift (24x24px)
info t=2017-07-13T12:57:17.181Z Adding systray: network (24x24px)
info t=2017-07-13T12:57:46.693Z Adding systray: psensor (24x24px)
info t=2017-07-13T13:07:42.171Z Adding systray: mintupdate.py (24x24px)
info t=2017-07-13T13:19:40.354Z Adding systray: mintupdate.py (24x24px)
info t=2017-07-13T13:19:40.366Z Adding systray: network (24x24px)
info t=2017-07-13T13:19:40.371Z Adding systray: psensor (24x24px)
info t=2017-07-13T13:19:40.388Z Adding systray: redshift (24x24px)
info t=2017-07-13T13:35:07.662Z Adding systray: network (24x24px)
info t=2017-07-13T13:35:07.695Z Adding systray: psensor (24x24px)
info t=2017-07-13T13:35:07.699Z Adding systray: redshift (24x24px)
error t=2017-07-13T13:36:44.832Z Applet is not defined
trace t=2017-07-13T13:36:44.832Z
<----------------
@/home/user/.local/share/cinnamon/applets/multicore-sys-monitor@ccadeptic23/applet.js:60:2
Extension.prototype._init@/usr/share/cinnamon/js/ui/extension.js:155:13
Extension@/usr/share/cinnamon/js/ui/extension.js:116:5
loadExtension@/usr/share/cinnamon/js/ui/extension.js:449:25
onEnabledAppletsChanged@/usr/share/cinnamon/js/ui/appletManager.js:236:13
----------------&gt;
error t=2017-07-13T13:36:44.832Z [Applet "multicore-sys-monitor@ccadeptic23"]: Error importing applet.js from multicore-sys-monitor@ccadeptic23
error t=2017-07-13T13:36:44.833Z Could not load applet multicore-sys-monitor@ccadeptic23
info t=2017-07-13T13:36:44.864Z Adding systray: network (24x24px)
info t=2017-07-13T13:36:44.867Z Adding systray: psensor (24x24px)
info t=2017-07-13T13:36:44.869Z Adding systray: redshift (24x24px)
info t=2017-07-13T13:36:44.875Z Adding systray: network (24x24px)
info t=2017-07-13T13:36:44.894Z Adding systray: psensor (24x24px)
info t=2017-07-13T13:36:44.899Z Adding systray: redshift (24x24px)
---------------------------------
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
syndaemon: no process found
/etc/mdm/Xsession: Beginning session setup...
localuser:user being added to access control list
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
[cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driver could be found
[cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driver could be found
Cjs-Message: JS LOG: About to start Cinnamon
St-Message: cogl npot texture sizes SUPPORTED
Cjs-Message: JS LOG: Cinnamon started at Thu Jul 13 2017 07:57:15 GMT-0500 (CDT)
openGL version 3.1 detected (GL3 Cogl Driver)

(nm-applet:2384): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

(redshift-gtk:2387): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
mintUpdate: no process found

(psensor:2967): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

(mintUpdate.py:2909): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3c00003 (Authentica)
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x6600085 (glass.log )
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x6600085 (.xsession-)
Jakub Římal
Jakub Římal-1 week ago
Does not work after the upgrade to 18.2. "Instructions for upgrading to Cinnamon 3.4" doesn't help.
Boo
Boo-2 weeks ago
This applet does not work anymore since 18.2 update.

Here is my glass.log :

info t=2017-07-09T09:15:28.529Z Cinnamon.AppSystem.get_default() started in 745 ms
info t=2017-07-09T09:15:28.537Z loading user theme: /usr/share/themes/Arc-Dark/cinnamon/cinnamon.css
info t=2017-07-09T09:15:28.565Z added icon directory: /usr/share/themes/Arc-Dark/cinnamon
info t=2017-07-09T09:15:28.621Z PlacesManager: Updating devices
info t=2017-07-09T09:15:28.639Z loaded at Sun Jul 09 2017 11:15:28 GMT+0200 (CEST)
info t=2017-07-09T09:15:29.432Z Loaded applet menu@cinnamon.org in 786 ms
info t=2017-07-09T09:15:29.728Z Role locked: panellauncher
info t=2017-07-09T09:15:29.728Z Loaded applet IcingTaskManager@json in 295 ms
info t=2017-07-09T09:15:29.846Z Role locked: notifications
info t=2017-07-09T09:15:29.849Z Loaded applet notifications@cinnamon.org in 120 ms
info t=2017-07-09T09:15:29.918Z feeds@jonbrettdev.wordpress.com :: Logging set at info
info t=2017-07-09T09:15:29.930Z Loaded applet feeds@jonbrettdev.wordpress.com in 80 ms
info t=2017-07-09T09:15:30.006Z Loaded applet spacer@cinnamon.org in 75 ms
info t=2017-07-09T09:15:30.028Z Loaded applet keyboard@cinnamon.org in 21 ms
info t=2017-07-09T09:15:30.115Z Loaded applet user@cinnamon.org in 86 ms
info t=2017-07-09T09:15:30.303Z Loaded applet network@cinnamon.org in 188 ms
info t=2017-07-09T09:15:30.511Z Loaded applet sound@cinnamon.org in 207 ms
info t=2017-07-09T09:15:30.628Z Loaded applet power@cinnamon.org in 116 ms
info t=2017-07-09T09:15:30.641Z Loaded applet systray@cinnamon.org in 12 ms
info t=2017-07-09T09:15:30.761Z Loaded applet calendar@cinnamon.org in 119 ms
info t=2017-07-09T09:15:30.770Z Loaded applet windows-quick-list@cinnamon.org in 7 ms
info t=2017-07-09T09:15:30.770Z AppletManager.init() started in 2131 ms
info t=2017-07-09T09:15:30.772Z Cinnamon took 3229 ms to start
info t=2017-07-09T09:15:31.589Z Hiding systray: network
info t=2017-07-09T09:15:31.591Z Adding systray: redshift (24x24px)
info t=2017-07-09T09:15:32.813Z Adding systray: blueberry-tray.py (24x24px)
info t=2017-07-09T11:44:27.985Z PlacesManager: Updating devices
error t=2017-07-09T11:53:36.705Z Applet is not defined
trace t=2017-07-09T11:53:36.706Z
<----------------
@/home/sephir/.local/share/cinnamon/applets/multicore-sys-monitor@ccadeptic23/applet.js:60:2
Extension.prototype._init@/usr/share/cinnamon/js/ui/extension.js:155:13
Extension@/usr/share/cinnamon/js/ui/extension.js:116:5
loadExtension@/usr/share/cinnamon/js/ui/extension.js:449:25
onEnabledAppletsChanged@/usr/share/cinnamon/js/ui/appletManager.js:236:13
----------------&gt;
error t=2017-07-09T11:53:36.706Z [Applet "multicore-sys-monitor@ccadeptic23"]: Error importing applet.js from multicore-sys-monitor@ccadeptic23
error t=2017-07-09T11:53:36.707Z Could not load applet multicore-sys-monitor@ccadeptic23
info t=2017-07-09T11:53:36.922Z Hiding systray: network
info t=2017-07-09T11:53:36.935Z Adding systray: redshift (24x24px)
info t=2017-07-09T11:53:36.938Z Adding systray: blueberry-tray.py (24x24px)
info t=2017-07-09T11:53:36.952Z Hiding systray: network
info t=2017-07-09T11:53:36.955Z Adding systray: redshift (24x24px)
info t=2017-07-09T11:53:36.959Z Adding systray: blueberry-tray.py (24x24px)
error t=2017-07-09T11:54:59.165Z Applet is not defined
trace t=2017-07-09T11:54:59.165Z
<----------------
@/home/sephir/.local/share/cinnamon/applets/multicore-sys-monitor@ccadeptic23/applet.js:60:2
Extension.prototype._init@/usr/share/cinnamon/js/ui/extension.js:155:13
Extension@/usr/share/cinnamon/js/ui/extension.js:116:5
loadExtension@/usr/share/cinnamon/js/ui/extension.js:449:25
onEnabledAppletsChanged@/usr/share/cinnamon/js/ui/appletManager.js:236:13
----------------&gt;
error t=2017-07-09T11:54:59.165Z [Applet "multicore-sys-monitor@ccadeptic23"]: Error importing applet.js from multicore-sys-monitor@ccadeptic23
error t=2017-07-09T11:54:59.165Z Could not load applet multicore-sys-monitor@ccadeptic23
info t=2017-07-09T11:54:59.167Z Hiding systray: network
info t=2017-07-09T11:54:59.168Z Adding systray: redshift (24x24px)
info t=2017-07-09T11:54:59.169Z Adding systray: blueberry-tray.py (24x24px)
info t=2017-07-09T11:54:59.227Z Hiding systray: network
info t=2017-07-09T11:54:59.230Z Adding systray: redshift (24x24px)
info t=2017-07-09T11:54:59.231Z Adding systray: blueberry-tray.py (24x24px)
Bobavince
Bobavince-4 weeks ago
Hi !

Small problem here, with Cinnamon installed on my Arch.
The Applet manager say this applet could be slow-down or block the system.

Here is what's inside of glass.log :

info t=2017-06-25T08:12:31.250Z Loaded applet calendar@cinnamon.org in 300 ms
error t=2017-06-25T08:12:31.412Z Applet is not defined
trace t=2017-06-25T08:12:31.412Z
<----------------

(...)

error t=2017-06-25T08:12:31.412Z [Applet "multicore-sys-monitor@ccadeptic23"]: Error importing applet.js from multicore-sys-monitor@ccadeptic23
error t=2017-06-25T08:12:31.413Z Could not load applet multicore-sys-monitor@ccadeptic23
info t=2017-06-25T08:12:31.413Z AppletManager.init() started in 4199 ms
info t=2017-06-25T08:12:31.418Z Cinnamon took 18873 ms to start
info t=2017-06-25T08:12:32.156Z Hiding systray: network
info t=2017-06-25T08:33:56.758Z Hiding systray: network
error t=2017-06-25T08:34:13.485Z Applet is not defined
trace t=2017-06-25T08:34:13.486Z

Here is the complete file : http://piratepad.net/VvLMO3bzyw

Do you have an answer ? :)
andreashohl82
andreashohl82-1 month 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 month 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 month ago
same here Version 1.6 stopped working.
Jason Hicks
Jason Hicks-1 month ago
WammKD's bug report has been reproduced and patched. Please check for an update.
WammKD
WammKD-1 month 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-1 month ago
Working great! I missed this applet.
angelo
angelo-2 months ago
great - thanks a lot!
bthery
bthery-2 months 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-2 months ago
Cinnamon now at version 3.4.0
Jefferson Davis
Jefferson Davis-2 months 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-2 months 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-2 months ago
FWIW I'm getting the same failure with Cinnamon 3.2.8 as Jefferson Davis
Jefferson Davis
Jefferson Davis-2 months 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-2 months ago
When installing new version, the custom prefs.json file is deleted and replaced by default prefs. It's a bug or a feature?