glances/glances/plugins
Bennett Kanuka 46d3d713ce fix zfs cache math 2025-09-24 17:31:24 -04:00
..
__pycache__
alert
amps
cloud
connections
containers
core
cpu
diskio
folders
fs ZFS ARC/cache not reported as cache memory usage #3279 2025-09-14 12:35:59 +02:00
gpu
help
ip
irq
load
mem fix zfs cache math 2025-09-24 17:31:24 -04:00
memswap
network
now
percpu
plugin
ports
processcount
processlist [MACOS] Glances crashes when I try to filter #3266 2025-08-24 11:40:05 +02:00
programlist
psutilversion
quicklook fix zfs cache math 2025-09-24 17:31:24 -04:00
raid
sensors
smart
system
uptime
version
vms
wifi
README.rst
__init__.py

README.rst

===============
Glances plugins
===============

This is the Glances plugins folder.

A Glances plugin is a Python module hosted in a folder.

It should implement a Class named <plugin name>Plugin inherited from GlancesPluginModel (example for foo plugin: FooPlugin).

This class should be based on the MVC model.
- model: where the stats are updated (update method)
- view: where the stats are prepare to be displayed (update_views)
- controller: where the stats are displayed (msg_curse method)

A plugin should define the following global variables:

- fields_description: a dict twith the field description/option
- items_history_list (optional): define items history

Have a look of all Glances plugin's methods in the plugin folder (where the GlancesPluginModel is defined).