Zola e5c7547814 system-monitor-graph@rcassani: Add error handling for amdgpu (#1407)
* This commit adds error checking to prevent desklet or Cinnamon crashes
    when any of the used files are absent from the system, most often
    because the system doesn't have a gpu from AMD.

    It also switches amdgpu functions to use async function calls for
    file reading, like the rest of the desklet.

---------

Co-authored-by: rcassani <raymundo.cassani@gmail.com>
2025-02-20 16:30:27 -05:00

System monitor graph Desklet

Desklet to show graphs for the level of activity in various system variables including: CPU, memory, and disks. The desklet supports multiple instances with different system variables with the idea of presenting them in a uniform way.


Four instances of the Desklet in action.

This project has been inspired from other Desklets such as Disk Space, CPU Load, Simple system monitor, Network usage monitor, Top, and the Rainmeter Win10 Widgets.

Features

Variables to monitor (v1.3 - April 2022)

System variable Description
CPU CPU usage in %
RAM Used RAM as % of total, and in GB
Swap Used Swap space as % of total, and in GB
HDD % of I/O activity, and free and total space in the filesystem (partition) indicated by the user
GPU Usage GPU usage in %
GPU Memory GPU memory usage in %

Each variable is calculated every Refresh interval seconds (Min. 1 s, Max. 60 s.), and the graph shows the last Duration of the graph period (Min. 30 s, Max. 60 min).

Customizable visual elements


Settings for one instance of the system monitor graph Desklet.

Screenshots


The Desklet is fully customizable.



A simple screenshot.

TODO

  • Add other variables such as network, CPU and GPU temperatures, battery levels for PC and peripherals.

Resources

This is my first Desklet and the first time using JavaScript. Below, some resources that I used for the development of this Desklet.

Description
No description provided
Readme GPL-3.0 5.2 MiB
Languages
JavaScript 99.9%
Shell 0.1%