From abb97d5286af5893b2ae69eb7c9c2f1ffc8bf61b Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sun, 23 May 2021 18:54:42 +0200 Subject: First optimzation with a new dynamic way to compute the refresh rate. Good news, the CPU consumption seams to be lower than ~20% with a refresh rate more or less the same... --- docs/config.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'docs/config.rst') diff --git a/docs/config.rst b/docs/config.rst index 07f0efd5..56accc1e 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -39,8 +39,15 @@ A first section (called global) is available: .. code-block:: ini [global] - # Does Glances should check if a newer version is available on PyPI? - check_update=true + # Refresh rate (default is a minimum of 3 seconds) + # Can be overwrite by the -t option + # It is also possible to overwrite it in each plugin sections + refresh=3 + # Does Glances should check if a newer version is available on PyPI ? + check_update=false + # History size (maximum number of values) + # Default is 28800: 1 day with 1 point every 3 seconds + history_size=28800 Each plugin, export module and application monitoring process (AMP) can have a section. Below an example for the CPU plugin: -- cgit v1.2.3