Compare commits

...

4544 Commits

Author SHA1 Message Date
nicolargo 17266144c8 Merge branch 'issue3400' into develop 2026-01-10 16:23:13 +01:00
nicolargo 7da3111b76 Process widget is broken in Homepage since a few dev release #3400 2026-01-10 16:23:01 +01:00
nicolargo 131d0aec8d Merge branch 'issue3127' into develop 2026-01-04 18:58:34 +01:00
nicolargo 3f060c684b Improve CPU name in Quicklook plugin for ARM prcessors #3127 2026-01-04 18:58:21 +01:00
nicolargo 37d2fe13d0 Make public IP address retreiving call async 2026-01-03 15:42:31 +01:00
nicolargo 0d8352c9c7 Update README 2026-01-03 15:21:24 +01:00
nicolargo ad9d52b5b0 Remove Netifaces2 from requirements file 2026-01-03 15:15:15 +01:00
nicolargo 22f7be01cb Merge branch 'issue3130' into develop 2026-01-03 15:14:20 +01:00
nicolargo 326c2fef51 Remove Netifaces dependency and use a pure Python to get Default Gateway.
Ip address and Net mask are now retreived thanks to PSutil.
2026-01-03 15:12:53 +01:00
nicolargo a3195463a0 Add system test for NATS exporter 2026-01-03 14:21:26 +01:00
nicolargo 84324615c5 Align conf file between default and the one used in Docker compose 2026-01-03 09:32:34 +01:00
nicolargo fa9bb2cdab Add Ruff formater in pre-hook 2026-01-03 09:25:27 +01:00
nicolargo d97c5cd5b9 Format and lint the code 2026-01-03 09:21:43 +01:00
nicolargo 420305a24a Merge branch 'issue3385' into develop 2026-01-03 09:18:45 +01:00
nicolargo 603f1ee8a4 Option to revert to using arrows to switch sorting? #3385 2026-01-03 09:18:25 +01:00
nicolargo 62e0b784bd Format/Lint code 2026-01-03 09:03:32 +01:00
nicolargo 1e25b4b130 Merge branch 'drake7707-develop' into develop 2026-01-03 09:00:39 +01:00
nicolargo 8b76cd458e Reduced cyclomatic complexity - Each function now does one thing
Better readability - Descriptive function names explain intent
Easier testing - Helper functions can be tested independently
Consistent style - f-strings used throughout
Removed code smells - No more pass statements in conditionals, no assert for validation
2026-01-03 09:00:05 +01:00
nicolargo 5cbbe91e1f Regenerate the WebUI and lint the code 2026-01-03 08:52:19 +01:00
Drakarah 862ac41b58 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2026-01-03 07:33:53 +00:00
Drakarah c8b2a90f3b Format the smart data in the web ui the same way as curses output 2026-01-03 07:33:09 +00:00
nicolargo 6e844f3c8b Update doc 2026-01-02 18:10:00 +01:00
nicolargo 91279b9144 Lint and format the code 2026-01-02 18:07:28 +01:00
nicolargo 7160cd8ae4 Merge branch 'issue3341-NATS' into develop 2026-01-02 18:00:30 +01:00
nicolargo 4bd36a34a1 Refactor NATS export to use async base class
Replace custom event loop threading implementation with GlancesExportAsyncio
base class. This simplifies the code by delegating async lifecycle management
to the parent class and using standardized _async_init(), _async_exit(), and
_async_export() methods instead of manual thread and event loop handling.
2026-01-02 17:28:52 +01:00
nicolargo 6cedd16753 Add test for NATS in the Makefile 2026-01-02 17:02:49 +01:00
nicolargo 12083f33fc Remove debug message 2026-01-02 09:42:03 +01:00
nicolargo b7c6cce373 First version ok. Log message should be removed. Code should be tested. 2025-12-30 19:04:07 +01:00
nicolargo ba932e72bd Read only container (with docker-compose) #3382 2025-12-30 10:40:36 +01:00
nicolargo 5d9593b393 Lint the code 2025-12-26 18:47:01 +01:00
nicolargo 5886321156 Lint code 2025-12-26 18:27:13 +01:00
nicolargo f72b3e226e Merge branch 'issue3387' into develop 2025-12-26 18:22:31 +01:00
nicolargo b9a89006a2 Sort by time do not work anymore #3387 2025-12-26 18:22:20 +01:00
nicolargo 1353b22445 Revert "Switch Docker Alpine based images to hardened"
This reverts commit f3b3b42e29.
2025-12-23 14:33:55 +01:00
nicolargo f058360b52 Merge branch 'issue3280' into develop 2025-12-23 14:15:16 +01:00
nicolargo f3b3b42e29 Switch Docker Alpine based images to hardened 2025-12-23 14:14:58 +01:00
nicolargo be199ef044 Merge branch 'issue3359_Improve_DockerFile' into develop 2025-12-22 10:58:30 +01:00
nicolargo 15d252a40b Some imporovement regarding Dockerfile - #3359 2025-12-22 10:58:09 +01:00
Drakarah 0b141ff92d update doc 2025-12-22 09:42:32 +00:00
Drakarah 60f304c313 auto unit on curses output 2025-12-22 09:38:14 +00:00
Drakarah 29d7a15dab Add a hide_attributes to well hide attributes 2025-12-22 09:17:20 +00:00
Drakarah f837614a69 Use proper labels instead of attribute keys (if possible) 2025-12-22 07:43:52 +00:00
Drakarah 3247b0dc33 Change proposed by @webdjoe (https://github.com/nicolargo/glances/pull/3355?notification_referrer_id=NT_kwDOAFGpVLMyMDY1Mjk5NjMyMTo1MzUxNzY0#issuecomment-3679451101) 2025-12-22 07:30:12 +00:00
Drakarah 507079491a Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2025-12-22 07:27:41 +00:00
nicolargo d5ce8a7461 Lint code for Python 3.10 2025-12-21 14:40:39 +01:00
nicolargo f587b281c0 Catch error on ADM GPU plugin and Python 3.9 2025-12-20 15:33:17 +01:00
nicolargo e74dcc0060 Add comment for Git action tests 2025-12-20 15:19:58 +01:00
nicolargo 59d54b8e2b Correct issue with test on Python 3.9 2025-12-20 10:36:00 +01:00
nicolargo 184e490660 Bump to Python 3.10 as minimal version 2025-12-20 10:22:03 +01:00
nicolargo cd1f9348c2 Change load method name 2025-12-20 10:08:26 +01:00
nicolargo 68b5215e94 Lint quicklook 2025-12-20 10:01:01 +01:00
nicolargo 928e577d8c Update webUI 2025-12-20 09:53:29 +01:00
nicolargo 1b6d63fd2f Update deps 2025-12-20 09:44:49 +01:00
nicolargo fafdef615d Lint the code and correct issue with List (replaced by list) 2025-12-20 09:40:09 +01:00
nicolargo 8ab188bc04 Lint code 2025-12-20 09:33:01 +01:00
Nicolas Hennion cd9360f637
Merge pull request #3379 from okulev/cpu_freq_nomax
Fix quicklook in case psutil.cpu_freq().max=0.0
2025-12-20 09:22:22 +01:00
Nicolas Hennion be5a92c7e6
Merge pull request #3381 from ruben-arts/patch-1
Update license specification to SPDX format
2025-12-20 09:20:22 +01:00
Nicolas Hennion 9907e7242f
Merge pull request #3383 from kelvinvelasquez-SDE/fix/security-bandit
fix(security): resolve B701 (Jinja2) and B113 (timeout) vulnerabilities
2025-12-20 09:19:09 +01:00
Kelvin Velasquez 9b5cc01b06 fix(security): resolve B701 and B113 bandit issues (#3353)
Detailed changes:
- Enable autoescape=True for Jinja2 environment to prevent XSS (B701).
- Add timeout=15s to requests.get in nginx amp (B113).
- Add timeout=15s to post in restful export (B113).
2025-12-19 13:23:51 -06:00
Ruben Arts 89753198b3
Remove LGPL-3.0 license from pyproject.toml
License classifiers have been superseded by license expressions (see https://peps.python.org/pep-0639/).
2025-12-19 10:17:28 +01:00
Ruben Arts 8408a35100
Update license specification to SPDX format
Using the format specified in: https://spdx.org/licenses/
2025-12-19 10:04:07 +01:00
Ognyan Kulev bd246fe966 Fix quicklook in case psutil.cpu_freq().max=0.0 2025-12-16 20:57:46 +02:00
Nicolas Hennion 7b22761c75
Merge pull request #3377 from okulev/amdgpu_gtt
Include GTT to mem% for integrated AMD GPUs
2025-12-15 09:05:57 +01:00
Drakarah 9d4bc76304 Don't crash if any attribute fails to serialize 2025-12-15 08:03:08 +00:00
Drakarah 74771d0949 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2025-12-15 07:57:47 +00:00
Ognyan Kulev 2a508d7641 Use glob.glob also for device list 2025-12-14 23:57:41 +02:00
Ognyan Kulev 41db9c86f9 Include GTT to mem% for integrated AMD GPUs 2025-12-14 22:39:02 +02:00
nicolargo eb21408b72 Lint the code 2025-12-14 17:27:53 +01:00
Nicolas Hennion 4f48d33709
Merge pull request #3376 from okulev/amdgpu_ids
Get amdgpu name from `amdgpu.ids`
2025-12-14 17:24:33 +01:00
Ognyan Kulev 2800e81cb0 Add pci id files to tests-data 2025-12-14 14:19:18 +02:00
Ognyan Kulev bc629d12b2 Remove 'AMD' prefix and 'Graphics' suffix. 2025-12-14 12:44:30 +02:00
Ognyan Kulev ec11dff2cd Get amdgpu name from amdgpu.ids 2025-12-13 21:33:22 +02:00
nicolargo 71b0d4b606 Dependencies update 2025-12-06 17:55:24 +01:00
Drakarah d009335ba0 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2025-12-02 07:51:49 +00:00
nicolargo f84baaa8df Update requirements 2025-11-29 09:50:26 +01:00
Drakarah bbb733d6cb Fix output for curses 2025-11-23 10:47:10 +00:00
Drakarah 73f45dd9a8 remove old comment 2025-11-23 10:17:53 +00:00
Drakarah 394f94fb27 use pySMART instead of the old outdated pySMART.smartx 2025-11-23 10:15:53 +00:00
Drakarah 2146673841 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2025-11-23 10:09:11 +00:00
Drakarah fcc5061d8c smart nvme support 2025-11-23 10:05:55 +00:00
nicolargo f2641c80e2 Glances won't start when using snmp discovery with parameter -c #3354 2025-11-23 10:06:08 +01:00
nicolargo b9c451ce7a Merge branch 'issue3342-precommit_hooks' into develop 2025-11-22 19:08:00 +01:00
nicolargo ca2d729211 Add bandit in Makefile 2025-11-22 19:07:45 +01:00
nicolargo 50818213b1 What a sexy pre-commit config file ! 2025-11-22 18:48:13 +01:00
nicolargo 868aa0f4b1 Merge branch 'issue3352-fetch_client_server' into develop 2025-11-22 16:38:21 +01:00
nicolargo f7ab7efdd4 Fetch option is not compliant with client/server mode #3352 2025-11-22 16:37:03 +01:00
nicolargo 9797fc795e Correct lint issue 2025-11-21 18:36:50 +01:00
nicolargo fc2e2c71af Merge branch 'issue3350-jupiter-notebook' into develop 2025-11-21 18:32:36 +01:00
nicolargo 45bdcc92c7 Add a first and simple Jupyter notebook 2025-11-21 18:32:23 +01:00
nicolargo 1cf7683c1d Update Glances API documentation 2025-11-21 18:03:36 +01:00
nicolargo 1b3ee3e035 Update zero 2025-11-21 17:57:05 +01:00
nicolargo 3de1a25305 Revert some change on hide zero feature (need additional tests 2025-11-16 11:32:21 +01:00
nicolargo 1567c2db49 Update docs for PR #3346 2025-11-16 10:54:39 +01:00
nicolargo 1171d0b4d3 Merge branch 'ciherrera20-issue3345' into develop 2025-11-16 10:52:11 +01:00
nicolargo df684c64c2 Remove unuse parameter in split_esc 2025-11-16 10:51:49 +01:00
Chris Herrera c70321c3fb Formatting changes from running make format 2025-11-16 10:43:46 +01:00
Chris Herrera 93120b9779 Use split_esc in read_alias
Allows for ':' to be used in sensor names or alias names
2025-11-16 10:43:46 +01:00
Chris Herrera 89c8fc125c Add unit test for split_esc 2025-11-16 10:43:46 +01:00
Chris Herrera 11aac6ca4d Add split_esc function globals
Extends the functionality of str.split by adding an escape character. This allows ignoring separators preceded by the escape character.
2025-11-16 10:43:46 +01:00
nicolargo e7bd8d4768 Correct issue with hide on diskio 2025-11-16 10:41:35 +01:00
nicolargo e660520eb2 Correct typo in Makefile 2025-11-16 10:03:19 +01:00
nicolargo 0ae24bade0 Correct an issue with Wifi Alert following implementation of action for all plugins 2025-11-16 10:01:48 +01:00
nicolargo 728b36a8c9 Correct an issue with FS Alert following implementation of action for all plugins 2025-11-16 09:55:32 +01:00
nicolargo e2a1606479 Remove test from config file 2025-11-16 09:41:54 +01:00
Nicolas Hennion 8c9822ed26
Integrate ruff pre-commit hooks
Added ruff pre-commit hooks for linting and formatting.
2025-11-13 14:20:57 +01:00
Nicolas Hennion c4f6c04eb4
Refactor export options in README
Consolidate export options into categories for clarity.
2025-11-12 15:14:30 +01:00
nicolargo 7c13d53cb8 Make WebUI and Restful API SSL compliant #3340 2025-11-11 18:35:15 +01:00
nicolargo ccb00ec252 Make WebUI and Restful API SSL compliant #3340 2025-11-11 18:34:51 +01:00
nicolargo ab3b386e10 Improve Docker build pipeline#3336 2025-11-11 17:45:31 +01:00
nicolargo 5cbd9e030a Improve Docker build pipeline #3336 2025-11-11 17:45:16 +01:00
nicolargo c89effd602 Add a "focus" option for the processlist plugin #3293 2025-11-11 10:40:23 +01:00
nicolargo ab68fcbe28 Add a focus option for the processlist plugin #3293 2025-11-11 10:40:06 +01:00
nicolargo df4b312bec Update requirements files 2025-11-10 11:58:41 +01:00
nicolargo 25da171479 Add some fetch templates as an example 2025-11-10 11:45:33 +01:00
nicolargo 34c3c11725 Make unit test with Python 3.13 on Windows 2025-11-10 11:16:07 +01:00
nicolargo de0b1ef2da Make unit test with Python 3.14 on Windows and MacOS 2025-11-10 11:08:37 +01:00
nicolargo c0dad78189 Unittest now take into account the default glances.conf file 2025-11-10 10:53:52 +01:00
nicolargo d9abfca7fb Remove test because it breaks the CI test 2025-11-10 10:27:13 +01:00
nicolargo cb377055f2 Remove test because it breaks the CI test 2025-11-10 10:26:22 +01:00
nicolargo b2e3ea283d Remove test because it breaks the CI test 2025-11-10 07:48:03 +01:00
nicolargo a74b1867d7 Merge branch 'issue3324-log_and_alert_for_all' into develop 2025-11-09 17:28:42 +01:00
nicolargo afff3e2ba6 Add a simple unit test for get_alert 2025-11-09 17:27:00 +01:00
nicolargo fb17066692 Update docs 2025-11-09 13:05:07 +01:00
nicolargo e5e476d255 Ok for containers and folders 2025-11-09 13:02:59 +01:00
nicolargo ea10748e07 Fs is OK 2025-11-09 12:58:12 +01:00
nicolargo 7c19d01c21 DiskIO is OK 2025-11-09 12:54:29 +01:00
nicolargo 8bb2a8a91b Network IO is OK 2025-11-09 12:49:44 +01:00
nicolargo b75d1f24c3 Correct an issue with events type name (unattended _ in the name) 2025-11-08 19:34:31 +01:00
nicolargo 5efa3a01a3 Update docs 2025-11-08 19:22:49 +01:00
nicolargo e11cb80492 First issue corrected. It is now possible to generate alarm for plugins returning a list (tested only with sensors). To be done for all plugins (add header adn actions_keys) 2025-11-08 18:40:20 +01:00
nicolargo e2d37ee482 Change the way uv is installed #3338 2025-11-08 16:18:22 +01:00
nicolargo 930745b5f3 Package generation issue on Pypi because of README.rst #3337 2025-11-08 09:38:01 +01:00
nicolargo ba1b898a3e Add info in F.A.Q about free memory 2025-11-08 09:25:26 +01:00
nicolargo 9de127cce9 Update documentation for API 2025-11-08 09:16:16 +01:00
nicolargo 55ff04437f Update documentation for API 2025-11-08 08:58:19 +01:00
nicolargo ba6be768d0 Update documentation 2025-11-08 08:56:43 +01:00
nicolargo 4e669d0bc7 Merge branch 'develop' of github.com:nicolargo/glances into develop 2025-11-08 08:31:40 +01:00
Nicolas Hennion 3e7a49eb3b
Fix badge formatting in README.rst 2025-11-05 10:05:47 +01:00
nicolargo f1bd18a3a5 Update requirements file and add some tests 2025-11-04 21:41:15 +01:00
Nicolas Hennion ef5ef9eb8a
Replace logo and update README formatting
Updated logo image and modified title formatting.
2025-11-04 12:45:50 +01:00
Nicolas Hennion 89a10d9633
Enhance README with HTML and logo alignment
Added HTML formatting for logo and summary section.
2025-11-04 12:43:23 +01:00
Nicolas Hennion 6692e00a0e
Update README to include sponsors badge 2025-11-04 10:49:55 +01:00
Nicolas Hennion a1edfc735a
Fix twitter badge syntax in README.rst 2025-11-04 10:49:12 +01:00
Nicolas Hennion 5101512320
Update Twitter badge in README 2025-11-04 10:46:59 +01:00
Nicolas Hennion 244f13634f
Fix Reddit badge formatting in README
Updated badge formatting for Reddit in README.
2025-11-04 10:45:49 +01:00
Nicolas Hennion 7e3116a4e1
Update README with new social media badges
Added Reddit badge to README and updated Twitter badge.
2025-11-04 10:41:46 +01:00
nicolargo 579049cec5 Generate Snap for Glances 4.4.2_dev1 2025-11-03 15:32:11 +01:00
nicolargo 3646e011cf Generate Snap for Glances 4.4.1 2025-11-03 15:02:24 +01:00
nicolargo ff5e33d856 version 4.4.1 2025-11-03 14:47:16 +01:00
nicolargo de6fae584e Merge branch 'support/v4.4.x' 2025-11-03 14:44:57 +01:00
nicolargo 1c6a9e1412 Restful API issue after a while (stats are no more updated) #3333 2025-11-03 14:44:11 +01:00
nicolargo a7ba827cc5 On the road of Glances 4.4.1 2025-11-02 17:22:06 +01:00
nicolargo c523d20648 Merge branch 'master' into develop 2025-11-02 17:19:04 +01:00
nicolargo ef36eb9ab6 version 4.4.0 2025-11-02 17:07:24 +01:00
nicolargo f38ff27faa Merge branch 'develop' 2025-11-02 17:02:14 +01:00
nicolargo f87783689b Docs and requirements for Glances 4.4.0 2025-11-02 17:01:32 +01:00
nicolargo 28098f1555 Snap rplace architectures per platforms 2025-11-01 17:04:00 +01:00
nicolargo 0cec111764 Snap rplace architectures per platforms 2025-11-01 16:56:23 +01:00
nicolargo 54068209b3 Add limitation to TimescaleDB export for diskio, not working for the moment 2025-11-01 16:43:56 +01:00
nicolargo bdd66c56d3 Correct an issue when containers ports as no destination 2025-11-01 15:54:30 +01:00
nicolargo 10111cc7f6 Add check in pre-commit 2025-11-01 15:32:54 +01:00
nicolargo 02752f90ea Remove duplicate line at the end of file and update doc for Glances 4.4.0RC1 2025-11-01 15:29:34 +01:00
nicolargo d9d4507bd4 Merge branch 'issue2054' into develop 2025-11-01 10:27:50 +01:00
nicolargo 133f97efd8 Show used port in container section #2054 2025-11-01 10:27:34 +01:00
nicolargo c9fc7d4bb4 Resolve conflict 2025-11-01 09:50:47 +01:00
nicolargo 7f34578cea Show used port in container section - First try, ok for one port... #2054 2025-11-01 09:49:49 +01:00
nicolargo 7b827954e0 Update dep 2025-11-01 09:31:52 +01:00
nicolargo 3a3ae4eddb Solve issue with multiprocessing exception with Snap package 2025-10-31 19:15:06 +01:00
nicolargo aef78c3a10 Use develop branch for snap 2025-10-31 17:58:45 +01:00
nicolargo db13c8380b Update docs and add some system test for CPU consumption 2025-10-31 17:43:44 +01:00
nicolargo 7f2f69985c Update .gitignore 2025-10-24 19:24:03 +02:00
nicolargo 6361217258 Correct issue with 2 digit instead of one in Glances UI MEM 2025-10-24 19:22:57 +02:00
nicolargo 7edbab35d8 Highlight zero for proces CPU and RAM 2025-10-24 18:54:24 +02:00
nicolargo 067eb918ad Sensors plugin refresh by default every 10 seconds 2025-10-24 18:35:30 +02:00
nicolargo c8ed977c9d Add a test script for identify CPU consumption of sensor plugin 2025-10-23 11:47:54 +02:00
nicolargo 1ac760c55b Refactor port to take into account netifaces2 2025-10-23 11:43:22 +02:00
nicolargo c2e038d244 Optimize LRU caching for API requests with plugins list (ex: Homepage plugin) 2025-10-23 11:30:03 +02:00
nicolargo 02fe3aa12e Merge branch 'issue1553' into develop 2025-10-23 10:33:12 +02:00
nicolargo f3a76caa64 Show long command line with arrow key #1553 2025-10-23 10:33:01 +02:00
Nicolas Hennion 729532713f Quick and dirty patch for discussion - Last dev build broke Homepage API calls ? only 1 widget still working #3322 2025-10-20 13:21:18 +00:00
nicolargo 2b1d6f4309 Update memory profiling file 2025-10-19 17:47:16 +02:00
nicolargo 6dd33e3317 Correct issue with Chrome driver in WebUI unit test 2025-10-19 17:28:00 +02:00
nicolargo 1114a9ab87 Merge branch 'issue3033' into develop 2025-10-19 17:19:53 +02:00
nicolargo 4361df8f84 Do not call update if a call is done to a specific plugin through the API #3033 2025-10-19 17:19:34 +02:00
nicolargo 1bc8df0a13 Patch api to make fetch compliant with Windows 2025-10-18 16:12:02 +02:00
nicolargo 1b93758b65 [UI] Process virtual memory display can be disable by configuration #3299 2025-10-18 16:03:23 +02:00
nicolargo 8fa0677538 Update .pre-commit-config.yaml file #3300 2025-10-18 14:25:33 +02:00
nicolargo 074a01efc2 Update .pre-commit-config.yaml file #3300 2025-10-18 14:17:37 +02:00
nicolargo 227dedb41b Try to use Python 3.14 in the CI 2025-10-18 14:00:18 +02:00
nicolargo bcd48844b5 Support for Python 14 #3319 2025-10-18 13:51:15 +02:00
nicolargo f01008f430 Support for Python 14 #3319 2025-10-18 12:03:18 +02:00
nicolargo a41a67edf7 Cloud plugin always generate communication with 169.254.169.254, even if the plugin is disabled #3316 2025-10-18 10:52:18 +02:00
nicolargo 6fc887839e Cloud plugin always generate communication with 169.254.169.254, even if the plugin is disabled #3316 2025-10-18 09:38:17 +02:00
nicolargo 8c70a55488 API response delay (3+ minutes) when VMs are running due to 'virsh domstats' – Suggest adding '--nowait' option #3317 2025-10-18 09:30:55 +02:00
nicolargo 8a748d15e3 Upgrade export test with InfluxDB 1.12 2025-10-18 09:25:39 +02:00
nicolargo bcfb3675a6 Update dep 2025-10-18 09:06:24 +02:00
nicolargo e3b016e6f3 Update dep and change Fetch screenshot for documentation 2025-10-18 08:59:21 +02:00
Nicolas Hennion a64474f43f
Merge pull request #3314 from syohex/typo-option-document
Fix typo of --export-process-filter help message
2025-10-14 07:48:07 +02:00
Shohei YOSHIDA c2b59d0a74
Fix typo of --export-process-filter help message 2025-10-14 12:08:21 +09:00
Nicolas Hennion d6a820d2bb Remove unused lib 2025-10-13 11:54:33 +00:00
Nicolas Hennion ee50f4e8e2 In the outdated feature, catch error message is Pypi server not reachable 2025-10-13 11:49:19 +00:00
Nicolas Hennion eead34b0d0 Glances do not display CPU stat correctly #3155 2025-10-13 11:43:32 +00:00
Nicolas Hennion 29e3947577 Revert "[WINDOWS] Glances do not display CPU stat correctly #3155"
This reverts commit bb0116a198.
2025-10-13 11:38:17 +00:00
Nicolas Hennion bb0116a198 [WINDOWS] Glances do not display CPU stat correctly #3155 2025-10-13 11:11:53 +00:00
Nicolas Hennion 349c33fd27 Refactor Fetch template 2025-10-13 09:28:21 +00:00
Nicolas Hennion 52c5042e37 Add --no-emit-workspace in the Makefile 2025-10-13 09:25:31 +00:00
Nicolas Hennion 853b71998c Add --no-emit-workspace to the requirements exports tasks 2025-10-13 09:22:32 +00:00
nicolargo 03d4d6cf65 Add TOML conf file to Docker in order to build 2025-10-12 18:33:24 +02:00
nicolargo d02aed76a6 Remove hashes from requirements file because it causes some issue in Gitlab pipeline (with pip) 2025-10-12 17:24:04 +02:00
nicolargo 97ec09dfc3 Correct an issue when Netifaces is not installed on the system 2025-10-12 17:05:19 +02:00
nicolargo 0c2b9e5e8e Requirements files are now generated dynamically with the make requirements or requirements-upgrade target 2025-10-12 17:00:46 +02:00
nicolargo 0134487f5e Merge branch 'issue3025-uv' into develop 2025-10-12 15:20:34 +02:00
nicolargo f1328a84e9 Use uv instead of venv in Makefile #3304 2025-10-12 15:19:32 +02:00
Nicolas Hennion 547d98599a
Update README.rst 2025-10-10 11:59:59 +02:00
Nicolas Hennion 031d5d6485
Update README.rst 2025-10-08 18:09:40 +02:00
Nicolas Hennion 62c6c9df4e
Update README.rst
Add Brew as a standard installation method.
2025-10-07 09:47:39 +02:00
Nicolas Hennion 6302389073
Update find-duplicate-lines.sh
Make the code return an error code if a file ended with a duplicated line is founded.
2025-10-06 14:14:35 +02:00
Nicolas Hennion 83d5886a35
Update __init__.py
Remove dupliate line
2025-10-06 14:06:19 +02:00
nicolargo 350ed125d3 Store nothing is history is not enable. 2025-10-05 17:08:27 +02:00
nicolargo 7382089129 Disable history when history size is set to 0 by configuration. 2025-10-05 17:04:27 +02:00
nicolargo 2254f899b6 Add unit test for Prometheus exporter aand refactor the code to not use the API (not useful in this case because stats instance already exist) 2025-10-04 09:42:00 +02:00
nicolargo d03295a977 Merge branch 'develop' of github.com:nicolargo/glances into develop 2025-09-28 17:03:55 +02:00
nicolargo 9f1eb9496a Add unit test for auto_unit 2025-09-28 17:03:44 +02:00
Nicolas Hennion d28f3056a7
Merge pull request #3287 from nicolargo/renovate/macos-15.x
chore(deps): update dependency macos to v15
2025-09-28 16:40:10 +02:00
Nicolas Hennion e2c65c6687
Merge pull request #3278 from nicolargo/renovate/actions-stale-10.x
chore(deps): update actions/stale action to v10
2025-09-28 16:39:30 +02:00
Nicolas Hennion e721b66488
Merge pull request #3277 from nicolargo/renovate/actions-setup-python-6.x
chore(deps): update actions/setup-python action to v6
2025-09-28 16:39:25 +02:00
Nicolas Hennion 26a0c3ef87
Merge pull request #3276 from nicolargo/renovate/actions-setup-node-5.x
chore(deps): update actions/setup-node action to v5
2025-09-28 16:39:19 +02:00
nicolargo 0bf79775b6 Remove duplicate line at the end of files 2025-09-28 16:28:05 +02:00
nicolargo c970932e96 Set default timeout to 2 second 2025-09-28 16:10:07 +02:00
nicolargo 38c7bfccba Make the issue3290 compliant with non Linux OS 2025-09-28 15:09:19 +02:00
nicolargo 48674ee71f Clean unused decorator 2025-09-28 15:00:37 +02:00
Nicolas Hennion 6539979498
Merge pull request #3291 from nicolargo/issue3290-cleanup
Fix: Glances stalling on broken NFS connections
2025-09-28 14:17:24 +02:00
Nicolas Hennion 3652dc339f chg: plugin(fs) - use timeout wrappers for psutil calls
Why? Broken NFS connections can stall psutil calls indefinitely

Co-authored-by: Raz Crimson <52282402+razcrimson@users.noreply.github.com>
2025-09-28 05:55:56 +05:30
Nicolas Hennion da700c8cfc add: generic timeout wrappers
For use with blocking functions and utilities

Co-authored-by: Raz Crimson <52282402+razcrimson@users.noreply.github.com>
2025-09-28 05:55:34 +05:30
nicolargo 420cf2bdde Lint code 2025-09-27 16:02:48 +02:00
Nicolas Hennion ce27d795db
Merge pull request #3283 from DeepSpace2/fix-prometheus-export-format
Fix prometheus export format
2025-09-27 15:58:41 +02:00
Adi f53dbe748e getting object key dynamically instead of maintaining an hardcoded mapping 2025-09-27 12:34:40 +03:00
nicolargo 3931457495 Merge branch 'issue3288-mem-available' into develop 2025-09-25 22:20:38 +02:00
nicolargo d0137830c2 Choose between used or available in the mem plugin #3288 2025-09-25 22:20:23 +02:00
Nicolas Hennion 48296a5de9
Merge pull request #3289 from bkanuka/issue3979-zfs-cache
Issue #3279 zfs cache and memory math issues
2025-09-25 20:48:49 +02:00
Bennett Kanuka 6339393271 ruff format 2025-09-25 14:03:27 -04:00
Bennett Kanuka 2b59ad71fe fix zfs cache math 2025-09-25 13:49:08 -04:00
nicolargo ff6dcd5cb0 Update documentation 2025-09-25 13:49:06 -04:00
nicolargo b26dac4dd5 ZFS ARC/cache not reported as cache memory usage #3279 2025-09-25 13:48:43 -04:00
renovate[bot] b6db99cbb8
Update dependency macos to v15 2025-09-25 16:35:06 +00:00
renovate[bot] 86e198310d
Update actions/stale action to v10 2025-09-25 16:35:04 +00:00
renovate[bot] 55c3b9c0ab
Update actions/setup-python action to v6 2025-09-25 16:35:01 +00:00
renovate[bot] 9eaef1da36
Update actions/setup-node action to v5 2025-09-25 16:34:58 +00:00
Nicolas Hennion de9d46297c Merge pull request #3286 from jmwallach/patch-1
Label error in docs
2025-09-25 13:59:02 +02:00
jmwallach 36c9658912
Update network.rst
Fix labeling error
2025-09-24 16:40:09 -07:00
Adi afdd09d648 fix bug in construction of metric name 2025-09-23 22:27:33 +03:00
Adi c8e67d07c1 add missing metrics to labels mappings 2025-09-23 18:00:29 +03:00
Adi 63f0aacb7c add missing metrics to labels mappings 2025-09-23 13:19:11 +03:00
Adi 2c1abd666e spliting labels on the first ':' only as a label value might contain ':' 2025-09-23 12:51:54 +03:00
Adi 9834e204c4 fix nonetype is not iterable error 2025-09-23 12:50:37 +03:00
Adi 39c1b9e13c using object as label 2025-09-23 12:47:01 +03:00
nicolargo 6631b37d67 Revert "First version done. Need to be tested and documented."
This reverts commit 17eca1f6e6.
2025-09-21 16:44:28 +02:00
nicolargo 95620bf584 Merge branch 'issue3205-duckdb' into develop 2025-09-21 15:13:03 +02:00
nicolargo fcdd792722 Update docs for DuckDB export 2025-09-21 15:09:28 +02:00
nicolargo 3de48a4f56 First version done. Need to be tested and documented. 2025-09-21 15:08:25 +02:00
nicolargo 17eca1f6e6 First version done. Need to be tested and documented. 2025-09-21 15:08:25 +02:00
nicolargo 3db5f13d8c Correct duplicate line in plugin model 2025-09-21 15:00:59 +02:00
nicolargo 11bab0fb5e Udate readme file 2025-09-21 14:41:34 +02:00
nicolargo ef45c6def2 Merge branch 'issue3281-fetch' into develop 2025-09-21 14:37:35 +02:00
nicolargo 32e17004b6 Update readme file 2025-09-21 14:33:00 +02:00
nicolargo be29f069d6 First release ok, need to add some tests 2025-09-21 10:03:33 +02:00
nicolargo d5d38af356 First version of the (neo)fetch feature for OS 2025-09-20 19:38:33 +02:00
nicolargo 0abc39f7df First rush to make the top menu configurable 2025-09-16 19:05:38 +02:00
nicolargo 8f240afec1 Put WebUI conf generator in a dedicated script 2025-09-14 15:30:55 +02:00
nicolargo 8c8120fb90 Put WebUI conf generator in a dedicated script 2025-09-14 15:30:45 +02:00
nicolargo 54216c6580 Rafactor the Makefile to generate WebUI config file for all webui targets 2025-09-14 14:59:51 +02:00
nicolargo 605f3a9da3 Correct typo in comment 2025-09-14 14:55:49 +02:00
nicolargo 3ad154b4f8 Merge branch 'issue3100' into develop 2025-09-14 14:44:03 +02:00
nicolargo af082ee2e0 Glances not showing Processes on MacOS #3100 2025-09-14 14:43:42 +02:00
Nicolas Hennion ba68e3d8f4
Merge pull request #3275 from timrettop/sensors-docs-alias
Update sensors.rst
2025-08-30 08:49:12 +02:00
Nicolas Hennion 48641b5d1a
Merge pull request #3273 from lawrence-c/patch-1
Update docker compose env quote
2025-08-30 08:48:02 +02:00
Tim Potter fa82d8ed1c
Merge branch 'nicolargo:develop' into sensors-docs-alias 2025-08-28 13:46:57 -05:00
Tim Potter 81a16075bd
Update sensors.rst
Add alias example
2025-08-28 13:43:11 -05:00
Lawrence 05080765cc
Update docker env quote 2025-08-27 21:06:10 +01:00
nicolargo 580af978f4 [MACOS] Glances crashes when I try to filter #3266 2025-08-24 11:40:05 +02:00
nicolargo d99d3684c4 [MACOS] Glances crashes when I try to filter #3266 2025-08-23 18:24:33 +02:00
nicolargo 26a41d0c21 Display hash for Pypi release 2025-08-23 14:55:54 +02:00
nicolargo 435b250a84 Glances 4.4.0-dev2 2025-08-23 14:34:22 +02:00
nicolargo a31b60b1ab Glances crashes when I try to filter #3266 2025-08-23 10:06:23 +02:00
nicolargo cb8003c1df Update API doc generation 2025-08-23 09:52:02 +02:00
nicolargo 973dd8978e Update API docs 2025-08-17 18:34:31 +02:00
nicolargo 06c6f8408e Update README with nice icons #3236 2025-08-17 17:04:13 +02:00
nicolargo 948bc90b58 Merge branch 'develop' of github.com:nicolargo/glances into develop 2025-08-17 16:55:30 +02:00
nicolargo a7683caa71 Update README with nice icons #3236 2025-08-17 16:55:19 +02:00
Nicolas Hennion 3f5c1f478a
Merge pull request #3261 from nicolargo/renovate/major-github-artifact-actions
Update actions/download-artifact action to v5
2025-08-17 16:43:52 +02:00
Nicolas Hennion f65ae16ea2
Merge pull request #3263 from nicolargo/renovate/actions-checkout-5.x
Update actions/checkout action to v5
2025-08-17 16:43:27 +02:00
nicolargo e88f33ca05 Clear-text logging of sensitive information 2025-08-16 10:20:59 +02:00
nicolargo 2a3046796b Glances hang when killing process with muliple CTRL-C #3264 2025-08-15 18:53:03 +02:00
nicolargo 89e9ad1284 Merge branch 'issue1070' into develop 2025-08-13 21:36:09 +02:00
renovate[bot] dbba6e0673
Update actions/checkout action to v5 2025-08-11 18:55:38 +00:00
nicolargo 1daac0e6d0 Add Disk I/O Latency stats #1070 2025-08-10 19:08:02 +02:00
renovate[bot] f173c8d6b4
Update actions/download-artifact action to v5 2025-08-10 13:45:47 +00:00
nicolargo 5f3e1de01e Merge branch 'issue3248' into develop 2025-08-10 15:37:58 +02:00
nicolargo 9a58715a2f Issues after disabling system and processcount plugins #3248 2025-08-10 15:37:46 +02:00
nicolargo afaab7190b Merge branch 'issue3250' into develop 2025-08-10 15:00:42 +02:00
nicolargo c63f2404aa Headers missing from predefined fields in TUI browser machine list - Part 1 #3250 2025-08-03 16:53:51 +02:00
nicolargo ae31d29c75 Remove test in glances.conf 2025-08-01 17:54:51 +02:00
nicolargo 04fee963cc Merge branch 'issue3528' into develop 2025-08-01 17:20:08 +02:00
nicolargo f1ae3bb535 Filter fields to export #3258 2025-08-01 17:19:43 +02:00
nicolargo f5ec34cdf9 Add docuùentation for WebUI test 2025-07-28 17:52:26 +02:00
nicolargo 11890f31b1 Update docs 2025-07-27 16:18:30 +02:00
nicolargo c1c0d4038f Add another check for the famous Netifaces issue - Related to #3219 2025-07-27 15:57:05 +02:00
nicolargo 2cf92f93a9 Add another check for the famous Netifaces issue - Related to #3219 2025-07-27 15:41:15 +02:00
nicolargo 89118e53de Key error 'type' in server_list_static.py (load_server_list) #3247 2025-07-26 17:08:03 +02:00
Nicolas Hennion 1e8ea943ba
Merge pull request #3249 from korn3r/patch-1
Update docker-compose.yml
2025-07-26 16:41:24 +02:00
Nicolas Hennion 6ffcaf4a94
Merge pull request #3253 from Boris-Okassa/Dictkeys
remove `.keys()` from loops over dicts
2025-07-26 16:40:41 +02:00
Nicolas Hennion cba28407cb
Merge pull request #3252 from ariel-anieli/fix-python2-iterators
Remove iterator helpers
2025-07-26 16:39:08 +02:00
Boris Okassa 463d0af666 remove .keys() from loops over dicts
By default dict loops use keys.

Signed-off-by: Boris Okassa <borisokassa@yahoo.fr>
2025-07-23 23:16:20 +02:00
Ariel Otilibili 3eb09d7fc5
Remove iterator helpers
Related to #3181.

Co-authored-by: Jatin Singh <fithacker97@gmail.com>
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-22 23:46:39 +02:00
korn3r 202289599d
Update docker-compose.yml
added commented out by default mount point for /etc/os-release. without it Glances container shows distibution information from container itself and not host system.
2025-07-21 02:05:09 +03:00
nicolargo 3a1e188d58 Merge branch 'issue3237_GlancesAPI' into develop 2025-07-12 18:17:21 +02:00
nicolargo 3d263bc7d4 Create a Glances API in order to use Glances as a Python lib #3237 2025-07-12 18:16:43 +02:00
nicolargo 365a670c12 Processlist ok 2025-07-09 17:40:08 +02:00
nicolargo 660b94e99d First version of the API 2025-07-09 17:40:08 +02:00
nicolargo 65393b0771 First version of the API 2025-07-09 17:40:08 +02:00
nicolargo 45c3c489a0 On the road of Glances 4.4.0 (after 4.3.3) 2025-07-09 17:37:24 +02:00
nicolargo 73a01d4c52 version 4.3.3 2025-07-09 17:35:33 +02:00
nicolargo 218831ecb9 Align glances.conf file 2025-07-09 17:28:19 +02:00
nicolargo e3bbd0dc2a Something in 4.3.2 broke the home assistant add-on for Glances #3238 2025-07-09 17:26:54 +02:00
nicolargo b340b5fc30 Something in 4.3.2 broke the home assistant add-on for Glances #3238 2025-07-07 07:41:25 +02:00
nicolargo fca11995cb Revert "Something in 4.3.2 broke the home assistant add-on for Glances - Try 1 #3238"
This reverts commit 76b070f3de.
2025-07-06 22:47:52 +02:00
nicolargo 76b070f3de Something in 4.3.2 broke the home assistant add-on for Glances - Try 1 #3238 2025-07-06 22:06:56 +02:00
nicolargo 5b2b7325fc Update README 2025-07-05 18:17:18 +02:00
nicolargo 94ae566eb7 On the orad of Glances 4.4.0 2025-07-05 17:58:24 +02:00
nicolargo a9c3770851 On the orad of Glances 4.4.0 2025-07-05 17:57:05 +02:00
nicolargo 4c31611f2f version 4.3.2 - Update Snap 2025-07-05 10:44:29 +02:00
nicolargo e46a38f141 version 4.3.2 2025-07-05 10:43:46 +02:00
nicolargo c6a48bf424 Update docs and correct an issue with UTC import 2025-07-05 10:32:11 +02:00
nicolargo bf2c6d1bda Add unit test for time zone in history 2025-07-05 10:32:11 +02:00
nicolargo 455888e0fa API history endpoints shows times without timezone #3218 2025-07-05 10:32:11 +02:00
nicolargo 0db81b71c6 Correct a crash in client/server mode 2025-07-05 10:32:11 +02:00
nicolargo c1d67556c7 Make --stdout (csv and json) compliant with client/server mode #3235 2025-07-05 10:32:11 +02:00
nicolargo e46eb765ff Update documentation lint 2025-07-05 10:32:11 +02:00
nicolargo 82a829d0c4 Update documentation 2025-07-05 10:32:11 +02:00
nicolargo 155452e223 Glances 4.3.2_rc01 2025-07-05 10:32:11 +02:00
nicolargo 15a94f04da Improve Restful API documentation embeded in FastAPI #2632 2025-07-05 10:32:11 +02:00
nicolargo 813785ff82 Change the way Docker start Glances 2025-07-05 10:32:11 +02:00
nicolargo 28e82eb237 Lint Dockerfile 2025-07-05 10:32:11 +02:00
nicolargo 1268b58bbc Glances breaks if Podman container is started while it is running #3199 2025-07-05 10:32:11 +02:00
nicolargo 1434d3ad5c Avoid none in rate computation 2025-07-05 10:32:11 +02:00
nicolargo 28ae053e4b Glances Central Browser should use name instead of IP adress for redirection #3103 2025-07-05 10:32:11 +02:00
nicolargo cd71b45089 Add container inactive_file & limit to InfluxDB2 export #3206 2025-07-05 10:32:11 +02:00
nicolargo 1365d600a3 (postgre)SQL export support / TimeScaleDB #2814 2025-07-05 10:32:11 +02:00
nicolargo 7c13ae17fa Implement a basic memory cache with TTL for API call (set to ~1 second) #3202 2025-07-05 10:32:11 +02:00
nicolargo b888dc55e8 Correct key() by keys() 2025-07-05 10:32:11 +02:00
Boris Okassa ed2e1cdefb exports: outputs: Removed iterator helpers
Related to #3181
Signed-off-by: Boris Okassa <borisokassa@yahoo.fr>
2025-07-05 10:32:11 +02:00
renovate[bot] 505a90f8da fix(deps): update dependency pysnmp-lextudio to <6.3.1 2025-07-05 10:32:11 +02:00
snyk-bot cac2e0b884 fix: dev-requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-H11-10293728
2025-07-05 10:32:11 +02:00
snyk-bot df93b5bf4c fix: optional-requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970
- https://snyk.io/vuln/SNYK-PYTHON-PYARROW-6052811
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-7448482
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-9964606
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250
2025-07-05 10:32:11 +02:00
nicolargo e277908118 Commit issue following #3186 - glances.js not found 2025-07-05 10:32:11 +02:00
fr4nc0is ea12008e10 Update plugin containers display and order #3186 2025-07-05 10:32:11 +02:00
ia74 bcf3d42097 Change "Pinned thread" to "Pinned task" and "Upin" to "Unpin" 2025-07-05 10:32:11 +02:00
Ariel Otilibili 0ffb08dd2a glances: Refactor _build_amps_list
Used a list comprehension. Moreover None and empty list are considered
as false values in Python.

Part-of: #2801
Link: https://docs.python.org/3/library/stdtypes.html#truth-value-testing
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
Ariel Otilibili 75b7998185 glances: amps: remove iterator helpers
No more needed in Python 3.

Moreover in update(), the keys are not used: the call to items() is
replaced with values().

Related to #3181
2025-07-05 10:32:11 +02:00
nicolargo f45900b450 Add test for JSON export 2025-07-05 10:32:11 +02:00
nicolargo 96660cae16 Add Star history to Readme file 2025-07-05 10:32:11 +02:00
nicolargo 83a5847ff1 Add Star history to Readme file 2025-07-05 10:32:11 +02:00
renovate[bot] 51166fe1df chore(deps): update alpine docker tag to v3.22 2025-07-05 10:32:11 +02:00
Ariel Otilibili 1375573a46 glances: remove iterator helpers
No more needed in Python 3. Following commit 72e1511d ("globals: Fix a
race condition in namedtuple_to_dict"), the dynamic view on the keys is
as well transformed into a list.

Related to #3181
2025-07-05 10:32:11 +02:00
Ariel Otilibili 239d5f7db6 glances: Refactor
Instead of a loop, used a generator for the search.

Part-of: #2801
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
Ariel Otilibili 81150246e5 glances: remove iterator helpers
No more needed in Python 3.

Related to #3181
2025-07-05 10:32:11 +02:00
Ariel Otilibili 39ac435218 plugins: containers: Refactor update()
Commit 445d20dc ("plugins: containers: Refactor") changed update() so
that, stats are added if any of is_key_in_container_and_not_hidden()
or is_key_absent_in_container() is true.

This could be replaced by the negation of is_key_in_container_and_hidden()

Part-of: #2801
Suggested-by: Jasmin Blackshaw <105jassen@gmail.com>
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
Ariel Otilibili 016799cbfa outputs: glances_curses: Refactor
In catch_other_actions_maybe_return_to_browser(), replaced if-statements
by a dict. If no key is found, a null function is executed.

Part-of: #2801
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
nicolargo 719094edf7 Update Glances dev version 2025-07-05 10:32:11 +02:00
nicolargo c343351072 Update Glances dev version 2025-07-05 10:32:11 +02:00
nicolargo d79c74df25 Update Glances dev version 2025-07-05 10:32:11 +02:00
Ariel Otilibili 3488760ae5 globals: Fix a race condition in namedtuple_to_dict
namedtuple_to_dict() loops over a dynamic view of the dict of processes;
other threads might be editing the same dict.

For instance in webserver mode, when a race condition happens, the
following error shows up in the console:

>   File "C:\Users\ryabtsev\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\glances\processes.py", line 628, in update_list
>     return list_of_namedtuple_to_list_of_dict(processlist)
>   File "C:\Users\ryabtsev\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\glances\globals.py", line 495, in list_of_namedtuple_to_list_of_dict
>     return [namedtuple_to_dict(d) for d in data]
>             ^^^^^^^^^^^^^^^^^^^^^
>   File "/app/glances/globals.py", line 490, in namedtuple_to_dict
>     return {k: (v._asdict() if hasattr(v, '_asdict') else v) for k, v in data.items()}
>                                                                          ^^^^^^^^^^^^
> RuntimeError: dictionary changed size during iteration

Instead of a dict view, namedtuple_to_dict() will use a list of tuples.

Performances are unchanged: on average, for 100 runs, namedtuple_to_dict()
completes in 0.2ms

GH issue: #3097
Link: https://docs.python.org/3/library/stdtypes.html#dictionary-view-objects
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
nicolargo 7c0dee3a63 Add support for InfluxDB 3 Core #3182 2025-07-05 10:32:11 +02:00
Ariel Otilibili a5b2a97e6c podman: remove iterator helpers
No more needed in Python 3.

Related to #3181
2025-07-05 10:32:11 +02:00
Ariel Otilibili b57b26e1b5 docker: remove iterator helpers
No more needed in Python 3.

Related to #3181
2025-07-05 10:32:11 +02:00
nicolargo 31834a366f Related to iteritems, itervalues, and iterkeys are not more needed in Python 3 #3181 2025-07-05 10:32:11 +02:00
nicolargo aea1b67862 Related to iteritems, itervalues, and iterkeys are not more needed in Python 3 #3181 2025-07-05 10:32:11 +02:00
nicolargo e28bf6496f Add a new field in the process list to identifie Zombie process #3178 2025-07-05 10:32:11 +02:00
Ariel Otilibili a78e778b36 plugins: containers: Refactor
1. update()
Two branches share the same logic for updating stats. Moreover, intermediate
values where used in nested loops: for filtering keys, and for extending stats.

This could be done at once with chain.from_iterable().

Therefore four helpers are introduced:
- add_engine_into_container
- is_key_in_container_and_not_hidden
- is_key_absent_in_container
- get_containers_from_updated_watcher

A profiling shows the stats build time is the same after the refactor,

$ sudo make run-webserver 2>&1 | grep primitive
         31631 function calls (31566 primitive calls) in 0.028 seconds
         23537 function calls (23487 primitive calls) in 0.025 seconds
         23559 function calls (23509 primitive calls) in 0.014 seconds
         23549 function calls (23499 primitive calls) in 0.024 seconds
         23549 function calls (23499 primitive calls) in 0.026 seconds
         23559 function calls (23509 primitive calls) in 0.016 seconds
         23559 function calls (23509 primitive calls) in 0.022 seconds
         23544 function calls (23494 primitive calls) in 0.015 seconds
         23549 function calls (23499 primitive calls) in 0.023 seconds
         23544 function calls (23494 primitive calls) in 0.018 seconds

[snapshot of top three calls]
         31881 function calls (31816 primitive calls) in 0.029 seconds

   Ordered by: cumulative time
   List reduced from 536 to 3 due to restriction <3>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        3    0.000    0.000    0.029    0.010 __init__.py:250(<genexpr>)
        2    0.000    0.000    0.029    0.015 __init__.py:242(get_containers_from_updated_watcher)
        1    0.000    0.000    0.029    0.029 docker.py:248(update)

And before,

$ sudo make run-webserver 2>&1 | grep primitive
         31620 function calls (31555 primitive calls) in 0.021 seconds
         23526 function calls (23476 primitive calls) in 0.019 seconds
         23533 function calls (23483 primitive calls) in 0.024 seconds
         23538 function calls (23488 primitive calls) in 0.015 seconds
         23528 function calls (23478 primitive calls) in 0.023 seconds
         23528 function calls (23478 primitive calls) in 0.022 seconds
         23533 function calls (23483 primitive calls) in 0.016 seconds
         23538 function calls (23488 primitive calls) in 0.025 seconds
         23538 function calls (23488 primitive calls) in 0.029 seconds
         23538 function calls (23488 primitive calls) in 0.013 seconds

[snapshot of top three calls]
         31865 function calls (31800 primitive calls) in 0.024 seconds

   Ordered by: cumulative time
   List reduced from 531 to 3 due to restriction <3>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    0.024    0.024 docker.py:248(update)
       13    0.000    0.000    0.022    0.002 decorators.py:38(inner)
       13    0.000    0.000    0.022    0.002 client.py:244(_get)

2. msg_curse()
The conditions are directly used in any().

3. exit()
Minimum supported version is Python 3.9; loops use iterators by default.

itervalues() was introduced for compatility with Python 2. Commit 76ea71f2
("Remove Python 2 in docs and README files") removed Python 2 support.

Part-of: #2801
Link: https://docs.python.org/3/library/itertools.html#itertools.chain.from_iterable
Link: https://docs.python.org/3/library/profile.html#profile.Profile
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
Ariel Otilibili 91902f0ffa plugins: containers: Refactor build_container_data
All the if-statements do the same actions:
- check the key is not disabled
- and add the corresponding callback to the building steps.

There could be done with a list comprehension on a dict.

Part-of: #2801
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
Ariel Otilibili f747bdfa73 containers: Fix sorting
sort_keys() uses sort_by_these_keys() on the stats. So doing, one of the
retrieved values might be absent; and sort_keys() will fall back to the
default sorting method, which is the alphabetical order.

This is the case for dead or exited containers.

Instead of a key lookup, the get method of dict could be used.

GH issue: #3098
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
Ariel Otilibili e4cdc14cd0 containers: processes: Refactor
Refactored sort_docker_stats() and sort_stats().

Useful for an upcoming commit.

Part-of: #2801
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
nicolargo dc165930b4 Refactor code to limit the complexity of update_views method in plugins #3171 2025-07-05 10:32:11 +02:00
nicolargo 03f23a582d Code refactoring - Rename plugin class to <Plugin name>Plugin instead of PluginModel #3169 2025-07-05 10:32:11 +02:00
Ariel Otilibili 1e92365c5e plugins: connections: refactor, version 2
Extracted update_with_net_connections_method and
update_with_nf_conntrack_method from update.

Part-of: #2801
Link: https://scrutinizer-ci.com/g/nicolargo/glances/code-structure/develop/py-function/glances.plugins.connections.PluginModel.update
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
Nicolas Hennion a3e55145b8 Revert "plugins: connections: refactor" 2025-07-05 10:32:11 +02:00
Ariel Otilibili 72a1466e9f plugins: connections: refactor
Extracted update_with_net_connections_method and
update_with_nf_conntrack_method from update.

Part-of: #2801
Link: https://scrutinizer-ci.com/g/nicolargo/glances/code-structure/develop/py-function/glances.plugins.connections.PluginModel.update
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
nguuuquaaa c612899612 fix display checking logic 2025-07-05 10:32:11 +02:00
nguuuquaaa b86b201e6a fix broken matching when fs config has show value 2025-07-05 10:32:11 +02:00
nguuuquaaa c59931cb80 fix broken implementation of plugin.is_display/is_hide/is_show 2025-07-05 10:32:11 +02:00
nicolargo bfda524b4e [WEBUI] Irix mode (per core instead of per CPU percentage) not togglable #3158 2025-07-05 10:32:11 +02:00
nicolargo 0bbb20a127 Done bu display 0 on the WebUI CPU column in IRIS mode... Why ??? 2025-07-05 10:32:11 +02:00
Ariel Otilibili 54e57317be plugins: mem: reduce code complexity
Part of #2801.

Link: https://scrutinizer-ci.com/g/nicolargo/glances/code-structure/develop/py-function/glances.plugins.mem.PluginModel.update
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:11 +02:00
wuhgit c473060740 Revision of confusing descriptions in the SMART section of the document 2025-07-05 10:32:11 +02:00
nicolargo 4e8b1f5508 Correct an issue with VMs bin test 2025-07-05 10:32:11 +02:00
nicolargo 82e59dbfda Add stats about running VMS (qemu/libvirt/kvm support through virsh) #1531 2025-07-05 10:32:11 +02:00
nicolargo fb81a2a5f7 Add stats about running VMS (qemu/libvirt/kvm support through virsh) #1531 2025-07-05 10:32:11 +02:00
Nicolas Hennion 50c440f739 Update faq.rst 2025-07-05 10:32:11 +02:00
Nicolas Hennion 9db02dc7ec Update faq.rst 2025-07-05 10:32:11 +02:00
Nicolas Hennion ae5eb61307 Container memory stats not displayed #3142 2025-07-05 10:32:11 +02:00
Tyler Kerr 080be4d845 strip unsupported line endings from password file 2025-07-05 10:32:11 +02:00
renovate[bot] c738f482e9 Update docker/build-push-action action to v6 2025-07-05 10:32:11 +02:00
nicolargo a550afbd25 Take into account @amard33p comment - https://github.com/nicolargo/glances/issues/2394#issuecomment-2794522951 2025-07-05 10:32:11 +02:00
nicolargo 941baba5b4 Improve unittest for CSV export #3150 2025-07-05 10:32:11 +02:00
nicolargo 91c132fe08 Remove quicklook from the exportable list 2025-07-05 10:32:11 +02:00
nicolargo 009212a04d Do not store data during InfluxDB test 2025-07-05 10:32:11 +02:00
nicolargo 43626d9d69 Improve unittest for InfluxDB plugin #3149 2025-07-05 10:32:11 +02:00
nicolargo ec8365817f Improve unittest for InfluxDB plugin #3149 2025-07-05 10:32:11 +02:00
nicolargo bdef92da4f Correct NoneType in update_view method 2025-07-05 10:32:11 +02:00
renovate[bot] 16dee18c52 chore(deps): update actions/stale action to v9 2025-07-05 10:32:11 +02:00
renovate[bot] d2de1424fb Update dependency windows to v2025 2025-07-05 10:32:10 +02:00
renovate[bot] daf6964f14 Update dependency ubuntu to v24 2025-07-05 10:32:10 +02:00
nicolargo cfc34e7cd4 Upgrade JS libs #3147 2025-07-05 10:32:10 +02:00
nicolargo 0d2f5e4ba3 Commit before lint 2025-07-05 10:32:10 +02:00
nicolargo 7de582fdb0 Update precommit hook 2025-07-05 10:32:10 +02:00
nicolargo 1378eb80ba Correct README file 2025-07-05 10:32:10 +02:00
nicolargo fe59850c28 Make the shtab optional 2025-07-05 10:32:10 +02:00
nicolargo 558ebbaec7 Add a new option --print-completion to generate shell tab completion - #3111 2025-07-05 10:32:10 +02:00
nicolargo 9e2504b056 Update documentation 2025-07-05 10:32:10 +02:00
nicolargo b4d5de96fc Add shtab as a dependency 2025-07-05 10:32:10 +02:00
nicolargo 0e181d9059 In the FS module, do not display threshold for volume mounted in 'ro' (read-only) #3143 2025-07-05 10:32:10 +02:00
kenrmayfield 25b550834a Update README.rst
Update Line: 
Glances Binary Package Versions per System Architecture for FreeBSD as of: 08 Mar 2025 04:05:21

Changed to:
Glances Binary Package Versions and Python Versions( pyXY-glances) per System Architecture for FreeBSD as of: 08 Mar 2025 04:05:21
2025-07-05 10:32:10 +02:00
kenrmayfield b30a29897e Update README.rst
Remove CHECK Link.  Not working correctly.  Need to wait until Main Repository has been Updated.  Then I can make a Link to the FreeBSD Glances Binary Package Version Picture.
2025-07-05 10:32:10 +02:00
kenrmayfield 451b1a2294 Update README.rst
Updated CHECK Link again due to Error in Syntax
2025-07-05 10:32:10 +02:00
kenrmayfield b23a4f6a3d Update README.rst
Updated CHECK Link for Python Version corresponding to Glances Binary Package
2025-07-05 10:32:10 +02:00
kenrmayfield 415abe2284 Update README.rst
Capitalize the words eye and system in the Title to Eye and System
2025-07-05 10:32:10 +02:00
kenrmayfield 7f5f2fd2b1 Update README.rst
Changed spelling of ports to Ports
2025-07-05 10:32:10 +02:00
kenrmayfield 49aa4e21ab Update README.rst
Bold the word NOTE
2025-07-05 10:32:10 +02:00
kenrmayfield 11a1aa6250 Update README.rst
Update FreeBSD Instructions
1. Add Glances Binary Package Versions Picture
2. Update Install
3. Add Note to Check Glances Binary Package Version with System 
    Architecture that corresponds to Python Version.
4.  Add Link to Glances Binary Package Versions Picture called 
     CHECK
2025-07-05 10:32:10 +02:00
nicolargo a1eb6cbacf [GPU] AMD Plugin: Operation not permitted #3125 2025-07-05 10:32:10 +02:00
nicolargo 343c933e15 FR: Sort Sensors my name in proper number order #3132 2025-07-05 10:32:10 +02:00
nicolargo e8b6fd7641 [Discussion] FreeBSD - AMD64 Install: Package py39-glances not showing a Version Available for AMD64 but for Package py311-glances #3139 2025-07-05 10:32:10 +02:00
Ariel Otilibili 5d4596ed41 glances: refactor start()
Part of #2801: start() is split into start_main_loop(),
check_memleak(), setup_server_mode(), & maybe_trace_memleak().

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-07-05 10:32:10 +02:00
nicolargo 0d542550a4 Update docs and correct an issue with UTC import 2025-07-05 10:19:59 +02:00
nicolargo ba67e55a0f Add unit test for time zone in history 2025-07-05 09:57:54 +02:00
nicolargo 4cf6cf8ac2 API history endpoints shows times without timezone #3218 2025-07-05 09:38:02 +02:00
nicolargo 3eb67a32bb Correct a crash in client/server mode 2025-07-05 09:18:59 +02:00
nicolargo fe48f7df94 Make --stdout (csv and json) compliant with client/server mode #3235 2025-07-05 08:17:58 +02:00
nicolargo ca65324976 Update documentation lint 2025-06-30 08:06:25 +02:00
nicolargo d563c68b4c Update documentation 2025-06-30 08:04:14 +02:00
nicolargo d978d545ed Glances 4.3.2_rc01 2025-06-29 17:33:31 +02:00
nicolargo 4f743287b6 Merge branch 'issue2632' into develop 2025-06-29 14:33:25 +02:00
nicolargo 12eecf47f6 Improve Restful API documentation embeded in FastAPI #2632 2025-06-29 14:32:58 +02:00
nicolargo 7b8724244a Change the way Docker start Glances 2025-06-29 13:40:52 +02:00
nicolargo fcbad49771 Lint Dockerfile 2025-06-29 13:22:35 +02:00
nicolargo 4b15e6693c Glances breaks if Podman container is started while it is running #3199 2025-06-29 11:00:28 +02:00
nicolargo 6db3672c50 Avoid none in rate computation 2025-06-28 20:14:12 +02:00
nicolargo b56b231ad8 Glances Central Browser should use name instead of IP adress for redirection #3103 2025-06-28 16:10:34 +02:00
nicolargo eec89ccd90 Merge branch 'issue3206' into develop 2025-06-22 22:17:22 +02:00
nicolargo 95ff4506d1 Add container inactive_file & limit to InfluxDB2 export #3206 2025-06-22 22:17:02 +02:00
nicolargo 4e5eff834a Merge branch 'issue2814-TimeScaleDB' into develop 2025-06-22 18:26:43 +02:00
nicolargo 4f03be737b (postgre)SQL export support / TimeScaleDB #2814 2025-06-22 18:26:00 +02:00
nicolargo f799911058 Merge branch 'issue3202' into develop 2025-06-14 10:47:23 +02:00
nicolargo 0dbd4c58d4 Implement a basic memory cache with TTL for API call (set to ~1 second) #3202 2025-06-14 10:47:00 +02:00
nicolargo ecb3e6e0ea Correct key() by keys() 2025-06-10 19:24:42 +02:00
Boris Okassa 4ef03ddac2 exports: outputs: Removed iterator helpers
Related to #3181
Signed-off-by: Boris Okassa <borisokassa@yahoo.fr>
2025-06-10 00:13:05 +02:00
Nicolas Hennion ed400246fd
Merge pull request #3107 from nicolargo/renovate/pysnmp-lextudio-6.x
fix(deps): update dependency pysnmp-lextudio to <6.3.1
2025-06-09 13:10:57 +02:00
Nicolas Hennion efa636b7a7
Merge pull request #3195 from nicolargo/snyk-fix-b29587102aaf5d35b3590a9d7407596b
[Snyk] Security upgrade h11 from 0.14.0 to 0.16.0
2025-06-08 09:44:46 +02:00
Nicolas Hennion a3556a4004
Merge pull request #3184 from nicolargo/snyk-fix-7fbd5db6108cdc150d044d238786b513
[Snyk] Fix for 8 vulnerabilities
2025-06-08 09:44:23 +02:00
nicolargo 4dd312229f Commit issue following #3186 - glances.js not found 2025-06-08 09:40:46 +02:00
snyk-bot 36e0b46903
fix: dev-requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-H11-10293728
2025-06-08 07:34:24 +00:00
Nicolas Hennion b31aa7234e
Merge pull request #3192 from fr4nc0is/FIX-3186
Update plugin containers display and order #3186
2025-06-08 09:31:38 +02:00
Nicolas Hennion f854ea31d8
Merge pull request #3191 from ia74/patch-1
Change "Pinned thread" to "Pinned task" and "Upin" to "Unpin"
2025-06-08 09:30:41 +02:00
Nicolas Hennion 1f8e63ec3d
Merge pull request #3190 from ariel-anieli/issue-3181
glances: amps: Removal of iterator helpers, refactor
2025-06-08 09:30:07 +02:00
fr4nc0is 0e288cdc97 Update plugin containers display and order #3186 2025-06-03 09:18:14 +02:00
ia74 6ed7bee526
Change "Pinned thread" to "Pinned task" and "Upin" to "Unpin" 2025-06-02 16:23:22 -05:00
Ariel Otilibili 5a661a295c
glances: Refactor _build_amps_list
Used a list comprehension. Moreover None and empty list are considered
as false values in Python.

Part-of: #2801
Link: https://docs.python.org/3/library/stdtypes.html#truth-value-testing
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-06-02 14:20:22 +02:00
Ariel Otilibili 9e29d8aa45
glances: amps: remove iterator helpers
No more needed in Python 3.

Moreover in update(), the keys are not used: the call to items() is
replaced with values().

Related to #3181
2025-06-02 14:20:13 +02:00
nicolargo a6de55bfca Add test for JSON export 2025-06-01 17:37:21 +02:00
nicolargo fe5edd6e60 Add Star history to Readme file 2025-05-31 15:31:18 +02:00
nicolargo 71c1c34ddd Add Star history to Readme file 2025-05-31 15:28:17 +02:00
Nicolas Hennion eff75ebeed
Merge pull request #3189 from nicolargo/renovate/alpine-3.x
chore(deps): update alpine docker tag to v3.22
2025-05-31 14:44:31 +02:00
Nicolas Hennion 07daacd35f
Merge pull request #3187 from ariel-anieli/issue-3181-processes-client-snmp
glances: removal of iterators helpers in `processes.py` & `stats_client_snmp.py`
2025-05-31 14:44:01 +02:00
Nicolas Hennion 7440f6df9b
Merge pull request #3188 from ariel-anieli/issue-2801-glances-curses
outputs: containers: Refactor
2025-05-31 14:43:45 +02:00
Ariel Otilibili d6802b77d7
plugins: containers: Refactor update()
Commit 445d20dc ("plugins: containers: Refactor") changed update() so
that, stats are added if any of is_key_in_container_and_not_hidden()
or is_key_absent_in_container() is true.

This could be replaced by the negation of is_key_in_container_and_hidden()

Part-of: #2801
Suggested-by: Jasmin Blackshaw <105jassen@gmail.com>
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-05-31 13:46:44 +02:00
renovate[bot] 3462a48081
chore(deps): update alpine docker tag to v3.22 2025-05-30 22:02:58 +00:00
Ariel Otilibili c5acae327b
outputs: glances_curses: Refactor
In catch_other_actions_maybe_return_to_browser(), replaced if-statements
by a dict. If no key is found, a null function is executed.

Part-of: #2801
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-05-30 14:12:11 +02:00
Ariel Otilibili 73663ef5c7
glances: remove iterator helpers
No more needed in Python 3. Following commit 72e1511d ("globals: Fix a
race condition in namedtuple_to_dict"), the dynamic view on the keys is
as well transformed into a list.

Related to #3181
2025-05-29 13:59:09 +02:00
Ariel Otilibili 003ba392c0
glances: Refactor
Instead of a loop, used a generator for the search.

Part-of: #2801
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-05-29 13:59:09 +02:00
Ariel Otilibili b28d793d72
glances: remove iterator helpers
No more needed in Python 3.

Related to #3181
2025-05-29 13:39:51 +02:00
nicolargo 1c6485fda6 Update Glances dev version 2025-05-28 10:01:16 +02:00
nicolargo 649562ca37 Update Glances dev version 2025-05-28 09:54:07 +02:00
nicolargo 17e43c1271 Update Glances dev version 2025-05-28 09:39:25 +02:00
Nicolas Hennion c1a772d7f1
Merge pull request #3185 from ariel-anieli/issue-3097-dict-changed-size-runtime-error
globals: Fix a race condition in `namedtuple_to_dict`
2025-05-27 17:32:55 +02:00
Ariel Otilibili 72e1511dc4
globals: Fix a race condition in namedtuple_to_dict
namedtuple_to_dict() loops over a dynamic view of the dict of processes;
other threads might be editing the same dict.

For instance in webserver mode, when a race condition happens, the
following error shows up in the console:

>   File "C:\Users\ryabtsev\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\glances\processes.py", line 628, in update_list
>     return list_of_namedtuple_to_list_of_dict(processlist)
>   File "C:\Users\ryabtsev\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\glances\globals.py", line 495, in list_of_namedtuple_to_list_of_dict
>     return [namedtuple_to_dict(d) for d in data]
>             ^^^^^^^^^^^^^^^^^^^^^
>   File "/app/glances/globals.py", line 490, in namedtuple_to_dict
>     return {k: (v._asdict() if hasattr(v, '_asdict') else v) for k, v in data.items()}
>                                                                          ^^^^^^^^^^^^
> RuntimeError: dictionary changed size during iteration

Instead of a dict view, namedtuple_to_dict() will use a list of tuples.

Performances are unchanged: on average, for 100 runs, namedtuple_to_dict()
completes in 0.2ms

GH issue: #3097
Link: https://docs.python.org/3/library/stdtypes.html#dictionary-view-objects
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-05-27 14:55:41 +02:00
snyk-bot 3278027281
fix: optional-requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970
- https://snyk.io/vuln/SNYK-PYTHON-PYARROW-6052811
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-7448482
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-9964606
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250
2025-05-27 08:51:43 +00:00
nicolargo ad5e7f8479 Merge branch 'issue3182-InfluxDB3' into develop 2025-05-27 10:46:54 +02:00
nicolargo 3f124d3596 Add support for InfluxDB 3 Core #3182 2025-05-27 10:46:39 +02:00
Nicolas Hennion 24eb6cf21a
Merge pull request #3183 from ariel-anieli/issue-2801-refactor
podman: docker: Remove iterator helpers
2025-05-26 19:24:48 +02:00
Ariel Otilibili 52bd26f03e
podman: remove iterator helpers
No more needed in Python 3.

Related to #3181
2025-05-26 17:34:58 +02:00
Ariel Otilibili 75afbe16c9
docker: remove iterator helpers
No more needed in Python 3.

Related to #3181
2025-05-26 17:34:48 +02:00
nicolargo 6af2aa092b Related to iteritems, itervalues, and iterkeys are not more needed in Python 3 #3181 2025-05-26 15:12:42 +02:00
nicolargo 95d38a1392 Related to iteritems, itervalues, and iterkeys are not more needed in Python 3 #3181 2025-05-26 15:12:03 +02:00
nicolargo dde335696a Add a new field in the process list to identifie Zombie process #3178 2025-05-25 18:52:25 +02:00
Nicolas Hennion ef83c404ff
Merge pull request #3180 from ariel-anieli/issue-2801-refactor
plugins: containers; Refactor
2025-05-25 17:30:57 +02:00
Ariel Otilibili 445d20dcad
plugins: containers: Refactor
1. update()
Two branches share the same logic for updating stats. Moreover, intermediate
values where used in nested loops: for filtering keys, and for extending stats.

This could be done at once with chain.from_iterable().

Therefore four helpers are introduced:
- add_engine_into_container
- is_key_in_container_and_not_hidden
- is_key_absent_in_container
- get_containers_from_updated_watcher

A profiling shows the stats build time is the same after the refactor,

$ sudo make run-webserver 2>&1 | grep primitive
         31631 function calls (31566 primitive calls) in 0.028 seconds
         23537 function calls (23487 primitive calls) in 0.025 seconds
         23559 function calls (23509 primitive calls) in 0.014 seconds
         23549 function calls (23499 primitive calls) in 0.024 seconds
         23549 function calls (23499 primitive calls) in 0.026 seconds
         23559 function calls (23509 primitive calls) in 0.016 seconds
         23559 function calls (23509 primitive calls) in 0.022 seconds
         23544 function calls (23494 primitive calls) in 0.015 seconds
         23549 function calls (23499 primitive calls) in 0.023 seconds
         23544 function calls (23494 primitive calls) in 0.018 seconds

[snapshot of top three calls]
         31881 function calls (31816 primitive calls) in 0.029 seconds

   Ordered by: cumulative time
   List reduced from 536 to 3 due to restriction <3>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        3    0.000    0.000    0.029    0.010 __init__.py:250(<genexpr>)
        2    0.000    0.000    0.029    0.015 __init__.py:242(get_containers_from_updated_watcher)
        1    0.000    0.000    0.029    0.029 docker.py:248(update)

And before,

$ sudo make run-webserver 2>&1 | grep primitive
         31620 function calls (31555 primitive calls) in 0.021 seconds
         23526 function calls (23476 primitive calls) in 0.019 seconds
         23533 function calls (23483 primitive calls) in 0.024 seconds
         23538 function calls (23488 primitive calls) in 0.015 seconds
         23528 function calls (23478 primitive calls) in 0.023 seconds
         23528 function calls (23478 primitive calls) in 0.022 seconds
         23533 function calls (23483 primitive calls) in 0.016 seconds
         23538 function calls (23488 primitive calls) in 0.025 seconds
         23538 function calls (23488 primitive calls) in 0.029 seconds
         23538 function calls (23488 primitive calls) in 0.013 seconds

[snapshot of top three calls]
         31865 function calls (31800 primitive calls) in 0.024 seconds

   Ordered by: cumulative time
   List reduced from 531 to 3 due to restriction <3>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    0.024    0.024 docker.py:248(update)
       13    0.000    0.000    0.022    0.002 decorators.py:38(inner)
       13    0.000    0.000    0.022    0.002 client.py:244(_get)

2. msg_curse()
The conditions are directly used in any().

3. exit()
Minimum supported version is Python 3.9; loops use iterators by default.

itervalues() was introduced for compatility with Python 2. Commit 76ea71f2
("Remove Python 2 in docs and README files") removed Python 2 support.

Part-of: #2801
Link: https://docs.python.org/3/library/itertools.html#itertools.chain.from_iterable
Link: https://docs.python.org/3/library/profile.html#profile.Profile
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-05-24 19:56:59 +02:00
Ariel Otilibili e732ba37be
plugins: containers: Refactor build_container_data
All the if-statements do the same actions:
- check the key is not disabled
- and add the corresponding callback to the building steps.

There could be done with a list comprehension on a dict.

Part-of: #2801
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-05-23 18:17:33 +02:00
Nicolas Hennion e118d7d171
Merge pull request #3179 from ariel-anieli/issue-3098-display-containers
Fix the sorting of containers
2025-05-23 11:33:36 +02:00
Ariel Otilibili b414bafc94
containers: Fix sorting
sort_keys() uses sort_by_these_keys() on the stats. So doing, one of the
retrieved values might be absent; and sort_keys() will fall back to the
default sorting method, which is the alphabetical order.

This is the case for dead or exited containers.

Instead of a key lookup, the get method of dict could be used.

GH issue: #3098
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-05-22 17:40:42 +02:00
Ariel Otilibili 8e23bd661f
containers: processes: Refactor
Refactored sort_docker_stats() and sort_stats().

Useful for an upcoming commit.

Part-of: #2801
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-05-22 17:40:42 +02:00
nicolargo c8d70fb343 Merge branch 'issue3171' into develop 2025-05-02 15:02:33 +02:00
nicolargo 21f0fd0eb4 Refactor code to limit the complexity of update_views method in plugins #3171 2025-05-02 15:01:29 +02:00
nicolargo 5f31106ac1 Merge branch 'issue3169' into develop 2025-05-02 11:17:04 +02:00
nicolargo 6e466c7d14 Code refactoring - Rename plugin class to <Plugin name>Plugin instead of PluginModel #3169 2025-05-02 09:41:32 +02:00
renovate[bot] 1be8d528ed
fix(deps): update dependency pysnmp-lextudio to <6.3.1 2025-04-30 12:09:19 +00:00
Nicolas Hennion 1e7e0c056b
Merge pull request #3163 from ariel-anieli/refactor-plugin-connections-v2
plugins: connections: refactor, version 2
2025-04-27 19:56:10 +02:00
Ariel Otilibili ebd8f766b0
plugins: connections: refactor, version 2
Extracted update_with_net_connections_method and
update_with_nf_conntrack_method from update.

Part-of: #2801
Link: https://scrutinizer-ci.com/g/nicolargo/glances/code-structure/develop/py-function/glances.plugins.connections.PluginModel.update
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-04-27 17:16:43 +02:00
Nicolas Hennion 270ff52363
Merge pull request #3162 from nicolargo/revert-3161-refactor-plugin-connections
Revert "plugins: connections: refactor"
2025-04-27 15:21:54 +02:00
Nicolas Hennion f933d9f1ef
Revert "plugins: connections: refactor" 2025-04-27 15:21:06 +02:00
Nicolas Hennion c69a5a9307
Merge pull request #3161 from ariel-anieli/refactor-plugin-connections
plugins: connections: refactor
2025-04-27 15:02:36 +02:00
Nicolas Hennion b747c87796
Merge pull request #3160 from nguuuquaaa/fix-fs
Fix matching problem when fs config has "show" value
2025-04-27 14:58:38 +02:00
nicolargo f77e039f21 Merge branch 'issue3158' into develop 2025-04-27 14:53:30 +02:00
nicolargo 1901fcad05 [WEBUI] Irix mode (per core instead of per CPU percentage) not togglable #3158 2025-04-27 14:53:02 +02:00
nguuuquaaa 2ef24c7b2d fix display checking logic 2025-04-27 04:35:24 +07:00
Ariel Otilibili 1c93368561
plugins: connections: refactor
Extracted update_with_net_connections_method and
update_with_nf_conntrack_method from update.

Part-of: #2801
Link: https://scrutinizer-ci.com/g/nicolargo/glances/code-structure/develop/py-function/glances.plugins.connections.PluginModel.update
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-04-26 19:07:32 +02:00
nicolargo 55258748ff Done bu display 0 on the WebUI CPU column in IRIS mode... Why ??? 2025-04-26 19:06:56 +02:00
nguuuquaaa 133b97bcaf fix broken matching when fs config has show value 2025-04-26 01:12:13 +07:00
nguuuquaaa 840670ea77 fix broken implementation of plugin.is_display/is_hide/is_show 2025-04-26 00:52:15 +07:00
Nicolas Hennion 5e1a08af79
Merge pull request #3159 from ariel-anieli/reduce-complexity-mem-plugin-update
plugins: mem: reduce code complexity
2025-04-24 07:59:43 +02:00
Ariel Otilibili 4531aac37f
plugins: mem: reduce code complexity
Part of #2801.

Link: https://scrutinizer-ci.com/g/nicolargo/glances/code-structure/develop/py-function/glances.plugins.mem.PluginModel.update
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-04-23 22:01:27 +02:00
Nicolas Hennion 829ae981b5
Merge pull request #3152 from wuhgit/develop
Revision of confusing descriptions in the SMART section of the document
2025-04-21 11:13:53 +02:00
nicolargo 8d1039d4ac Correct an issue with VMs bin test 2025-04-21 10:56:04 +02:00
nicolargo 2cbf7a7fba Merge branch 'issue1531' into develop 2025-04-21 10:40:03 +02:00
nicolargo 0f10ffc245 Add stats about running VMS (qemu/libvirt/kvm support through virsh) #1531 2025-04-21 10:39:48 +02:00
nicolargo f9250c9985 Add stats about running VMS (qemu/libvirt/kvm support through virsh) #1531 2025-04-21 10:39:20 +02:00
wuhgit bdccb0b196
Revision of confusing descriptions in the SMART section of the document 2025-04-17 07:19:26 +08:00
Nicolas Hennion 7218a22002
Update faq.rst 2025-04-15 09:04:40 +02:00
Nicolas Hennion 1feb1ec6f8
Update faq.rst 2025-04-15 09:04:14 +02:00
Nicolas Hennion 4b21d0a18f
Container memory stats not displayed #3142 2025-04-15 09:03:41 +02:00
Nicolas Hennion bead0ae13d
Merge pull request #3151 from Destarianon/bug/discussion2274
Ignore unsupported line endings in password file
2025-04-15 08:54:09 +02:00
Tyler Kerr 1c7a824821
strip unsupported line endings from password file 2025-04-14 21:54:36 +00:00
Nicolas Hennion 48543cab8f
Merge pull request #3070 from nicolargo/renovate/docker-build-push-action-6.x
Update docker/build-push-action action to v6
2025-04-14 16:54:29 +02:00
nicolargo 01b4ca1cf5 Take into account @amard33p comment - https://github.com/nicolargo/glances/issues/2394#issuecomment-2794522951 2025-04-13 16:36:29 +02:00
nicolargo de90b4fd54 Improve unittest for CSV export #3150 2025-04-13 16:28:49 +02:00
nicolargo a91b187069 Remove quicklook from the exportable list 2025-04-13 15:53:52 +02:00
nicolargo eeb7db8e82 Do not store data during InfluxDB test 2025-04-13 15:41:02 +02:00
nicolargo d22f3e16fe Merge branch 'issue3149' into develop 2025-04-13 14:41:32 +02:00
nicolargo 7cc4e86639 Improve unittest for InfluxDB plugin #3149 2025-04-13 14:41:08 +02:00
nicolargo 3cdededa78 Improve unittest for InfluxDB plugin #3149 2025-04-13 14:40:56 +02:00
nicolargo 3016717208 Correct NoneType in update_view method 2025-04-12 16:40:26 +02:00
Nicolas Hennion 9fd1efce21
Merge pull request #3108 from nicolargo/renovate/actions-stale-9.x
Update actions/stale action to v9
2025-04-12 16:12:51 +02:00
Nicolas Hennion 4db6aaeb3d
Merge pull request #3148 from nicolargo/renovate/windows-2025.x
Update dependency windows to v2025
2025-04-12 16:11:06 +02:00
Nicolas Hennion d4202339d9
Merge pull request #3066 from nicolargo/renovate/ubuntu-24.x
Update dependency ubuntu to v24
2025-04-12 16:10:52 +02:00
renovate[bot] 551ec80be6
Update dependency windows to v2025 2025-04-12 12:55:54 +00:00
nicolargo 4c9685f0bf Merge branch 'issue3147' into develop 2025-04-12 14:55:16 +02:00
nicolargo 90ebe27f7e Upgrade JS libs #3147 2025-04-12 14:54:39 +02:00
nicolargo 0907700843 Commit before lint 2025-04-12 14:51:38 +02:00
nicolargo ca2b7a9907 Update precommit hook 2025-04-11 19:19:44 +02:00
nicolargo c1beee40a2 Correct README file 2025-04-11 19:05:30 +02:00
nicolargo acf54a508e Make the shtab optional 2025-04-11 18:54:25 +02:00
nicolargo 50aa49a497 Merge branch 'issue3111' into develop 2025-04-11 18:45:24 +02:00
nicolargo 17553fac8f Add a new option --print-completion to generate shell tab completion - #3111 2025-04-11 18:44:55 +02:00
nicolargo 060457c2ae Update documentation 2025-04-11 18:43:35 +02:00
nicolargo bf54140b87 Add shtab as a dependency 2025-04-11 18:18:21 +02:00
nicolargo 18d6beebe1 Merge branch 'issue3143' into develop 2025-04-11 17:59:31 +02:00
nicolargo bc1211a672 In the FS module, do not display threshold for volume mounted in 'ro' (read-only) #3143 2025-04-11 17:58:00 +02:00
Nicolas Hennion 9cd51fc060
Merge pull request #3141 from kenrmayfield/develop
Updates 4/6/2025: FreeBSD Section - Glances - An Eye on your System
2025-04-10 13:42:21 +02:00
kenrmayfield 041a9852a9
Update README.rst
Update Line: 
Glances Binary Package Versions per System Architecture for FreeBSD as of: 08 Mar 2025 04:05:21

Changed to:
Glances Binary Package Versions and Python Versions( pyXY-glances) per System Architecture for FreeBSD as of: 08 Mar 2025 04:05:21
2025-04-06 23:42:31 -05:00
kenrmayfield aa8f3abab3
Update README.rst
Remove CHECK Link.  Not working correctly.  Need to wait until Main Repository has been Updated.  Then I can make a Link to the FreeBSD Glances Binary Package Version Picture.
2025-04-06 23:33:44 -05:00
kenrmayfield 96aa6987ab
Update README.rst
Updated CHECK Link again due to Error in Syntax
2025-04-06 23:20:20 -05:00
kenrmayfield f29af964ef
Update README.rst
Updated CHECK Link for Python Version corresponding to Glances Binary Package
2025-04-06 22:44:53 -05:00
kenrmayfield aee1ea6acd
Update README.rst
Capitalize the words eye and system in the Title to Eye and System
2025-04-06 22:27:05 -05:00
kenrmayfield 6f93c1bad9
Update README.rst
Changed spelling of ports to Ports
2025-04-06 22:00:29 -05:00
kenrmayfield 20d08c0cb6
Update README.rst
Bold the word NOTE
2025-04-06 21:58:44 -05:00
kenrmayfield 4d7300ab96
Update README.rst
Update FreeBSD Instructions
1. Add Glances Binary Package Versions Picture
2. Update Install
3. Add Note to Check Glances Binary Package Version with System 
    Architecture that corresponds to Python Version.
4.  Add Link to Glances Binary Package Versions Picture called 
     CHECK
2025-04-06 21:47:56 -05:00
nicolargo 0b62a9f785 [GPU] AMD Plugin: Operation not permitted #3125 2025-04-06 18:49:38 +02:00
nicolargo cb22a0c56a Merge branch 'issue3132' into develop 2025-04-06 18:39:26 +02:00
nicolargo fcbcbbfb4d FR: Sort Sensors my name in proper number order #3132 2025-04-06 18:37:45 +02:00
nicolargo c5954c9d99 [Discussion] FreeBSD - AMD64 Install: Package py39-glances not showing a Version Available for AMD64 but for Package py311-glances #3139 2025-04-06 17:51:36 +02:00
nicolargo ad0be97653 Merge branch 'develop' of github.com:nicolargo/glances into develop 2025-04-06 17:49:08 +02:00
nicolargo 6ccd4430e9 Merge branch 'issue2394' into develop 2025-04-06 17:48:54 +02:00
nicolargo b06b0d5c7c Make all results from amps plugins exportable #2394 2025-04-06 17:48:34 +02:00
nicolargo 3a96cfd0cc CSV column name now include the plugin name - Related to #2394 2025-04-06 17:33:20 +02:00
Nicolas Hennion 584fbba311
Merge pull request #3131 from ariel-anieli/glances-start-refactor
glances: refactor start()
2025-03-25 07:37:59 +01:00
Ariel Otilibili fc4dc38028 glances: refactor start()
Part of #2801: start() is split into start_main_loop(),
check_memleak(), setup_server_mode(), & maybe_trace_memleak().

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2025-03-23 21:19:31 +01:00
nicolargo aa428b51c9 Create a new init method for export in order to init fields in some export module 2025-03-23 18:53:19 +01:00
nicolargo 3ba5946974 Remove <plugin>_disable field from export 2025-03-23 17:49:32 +01:00
nicolargo b7cdf66eb0 On the road of Glances 4.3.2 2025-03-22 17:53:04 +01:00
nicolargo 7cfc0c7aa6 version 4.3.1 2025-03-22 17:51:23 +01:00
nicolargo 91fa4bf200 Update configuration file for docker compose 2025-03-22 17:39:36 +01:00
nicolargo a6b14d75bb Remove debug message in sensors plugins 2025-03-22 16:41:11 +01:00
nicolargo ec0baca9f7 Little improvment regarding the CPU name if nothing is found. Display the CPU architecture. 2025-03-22 16:05:58 +01:00
nicolargo e7c2c219c5 Merge branch 'issue3102' into develop 2025-03-09 16:43:35 +01:00
nicolargo 84c54a7b9a Cannot set warning/critical temperature for a specific sensor #3102 2025-03-09 16:43:01 +01:00
nicolargo f2c7e4724a Merge branch 'develop' of github.com:nicolargo/glances into develop 2025-03-08 12:06:12 +01:00
nicolargo 91a052d11a Try to reduce latency between stat's update and view - #3086 2025-03-08 12:05:35 +01:00
nicolargo 002954e58a Try to reduce latency between stat's update and view 2025-03-08 12:04:13 +01:00
nicolargo df3d96bd33 Merge branch 'issue3113' into develop 2025-03-02 17:33:01 +01:00
nicolargo 079f926eb1 Add disable background option in glances.conf file - #3113 2025-03-02 17:32:45 +01:00
nicolargo c70eb857ba I'd like a feature to make the forground color for colored background white #3119 2025-03-01 17:19:34 +01:00
nicolargo 979d040f7b Merge branch 'issue410' into develop 2025-03-01 16:21:13 +01:00
nicolargo 8e8773d1c2 Change button style 2025-03-01 16:02:20 +01:00
nicolargo b206938f95 Update CSS style for extended stats 2025-03-01 15:30:00 +01:00
Nicolas Hennion 1aa8d221f1
Merge pull request #3118 from jo-chemla/quickfix-glances-grafana-flux.json
Replace `docker` by `containers` in `glances-grafana-flux.json`
2025-02-27 17:44:12 +01:00
Jonathan Chemla e14e49a2fd
Replace `docker` by `containers` in `glances-grafana-flux.json`
Typo probably introduced following a naming convention change that was not repercuted on that grafana fluxQL influxdb2 dashboard JSON
2025-02-25 09:51:12 +01:00
nicolargo f9bbcea9e1 First version OK, need change on UI 2025-02-23 19:50:48 +01:00
nicolargo c32d363897 Merge branch 'issue410' of github.com:nicolargo/glances into issue410 2025-02-22 10:13:22 +01:00
renovate[bot] 6a265be9d5
chore(deps): update actions/stale action to v9 2025-02-19 09:49:45 +00:00
Nicolas Hennion c00383f0b0
Merge pull request #3106 from almkuznetsov/config-dir
default_config_dir: Fix config path to include glances/ directory
2025-02-19 10:49:06 +01:00
Alexander Kuznetsov bafe0e2438 docs: Fix default config path typos 2025-02-17 16:28:27 +03:00
Alexander Kuznetsov 7e28116252 default_config_dir: Fix config path to include glances/ directory
Non-venv default config path was /usr/share/doc/glances.conf
(not /usr/share/doc/glances/glances.conf) since a55970a.

Fix it and place the venv path to the end of the paths list,
so it will have priority over the system default.
2025-02-17 16:26:44 +03:00
nicolargo e1dcfc38c5 _api_get_extended_processes is called several time per second. Should be corrected. 2025-02-08 17:48:15 +01:00
nicolargo 1345bc24d5 Entry point in the API to get extended process stats #3095 2025-01-26 09:54:23 +01:00
nicolargo 0c6c488627 Lint the code 2025-01-25 11:11:17 +01:00
nicolargo 4a4cb135da [Docker plugin] KeyError: 'mem' cause 'Exception in ASGI application' #3091 2025-01-25 11:05:21 +01:00
nicolargo 233a47e971 Error on Cloud plugin initialisation make TUI crash #3085 2025-01-19 19:54:26 +01:00
Nicolas Hennion c93df694d9
Update docker-compose.yml
Update Docker-Compose
2025-01-15 09:56:29 +01:00
Nicolas Hennion c536fcde77
Update docker-compose.yml
Dockerized Web Sever mode with login/password #2684
2025-01-15 09:55:40 +01:00
Nicolas Hennion 7eb488ba77
Update README.rst
Add OSSRank
2025-01-13 10:33:38 +01:00
Nicolas Hennion d2e2b8fb17
Merge pull request #3083 from mizulike/develop
Fixed minor typos
2025-01-11 17:35:18 +01:00
mizulike 296b2ece60 Fixed typos 2025-01-10 03:45:36 +01:00
nicolargo e4bc144f31 Add Selenium test with different resolution 2025-01-04 15:48:53 +01:00
nicolargo 3ad94bc095 Refactor dynamic plugin max size computation in the __display_right method 2025-01-04 15:10:59 +01:00
nicolargo d5f8418387 Again on the road to Glances 4.3.1 2025-01-04 11:24:00 +01:00
nicolargo 5090cd4493 Update NEWS 2025-01-04 11:23:05 +01:00
nicolargo e907519c4a version 4.3.0.8 2025-01-04 11:21:51 +01:00
nicolargo d264155fc2 Add a message to verify Netifaces2 2025-01-04 11:20:08 +01:00
nicolargo 728f86fa5e IP plugin broken with Netifaces2 #3076 2025-01-04 11:12:25 +01:00
nicolargo 2c9beccea5 Improve WebUI display on low screen 2025-01-04 10:14:34 +01:00
nicolargo 0b818e99fa On the road again again to 3.4.1 2025-01-03 10:23:38 +01:00
nicolargo 372380bdb9 version 4.3.0.7 2025-01-03 10:20:15 +01:00
nicolargo c711a63322 Full responsive WebUI 2025-01-03 10:08:36 +01:00
nicolargo bfdc27dc2c Make the header and top menu responsive 2024-12-31 17:45:38 +01:00
nicolargo 7e3948b72e On the road (again) to Glances 4.3.1 2024-12-30 15:20:20 +01:00
nicolargo 7a2ee52362 version 4.3.0.6 2024-12-30 15:15:43 +01:00
renovate[bot] f1054c5eea
Update docker/build-push-action action to v6 2024-12-30 14:11:07 +00:00
nicolargo 1588375624 Merge branch 'issue3055' into develop 2024-12-30 15:09:15 +01:00
nicolargo c0270056b7 Merge branch 'develop' into issue3055 2024-12-30 15:08:47 +01:00
nicolargo dd93371dc4 Browser mode do not working with the sensors plugin #3069 2024-12-30 15:07:12 +01:00
nicolargo 5274339774 Browser do not working 2024-12-30 14:19:26 +01:00
renovate[bot] 4c3e8f9448
Update dependency ubuntu to v24 2024-12-30 12:42:00 +00:00
nicolargo 825b9879c8 Disable Renovate for Lock file 2024-12-30 11:57:11 +01:00
nicolargo 3b67eb1c79 Remove test on Windows and Python 3.13 2024-12-29 15:09:58 +01:00
nicolargo c372d35f2c Make the test compliant with Windows 2024-12-29 13:36:04 +01:00
nicolargo acb206ef78 Refactor memory leak 2024-12-29 13:27:57 +01:00
nicolargo bd35c77437 Disable history test on Windows 2024-12-29 13:26:19 +01:00
nicolargo b77d1b36b3 Semgrep is not available on Windows 2024-12-29 13:15:16 +01:00
nicolargo 797b0d06b1 Add memory leak unitary test 2024-12-29 13:07:54 +01:00
nicolargo 6124da2e59 Move all the Python test files in ./tests/ folder 2024-12-28 18:31:39 +01:00
nicolargo f730bf3aa2 Correct an issue with the fs plugin in test_perf 2024-12-28 18:27:43 +01:00
nicolargo b33cd3fd2b Add dep for run test in CI 2024-12-28 18:20:20 +01:00
nicolargo 8fb49d99b1 Improve unittest (PyTest, add perf, add Selenium) #2757 2024-12-28 18:09:08 +01:00
nicolargo 1624e66f48 Improve unittest #2757 2024-12-28 18:08:52 +01:00
nicolargo b4402bfc53 Merge branch 'develop' into issue2757 2024-12-28 13:52:42 +01:00
nicolargo ef602ac59e Get back to road for Glances 4.3.1 2024-12-28 13:52:08 +01:00
nicolargo c8a592b5b7 Merge branch 'master' into develop 2024-12-28 13:51:15 +01:00
nicolargo ae31259709 version 4.3.0.5 2024-12-28 13:49:54 +01:00
nicolargo d457fad293 WebUI errors in 4.3.0.4 on iPad Air (and Browser with low resolution) #3057 2024-12-28 13:47:21 +01:00
nicolargo 790bd5bfad WebUI errors in 4.3.0.4 on iPad Air (and Browser with low resolution) #3057 2024-12-28 13:46:14 +01:00
nicolargo 233f5a68df WebUI errors in 4.3.0.4 on iPad Air (and Browser with low resolution) #3057 2024-12-28 13:45:34 +01:00
nicolargo 3ec94d32f0 Switch to Chrome for Selenium 2024-12-28 13:16:11 +01:00
nicolargo bce9fe3621 Before switching to Chrome/2 2024-12-28 10:25:55 +01:00
nicolargo d92c18784e Before switching to Chrome 2024-12-28 10:25:37 +01:00
nicolargo 754898854f Merge branch 'develop' into issue2757 2024-12-28 09:57:34 +01:00
nicolargo c8cb4d05b3 Build for SNAP 2024-12-28 09:57:06 +01:00
nicolargo 7e1b7e34db Disable VMS by default to make it renable in SNAP 2024-12-28 09:53:00 +01:00
nicolargo df5ecca044 Back to dev 2024-12-28 09:17:46 +01:00
nicolargo 287df49af2 Rebuild Snap with multipass support 2024-12-28 09:16:39 +01:00
nicolargo 18e386a5dd Merge branch 'master' into develop 2024-12-28 09:07:55 +01:00
nicolargo bc201df05b version 4.3.0.4 2024-12-28 09:07:25 +01:00
nicolargo ec0d5695a9 First test with Selenium 2024-12-28 09:00:50 +01:00
nicolargo 4bb39232fe Merge branch 'develop' into issue2757 2024-12-27 22:09:20 +01:00
nicolargo 5faad4b13c Reapply "Replace netifaces by netifaces-plus #3053"
This reverts commit 85b786c832.
2024-12-27 21:59:51 +01:00
nicolargo 80f330d866 version 4.3.0.3 2024-12-27 21:56:00 +01:00
nicolargo ebf5431592 version 4.3.0.2 2024-12-27 21:22:34 +01:00
nicolargo 85b786c832 Revert "Replace netifaces by netifaces-plus #3053"
This reverts commit 9da81638b9.
2024-12-27 21:20:24 +01:00
nicolargo 86082963b3 version 4.3.0.1 2024-12-27 21:05:02 +01:00
nicolargo 236d2f80e3 CONTAINERS section missing in 4.3.0 WebUI #3052 2024-12-27 21:00:39 +01:00
nicolargo 9da81638b9 Replace netifaces by netifaces-plus #3053 2024-12-27 20:42:35 +01:00
nicolargo dbb791fa58 Update Python version for containers 2024-12-27 16:10:05 +01:00
nicolargo 7439ec1625 On the road to Glances 3.4.1 2024-12-27 15:29:12 +01:00
nicolargo e09530693f version 4.3.0 2024-12-27 15:15:46 +01:00
nicolargo 1a4eeaee01 Merge branch 'master' into develop 2024-12-27 11:56:31 +01:00
nicolargo e14934a197 Update profiling file 2024-12-27 11:53:34 +01:00
nicolargo 8276ddd184 Enable PyTest in the Github pipeline 2024-12-26 11:08:06 +01:00
nicolargo c828f21753 Updata min-test 2024-12-26 10:54:50 +01:00
nicolargo 61edf4daf5 Make main.py comliant with PyTest (concerning args) 2024-12-26 10:49:26 +01:00
nicolargo b491cbe42b Make main.py comliant with PyTest (concerning args) 2024-12-26 10:48:50 +01:00
nicolargo b6865d8cff Remove now plugin in the left menu of the WebUI (in the make webui task) 2024-12-25 09:35:08 +01:00
nicolargo 0ed44f2c13 Make the glances/outputs/static/js/uiconfig.json generated automaticaly from the make webui task 2024-12-25 09:31:29 +01:00
nicolargo f3d9e3feee [WebUI] Unecessary space between Processcount and processlist #3032 2024-12-23 19:19:43 +01:00
nicolargo 499e46cf44 Unexpected behaviour while running glances in docker with --export influxdb2 #2904 2024-12-23 16:17:32 +01:00
nicolargo 695559c72a Align conf file 2024-12-23 11:52:57 +01:00
nicolargo 01e007deaa Allow containers columns to be selected in config file #2722 2024-12-23 11:51:09 +01:00
nicolargo b6fc1596a9 Done for the WebUI 2024-12-23 11:50:53 +01:00
nicolargo 1980569c90 Done in the TUI 2024-12-23 11:39:17 +01:00
nicolargo 96ed18e503 Remove unused NICE level in color 2024-12-23 10:58:34 +01:00
nicolargo de8341b5b5 Improve CAREFUL_LOG display on 256 color terminal 2024-12-23 10:47:42 +01:00
nicolargo c6e7281e1b Update API docs 2024-12-22 20:02:44 +01:00
nicolargo 077d5fee5b Merge branch 'issue3042' into develop 2024-12-22 19:19:14 +01:00
nicolargo 0e9e74fa8c [WEBUI] Clear old alert messages in the WebUI #3042 2024-12-22 19:13:46 +01:00
nicolargo cf56203c09 Create entry point for clear warnig/all events in the API 2024-12-21 16:14:47 +01:00
nicolargo a20362d68e Update glances.conf for container 2024-12-21 15:38:48 +01:00
nicolargo faf4d3cbf6 Glances 4.3.0_dev06 2024-12-21 15:22:11 +01:00
nicolargo 183772cf3e Merge branch 'issue3049' into develop 2024-12-21 15:19:49 +01:00
nicolargo 890b5d5dd2 Raise an (Alert) Event for a group of sensors #2692 2024-12-21 15:19:34 +01:00
Nicolas Hennion d9725d623f
Merge pull request #3045 from ariel-anieli/revert-98e8e32457dcf6129c8c6084e03675268ac20f9f
Revert "Reduced complexity of `unittest-core.TestGlances._common_plugin_tests()`"
2024-12-21 13:18:48 +01:00
nicolargo 53d5a0f1a6 Glances 4.3dev05 2024-12-14 17:08:35 +01:00
nicolargo d0b9ea69b6 Update WebUI dep 2024-12-14 09:29:27 +01:00
nicolargo 577605f772 Update documentation 2024-12-14 09:28:45 +01:00
Ariel Otilibili 2134174758 Revert "Reduced complexity of `unittest-core.TestGlances._common_plugin_tests()`"
* reverting 98e8e32457
* introduced #3040.
2024-12-08 21:12:25 +01:00
Nicolas Hennion 8258101d35
Merge pull request #3029 from ariel-anieli/glances-processes
Refactored `glances.processes.GlancesProcesses.update`, version 2
2024-12-08 19:10:19 +01:00
nicolargo af808c48e8 Correct unittest with programame 2024-12-08 18:52:50 +01:00
Ariel Otilibili cb53393f83 Refactored `glances.processes.GlancesProcesses.update`, version 2
* part of #2801
* second take of 1fda541350
* reverted in 0c635af10d.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-23 13:43:38 +01:00
Ariel Otilibili 4345e9877b Fix Ruff warnings in GitHub Actions
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-23 13:43:11 +01:00
nicolargo ce0e3c7945 Correct display issue on Containers plugin in WebUI #3028 2024-11-23 10:16:36 +01:00
nicolargo 2061d1b42c Refactor display of +time in WebUI 2024-11-21 19:47:25 +01:00
nicolargo 55d42d358d Make top menu dynamic on WebUI 2024-11-21 19:18:13 +01:00
nicolargo 9e945f1bb7 Merge branch 'issue3024' into develop 2024-11-20 15:03:03 +01:00
nicolargo 21d17c2d44 Improve CCS of WebUI #3024 2024-11-20 15:02:47 +01:00
nicolargo fb25a6f4f4 Bug In the Web-UI, Timestamps for 'Warning or critical alerts' are showing incorrect month #3023 2024-11-20 13:15:28 +01:00
nicolargo 16c5c71cdc Update WebUI 2024-11-20 09:49:30 +01:00
nicolargo 86c07a3fb4 Merge branch 'jdrouhard-fix-network-disk-filter' into develop 2024-11-20 09:48:32 +01:00
John Drouhard 3fdc5402be WebUI: Fix network/diskio filter when property doesn't exist 2024-11-17 14:25:43 -06:00
nicolargo 40299a633e WebUI doesn't display valid time for process list #2902 2024-11-17 19:18:12 +01:00
nicolargo feefcd417d Update pretty_date 2024-11-17 18:45:51 +01:00
nicolargo e1e4e8bda9 Uptime for Docker containers not working #3021 2024-11-17 18:31:44 +01:00
nicolargo 734632faa2 Merge branch 'issue3019' into develop 2024-11-17 15:32:57 +01:00
nicolargo 8d1a5ca189 Thread mode ('j' hotkey) is not taken into accound in the WebUI #3019 2024-11-17 15:32:34 +01:00
nicolargo a7d5b1e869 Thread mode ('j' hotkey) is not taken into accound in the WebUI #3019 2024-11-17 15:31:10 +01:00
nicolargo fa57d5a5ab Disable 'j' hotky in WebUI - Waiting for #3019 2024-11-16 17:05:11 +01:00
nicolargo 2ec5c8d251 Code refactor after reading https://blog.codingconfessions.com/p/the-pythonic-emptiness?utm_source=tldrwebdev 2024-11-16 16:09:53 +01:00
nicolargo a36c2bf87a Rework CI to split build Pypi packages and build Docker images 2024-11-16 16:08:12 +01:00
nicolargo ddd7e5ebe4 Try with a new develop version to check last commit 2024-11-16 15:26:42 +01:00
nicolargo 494b0a01c5 Try with a new develop version to check last commit 2024-11-16 15:16:08 +01:00
nicolargo c36ad5d4ff Try new build and publish to Pypi CI actions - Correct issue 2024-11-16 15:07:07 +01:00
nicolargo 7ef4b6642b Try new build and publish to Pypi CI actions 2024-11-16 14:52:23 +01:00
nicolargo 77e3c4968d Revert commit 57868c7 waitin implementation of issue 3020 2024-11-16 12:15:21 +01:00
nicolargo 57868c70f5 CI - Allow develop branch to overwrite Pip package in Pypi Test 2024-11-16 11:49:10 +01:00
nicolargo 8cf98e59e6 Update docs 2024-11-16 11:47:32 +01:00
nicolargo c5fc63b53a Merge branch 'issue2996' into develop 2024-11-16 11:39:51 +01:00
nicolargo 3f26fb85f6 Ability to specify hide or show for smart plugin #2996 2024-11-16 11:39:24 +01:00
nicolargo 07656fd7ff Network problem when no bitrate available #3014 2024-11-15 18:06:20 +01:00
nicolargo 9fe0c812a0 SyntaxError: f-string: unmatched '[' in server list (on the DEVELOP branch only) #3018 2024-11-15 18:01:47 +01:00
nicolargo 318a61da6c Add a target to start Glances with Htop features 2024-11-11 17:09:24 +01:00
Nicolas Hennion 1910004d21
Merge pull request #3013 from nicolargo/revert-3009-refactor-glances-processes
Revert "Refactored `glances.processes.GlancesProcesses.update`"
2024-11-11 16:52:26 +01:00
Nicolas Hennion 0c635af10d
Revert "Refactored `glances.processes.GlancesProcesses.update`" 2024-11-11 16:52:02 +01:00
nicolargo b59f9a3957 Merge branch 'ariel-anieli-refactor-glances-processes' into develop 2024-11-11 16:49:29 +01:00
nicolargo 279a27f60f Correct merge issue 2024-11-11 16:49:10 +01:00
nicolargo 0370c91567 Issue with ports plugin (for URL request) #3008 2024-11-11 16:21:58 +01:00
nicolargo da54624d5a Merge branch 'issue3010' into develop 2024-11-11 16:04:21 +01:00
nicolargo 28fb7bff62 FS module alias configuration do not taken into account everytime #3010 2024-11-11 16:04:09 +01:00
nicolargo 10543581ed Merge branch 'issue1524' into develop 2024-11-11 15:27:20 +01:00
nicolargo 172dda97de Remove test in the glances.conf file 2024-11-11 15:26:59 +01:00
nicolargo 82c2ade01f Implementation for WebUI ok 2024-11-11 15:03:19 +01:00
Ariel Otilibili 1fda541350 Refactored `glances.processes.GlancesProcesses.update`
Part of #2801.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-11 13:09:31 +01:00
nicolargo 34520ca45b First version but only for the TUI standalone mode 2024-11-10 20:00:40 +01:00
nicolargo e1cd3ded23 Add Memory profiling 2024-11-10 17:06:02 +01:00
nicolargo ff9339b74f Refactor code in order to prepare the feature request #1524 2024-11-10 14:57:05 +01:00
nicolargo 7a57263b81 Reduce complexity of __init__ for processes.py 2024-11-10 14:09:25 +01:00
nicolargo 42b87acb55 Update profiling 2024-11-10 13:59:42 +01:00
nicolargo f980608724 Updae theme 2024-11-09 15:32:53 +01:00
Nicolas Hennion a3341b196e
Merge pull request #3006 from ariel-anieli/bump-ruff
Bump ruff target to Python 3.9
2024-11-09 14:40:58 +01:00
Ariel Otilibili 5791a19017 `make lint` in `glances/plugins/containers/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili ffb2af1b66 `make lint` in `glances/plugins/containers/engines/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 170dda4eac `make lint` in `glances/plugins/containers/engines/docker.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili aaf660c1c1 `make lint` in `glances/plugins/containers/engines/podman.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili e763c9b4f1 `make lint` in `glances/plugins/sensors/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 4ad93e629d `make lint` in `glances/plugins/vms/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 776a2356b2 `make lint` in `glances/plugins/vms/engines/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 0e83631b97 `make lint` in `glances/plugins/vms/engines/multipass.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 7d1b9a3bf3 `make lint` in `glances/globals.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 6ea8244906 `make lint` in `glances/cpu_percent.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili f92150a4f6 Bumped ruff target to Python 3.9
* sequel of b537f454c1
* prelude to subsequent changes due to ruff [Link]

Link: https://docs.astral.sh/ruff/rules/non-pep585-annotation/
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:19:47 +01:00
nicolargo 037c0d2cf9 Avoid error when stop / restart web server in the Glances Central Browser 2024-11-09 10:17:17 +01:00
nicolargo 530f4e37b0 Update unit-test for Glances Central Browser 2024-11-09 09:38:51 +01:00
nicolargo c60b4bf2eb Add unit-test for new entry point in the API (plugin/item/key) 2024-11-09 09:13:37 +01:00
Nicolas Hennion 76d8cbe251
Merge pull request #3005 from ariel-anieli/python-bump
Bumped minimal Python version to 3.9
2024-11-09 08:45:25 +01:00
nicolargo af156665a4 Remove log message used during debug 2024-11-08 19:33:17 +01:00
nicolargo 773ebd9920 Remove log message used during debug 2024-11-08 19:32:37 +01:00
nicolargo 64e8cf4221 Issue when display sensors with space in browser #2983 2024-11-08 19:31:35 +01:00
nicolargo cd70a8091f Correct issue when key name contains space - Related to #2983 2024-11-08 19:19:56 +01:00
nicolargo 15d993a2cc Remove the test in glances.conf file 2024-11-08 18:22:08 +01:00
nicolargo efd79b0bd8 Correct an issue on the Webbrowser, the column list is now shared between static and dynamic Glances servers list 2024-11-08 18:21:40 +01:00
nicolargo a9e3820947 Update doc and WebUI 2024-11-08 15:26:44 +01:00
Ariel Otilibili 27116443b7 `make format`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-08 15:19:40 +01:00
Ariel Otilibili b537f454c1 Bumped minimal Python version to 3.9
* Python 3.8 is now end of life [Link]
* changed occurrences found with `git grep -P '[^\d\.]3\.8[^\d]'`
* so doing, removed unused branch in `glances/outputs/glances_restful_api.py`
* branch introduced by f6545580db
* ruff also needs a bump; i.e, `s/py38/py39/`
* not done yet, since it needs to clear out warnings.

Link: https://devguide.python.org/versions/
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-08 15:19:40 +01:00
nicolargo 114435e033 Thresholds not displayed in the WebUI for the DiskIO plugin #1498 2024-11-08 15:14:41 +01:00
nicolargo eebab00720 Update docs 2024-11-08 12:37:36 +01:00
nicolargo e2b53594ec Update glances.conf 2024-11-08 12:36:54 +01:00
nicolargo 0eaa3727a1 Merge branch 'issue1121' into develop 2024-11-08 12:36:02 +01:00
nicolargo 0f641cb9eb Merge branch 'develop' into issue1121 2024-11-08 12:35:41 +01:00
nicolargo 2495677d7b Update doc 2024-11-08 12:28:58 +01:00
nicolargo dc5c182ee8 The Web browser client should detect clients on the same LAN (thanks to zeroconf, like it is already done in --browser XMLRPC client/server mode) 2024-11-08 11:59:18 +01:00
nicolargo 7ac7171a3f Improve theme and refactor getDecoration for stats 2024-11-08 09:17:51 +01:00
nicolargo d0629ea128 Change the default path for graph export to /tmp/glances 2024-11-06 15:42:40 +01:00
Nicolas Hennion 6bfccdf87f
Merge pull request #3000 from shidetian/patch-1
add comparable NVML_LIB check for Windows
2024-11-06 14:52:21 +01:00
Nicolas Hennion 08c31b810f
Merge pull request #2998 from ariel-anieli/ip-model
Refactored `glances.plugins.ip.PluginModel.update`
2024-11-06 14:49:53 +01:00
nicolargo ce3f740a2f Change theme 2024-11-06 14:44:28 +01:00
nicolargo e6e6b16aad Update SCSS for browser mode 2024-11-04 08:06:43 +01:00
nicolargo 0d908034ab Display the list and click on a server is OK 2024-11-03 16:30:35 +01:00
Detian Shi bcd7b3d9c6
remove unused variable 2024-11-02 17:06:17 -07:00
Detian Shi 30a31eda81
add comparable NVML_LIB check for Windows 2024-11-02 16:48:42 -07:00
nicolargo e1dd979b86 Refactor server list code in order to put all the methodin the servers_list.py file 2024-11-02 16:23:31 +01:00
nicolargo 799dcab034 Add WebUI Central Browser 2024-11-02 09:00:31 +01:00
nicolargo 3352f095b6 Refactor servers list (static and dynamic) 2024-11-02 08:59:45 +01:00
Ariel Otilibili cd5877daf0 Refactored `glances.plugins.ip.PluginModel.update`
* part of #2801
* formatted into a dict; if input method is SNMP, returns default stats
* if input method is local, calls `get_stats_for_local_input`
* it has three steps:  `get_private_ipv4`, `get_first_ipv4`, `get_public_ipv4`.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-01 21:06:14 +01:00
nicolargo d538b2dd13 First step done - Rest server are managed in the current TUI client browser 2024-11-01 14:29:33 +01:00
nicolargo f12de6619b Publish a new snap release 2024-11-01 12:01:34 +01:00
nicolargo ce0fc37952 Disable attestations check 2024-11-01 11:53:12 +01:00
nicolargo 1f5deb3f83 Disable attestations check 2024-11-01 11:46:39 +01:00
nicolargo ac8cd748f3 Merge branch 'master' into develop 2024-11-01 11:24:14 +01:00
nicolargo ccf837eb9f Add attestations to allow publishing to Pypi 2024-11-01 11:21:28 +01:00
nicolargo 23f4c55147 On the road again (again) to Glances 4.3.0 2024-11-01 11:04:44 +01:00
nicolargo 6095eadd30 Did not generate Pypi test if not on the develop branch 2024-11-01 10:53:52 +01:00
nicolargo 5a3ce6e8aa version 4.2.1 2024-11-01 10:38:11 +01:00
nicolargo 72f142d2ac Update requirements 2024-11-01 10:20:12 +01:00
nicolargo 1f505dda60 [WEBUI] Came back to default Black Theme / Reduce font size #2993 2024-11-01 09:55:47 +01:00
nicolargo a3b8ca83d4 Format code 2024-11-01 07:40:38 +01:00
nicolargo 63c7cfcfe8 Format code 2024-11-01 07:37:54 +01:00
Bharath Vignesh J K 6ee3683172 fix: ReST API - typing imports support for py38
fixes #2992
2024-11-01 02:10:24 +05:30
Nicolas Hennion 8767de51f2 Correct issue with variable name in the last commit 2024-10-31 16:31:48 +00:00
Nicolas Hennion ac7ab9ea84 Do not display error message in loop when containers list can not be retrieve (only first time after a failure). 2024-10-31 16:28:56 +00:00
Nicolas Hennion 49d15b20da Avoid importing pynvml if NVML_LIB is not installed 2024-10-31 16:09:59 +00:00
Nicolas Hennion a6956bf7ee Possible memory leak #2976 2024-10-31 15:39:13 +00:00
nicolargo a2c609ca6f Update WebUI 2024-10-26 17:14:12 +02:00
nicolargo ffba4ca6f4 hide_zero=True option not working in the WebUI #2987 2024-10-26 12:37:56 +02:00
nicolargo 5b091f413b Non blocking error message when Glances starts from a container (alpine-dev image) #2991 2024-10-26 10:54:53 +02:00
nicolargo 34da61647b Non blocking error message when Glances starts from a container (alpine-dev image) #2991 2024-10-26 10:53:15 +02:00
Nicolas Hennion ff1cde4ffb
Merge pull request #2990 from branchvincent/pyproject
Make pyproject.toml's version dynamic
2024-10-24 08:13:26 +02:00
Branch Vincent 0e40ec657e
Make pyproject.toml's version dynamic 2024-10-23 15:19:02 -07:00
Branch Vincent 47da2a6967
Revert "Set the version by reading directly the pyproject file in local (dev and Docker) - Related to #2956"
This reverts commit 68104b7d0f.
2024-10-23 15:16:20 -07:00
Branch Vincent 6479a6c38d
Revert "Set the version by reading directly the pyproject file in local (dev and Docker) - Related to #2956"
This reverts commit 604d805828.
2024-10-23 15:16:10 -07:00
nicolargo 604d805828 Set the version by reading directly the pyproject file in local (dev and Docker) - Related to #2956 2024-10-23 23:12:55 +02:00
nicolargo 68104b7d0f Set the version by reading directly the pyproject file in local (dev and Docker) - Related to #2956 2024-10-23 23:03:43 +02:00
Nicolas Hennion 2d0dcb18e1
Merge pull request #2977 from ariel-anieli/pretty-date
Refactored `glances.globals.pretty_date()`, version 2
2024-10-23 22:29:36 +02:00
nicolargo b2b6879dd5 Update version (in order to test #2956) and rebuild the Web UI 2024-10-23 22:06:08 +02:00
nicolargo 039dd00c96 Desable warning message concerning version when executed in local - Related to #2956 2024-10-23 22:02:06 +02:00
Nicolas Hennion 4f692fa185
Merge pull request #2984 from branchvincent/pyproject
Migrate to pyproject.toml, add 3.13 support
2024-10-23 21:53:22 +02:00
nicolargo 5732a52fbc Update docs 2024-10-23 21:29:37 +02:00
Nicolas Hennion 88a804b57b
Merge pull request #2985 from uoguelph-engg4450/Lukas-Dev
Implement Improve hide_zero option #2958
2024-10-23 21:07:30 +02:00
nicolargo d343131487 Add id-token action to deploy with trusted publisher for release 2024-10-23 20:33:36 +02:00
nicolargo 0bbbd8fce2 Add id-token action to deploy with trusted publisher 2024-10-23 20:24:58 +02:00
Ariel Otilibili 9e1d977a26 Refactored `glances.globals.pretty_date()`, version 2
* part of #2801
* follows from f6279baacd4cf0b27ca10df6dc01f091ea86a40a; which caused #2973.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-10-22 22:35:51 +02:00
Tacitor 9ad511ad05 add the changes to give a threshold in the config to cut off small values 2024-10-20 21:46:43 -04:00
Tacitor 31abc57c2a add a todo statement 2024-10-20 20:15:15 -04:00
Branch Vincent 04a1770ebd
Add 3.13 support 2024-10-20 12:30:55 -07:00
Branch Vincent 44ae3e5f0b
Migrate to pyproject.toml 2024-10-20 12:13:54 -07:00
nicolargo 73fd34e588 Remove token from Github action 2024-10-20 18:56:50 +02:00
nicolargo e02d95083b On the road of Glances 4.3.0 2024-10-20 18:29:49 +02:00
nicolargo a8608f17d6 version 4.2.0 2024-10-20 18:02:15 +02:00
nicolargo 7d44a2f554 Solve merge conflict 2024-10-20 17:38:57 +02:00
nicolargo d67d4e3d0e Glances 4.2.0 2024-10-20 17:37:34 +02:00
nicolargo e1f7ec252f Unit test with epoch fail on Github because of the timezone, remove it from test_021 2024-10-20 14:04:10 +02:00
nicolargo c2cb7cc788 Correct some minor issue in SNMP mode 2024-10-19 19:31:13 +02:00
nicolargo ddb7cfabc7 Do not display Unknown information in the cloud plugin #2485 2024-10-19 18:35:35 +02:00
nicolargo ea11ee9243 Incomplete pipx install to allow webui + containers #2955 2024-10-19 17:27:54 +02:00
nicolargo 9cf60be628 Remove unused lib in globals.py 2024-10-19 15:31:01 +02:00
nicolargo 5f3350e62f Merge branch 'issue2979' into develop 2024-10-19 15:27:43 +02:00
nicolargo 315678b5bd Use defusedxml lib #2979 2024-10-19 15:27:13 +02:00
nicolargo d39d7c7dfa In TUI, when processes are filtered, column are not aligned #2980 2024-10-19 14:57:53 +02:00
nicolargo cac964df3c Merge branch 'issue2942' into develop 2024-10-19 10:17:21 +02:00
nicolargo 06ab6144b4 Can't kill process. Standalone, Ubuntu 24.04 #2942 2024-10-19 10:16:50 +02:00
nicolargo a1c0be479f Erreur Internal Server Error à partir de la V4.1.0 et suivante #2943 2024-10-19 09:59:15 +02:00
nicolargo dc8707ad33 Update docs 2024-10-19 09:52:04 +02:00
nicolargo eed2ec954a Lint and format 2024-10-19 09:36:56 +02:00
nicolargo 4afe46a2cb Make feature #1289 compatible with multiple keys 2024-10-13 17:45:45 +02:00
nicolargo 119add783e Add additional test for pretty-date 2024-10-13 16:38:49 +02:00
nicolargo 13606da667 Update WebUI 2024-10-13 16:30:58 +02:00
nicolargo db9785e37f Add unitary tests for pretty-date 2024-10-13 16:28:28 +02:00
nicolargo 7f2454154f Filter Docker containers - #2962 2024-10-13 15:42:13 +02:00
Nicolas Hennion 8b8c61cc7c
Merge pull request #2975 from nicolargo/revert-2961-pretty-date
Revert "Refactored `glances.globals.pretty_date()`"
2024-10-13 14:55:17 +02:00
Nicolas Hennion 25b87a08ae
Revert "Refactored `glances.globals.pretty_date()`" 2024-10-13 14:54:27 +02:00
Nicolas Hennion 0cdf2d62e7
Merge pull request #2974 from casse-boubou/Add-'Availability'-topic-to-MQTT-connection
Add retain to availability topic
2024-10-13 14:48:00 +02:00
Github GPG acces 252f593bcc
reformatted for pass ruff test 2024-10-13 11:06:03 +02:00
Github GPG acces 4eb5f540c1
Add retain to availability topic
Added the forgotten topic retain, but important for this kind of data
2024-10-13 10:45:23 +02:00
nicolargo 77e9eb3306 Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-10-12 09:59:41 +02:00
nicolargo a1b07690e4 Refactor WebUI responsive 2024-10-12 09:59:30 +02:00
Nicolas Hennion e57eeb8089
Merge pull request #2961 from ariel-anieli/pretty-date
Refactored `glances.globals.pretty_date()`
2024-10-09 10:01:21 +02:00
Ariel Otilibili f6279baacd Refactored `glances.globals.pretty_date()`
* part of #2801
* instead of many, a single return point is used
* refactoring possible because `OrderedDict` preserve insertion order [1]
* though `dict` preverse order since 3.6, used `OrderedDict` for safety [2]
* introduced as helpers:

1. `get_diff_time`
2. `get_msg_for_true_cond`
3. `get_conds_for_sec_diff_msg`
4. `get_conds_for_day_diff_msg`.

[1] https://docs.python.org/3/library/collections.html#collections.OrderedDict
[2] https://peps.python.org/pep-0520/

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-10-08 20:26:20 +02:00
nicolargo adfb642539 Improve docs for Web API 2024-10-06 17:49:45 +02:00
Nicolas Hennion 702b747d9d
Merge pull request #2960 from casse-boubou/Add-'Availability'-topic-to-MQTT-connection
Add 'Availability' topic to MQTT connection
2024-10-06 17:19:31 +02:00
Nicolas Hennion b2a2a96292
Merge pull request #2959 from ariel-anieli/plugins-port-alerts
Reduced `get_web_alert` & `get_ports_alert`
2024-10-06 17:17:38 +02:00
nicolargo 65abadfe00 Remove default conf (column def) from the config file 2024-10-06 17:16:16 +02:00
Github GPG acces 2af34b3069
Add 'Availability' topic to MQTT connection
Addition of the 'availability' topic: Online or Offline when using the --export MQTT option in the case where other devices on the same broker are looking for our Glances instance
2024-10-06 15:12:45 +02:00
Ariel Otilibili f8fe7e2d64 Reduced `get_web_alert` & `get_ports_alert`
* sequel of cbd166bf0baef31650f67cda4f357c8f4de38064; part of #2801
* `get_web_alert` & `get_ports_alert` rely on `get_p_alert`
* each needs an helper: if `get_web_alert`, the helper is `get_conds_if_url`
* if `get_ports_alert`, it is `get_conds_if_port`
* `get_p_alert` uses the helper with `get_default_ret_value`.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-10-06 12:01:51 +02:00
nicolargo 10cc1dbe82 Merge branch 'issue1289' into develop 2024-10-06 11:20:25 +02:00
nicolargo 56d7801afb Feature request: make the central client UI configurable (example: GPU status) #1289 2024-10-06 11:20:12 +02:00
Nicolas Hennion 6e485a2bad
Merge pull request #2957 from ariel-anieli/plugin-port-msg
Fixed typos, refactored  `glances.plugins.ports.PluginModel.msg_curse()`
2024-10-05 13:06:35 +02:00
nicolargo f27c39c74a Update docs 2024-10-05 13:03:40 +02:00
nicolargo 612615bc79 Merge branch 'issue2914' into develop 2024-10-05 13:01:55 +02:00
nicolargo 3a860dd4c2 Merge branch 'develop' into issue2914 2024-10-05 13:01:38 +02:00
nicolargo e2d3179c43 Help also done 2024-10-05 13:00:46 +02:00
Ariel Otilibili cbd166bf0b Refactored `glances.plugins.ports.PluginModel.msg_curse()`
Part of #2801.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-10-04 21:43:25 +02:00
Ariel Otilibili 3ede32a359 Fixed typos
```
$ git grep 'emptu' | awk -F: '{print $1}' | xargs -I {} sed -ie 's/emptu/empty/' {}; echo $?
0
```

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-10-04 20:20:12 +02:00
Nicolas Hennion 7ab8a39846
Merge pull request #2954 from ariel-anieli/makefile
Refactored `webui*` rules
2024-10-02 15:05:54 +02:00
nicolargo 3f97874c63 Almost ok 2024-09-29 18:52:42 +02:00
nicolargo 2e1abd3986 Docne for containers and processlist and amps 2024-09-28 18:28:10 +02:00
Ariel Otilibili dec419f443 Refactored `webui*` rules
* part of #2906
* output is unchanged.

```
$ git log --oneline -n1 --pretty=short
commit f2f97e2f (HEAD -> makefile)
Author: Ariel Otilibili <otilibil@eurecom.fr>

    Refactored `webui*` rules

$ make webui -n >> /tmp/makefile; echo $?
0

$ make webui-audit -n >> /tmp/makefile; echo $?
0

$ make webui-audit-fix -n >> /tmp/makefile; echo $?
0

$ git switch develop
Switched to branch 'develop'
Your branch is up to date with 'origin/develop'.

$ git log --oneline -n1 --pretty=short
commit 24c87253 (HEAD -> develop, origin/develop, origin/HEAD)
Merge: 42af55b3 fa7fc5bd
Author: Nicolas Hennion <nicolashennion@gmail.com>

    Merge pull request #2941 from ariel-anieli/refactor-alert

$ make webui -n >> /tmp/develop; echo $?
0

$ make webui-audit -n >> /tmp/develop; echo $?
0

$ make webui-audit-fix -n >> /tmp/develop; echo $?
0

$ diff /tmp/develop /tmp/makefile; echo $?
0
```

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-09-23 22:47:56 +02:00
Nicolas Hennion 24c8725359
Merge pull request #2941 from ariel-anieli/refactor-alert
Refactorized alert plugin
2024-09-23 14:19:27 +02:00
Nicolas Hennion 42af55b317
Merge pull request #2950 from ariel-anieli/revert-commit-01823df9
Refactorized `_GlancesCurses.display_plugin()`, version 2
2024-09-23 14:16:46 +02:00
nicolargo 7fee42f940 Top bar is ok 2024-09-22 10:15:26 +02:00
Ariel Otilibili 4bcbc12cea Refactorized `_GlancesCurses.display_plugin()`, version 2
Part of #2801. Broken down using:

1. `setup_upper_left_pos`
2. `get_next_x_and_x_max`
3. `display_stats_with_current_size`
4. `display_stats`

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-09-17 18:55:48 +02:00
Ariel Otilibili 400013bb4a Revert "Refactorized `_GlancesCurses.display_plugin()`"
* reverted commit 01823df917
* that commit introduced #2949.
2024-09-16 20:10:35 +02:00
nicolargo 61480109d6 Migration to Table bootstrap is on going 2024-09-16 08:05:32 +02:00
nicolargo ccda282bbf Build ok but CSS style is a mess 2024-09-14 16:23:18 +02:00
Ariel Otilibili fa7fc5bdcd Refactorized alert plugin
* closes #2416
* `msg_curse` calls `loop_over_alert`
* `loop_over_alert` loops each alert with:

    1. `add_new_line`
    2. `add_start_time`
    3. `add_duration`
    4. `add_infos`
    5. `add_min_mean_max`
    6. `add_top_proc`

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-09-14 12:40:53 +02:00
nicolargo 75fdc8f46e Remove test 2024-09-14 09:54:10 +02:00
nicolargo 10c98f6fda Merge branch 'issue2939' into develop 2024-09-14 09:53:09 +02:00
nicolargo 7d3904e89f The Web interface ignores the strftime_format parameter #2939 2024-09-14 09:52:51 +02:00
Nicolas Hennion a1cb3630b8
Merge pull request #2932 from ariel-anieli/refactorize-display-plugin
Refactorized `_GlancesCurses.display_plugin()`
2024-09-14 09:42:02 +02:00
Ariel Otilibili 01823df917 Refactorized `_GlancesCurses.display_plugin()`
Part of #2801. The flow is the same. Used as helpers:

    1. `self.set_upper_left_pos`
    2. `self.goto_next_and_ret_first_col`
    3. `self.check_opt_and_add`
    4. `self.x_overbound`
    5. `self.y_overbound`
    6. `self.display_msg`

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-09-13 10:36:24 +02:00
nicolargo b9843a1d8c Merge branch 'issue2929' into develop 2024-09-08 19:17:30 +02:00
nicolargo 36755ba4be Show only active Disk I/O (and network interface) #2929 2024-09-08 19:17:07 +02:00
RazCrimson a3895e49b6
Merge pull request #2938 from nicolargo/feature/json-serialization-fallbacks
JSON serialization fallbacks on ujson and builtin json lib
2024-09-08 15:37:39 +05:30
RazCrimson e9ae9ff61b chg: globals - datetime serialization support without orjson 2024-09-08 15:26:03 +05:30
RazCrimson 1fa173edbc chg: restful_api - avoid duplicating checks + basic typing 2024-09-08 14:44:49 +05:30
RazCrimson 6dc16e92ea chore: restful_api - remove unused code 2024-09-08 14:44:15 +05:30
RazCrimson 2a5251ca2d chg: restful_api - use internal serialization features 2024-09-08 14:44:15 +05:30
RazCrimson 538013d192 chg: globals - standardize json_dumps return type to bytes 2024-09-08 14:25:26 +05:30
RazCrimson 46054afd22 chg: globals - json lib preference: orjson > ujson > json 2024-09-08 14:25:26 +05:30
RazCrimson adfa85e8ab chore: fix typos 2024-09-08 12:31:24 +05:30
Bharath Vignesh J K 7598fbed54 chg: remove orjson from base requirements.txt 2024-08-28 00:10:23 +05:30
Bharath Vignesh J K 1e278fa2cb chg: make orjson optional 2024-08-28 00:10:13 +05:30
nicolargo 92de3be0a1 Stick FastAPI version to 0.82.0 or higher (latest is better) - Related to #2926 2024-08-26 17:20:05 +02:00
nicolargo 9432d9361e Improve user message when Glances WebUI/RestAPI is ran 2024-08-24 15:53:20 +02:00
nicolargo 76478959cc Correct issue in Makefile 2024-08-24 09:32:01 +02:00
Nicolas Hennion 37457ed892
Merge pull request #2924 from ariel-anieli/makefile
Refactorized rules targetting `profiling-*` & `memory-profiling`
2024-08-24 09:12:47 +02:00
RazCrimson 2493a1929f
Merge pull request #2925 from nicolargo/standardize-history-display-timestamp
chg: alerts - standardise history display timings
2024-08-19 00:04:18 +05:30
Bharath Vignesh J K 16d56109c8 chg: alerts - standardise history display timings 2024-08-19 00:01:59 +05:30
Ariel Otilibili 962ea850ed Refactorized rules targetting `profiling-*` & `memory-profiling`
Part of #2906:

* `profiling-*` share the same start banner
* used `OUT_DIR` for static outputs
* `TIMES` controls the number of iterations.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-18 15:26:21 +02:00
RazCrimson 74a8b0bf34
Merge pull request #2923 from nicolargo/fix-typing-issues-for-py38-compatibility
fix: typing - compatibility with py3.8
2024-08-18 14:27:57 +05:30
Bharath Vignesh J K 73ff388400 fix: typing - compatibility with py3.8
closes #2922
2024-08-18 14:25:50 +05:30
nicolargo d9fc2ca231 Update snap configuration 2024-08-18 10:20:11 +02:00
Nicolas Hennion 504cf0613f
Merge pull request #2919 from ariel-anieli/refactor-plugin-model-msg-curse
Refactorized `glances.plugins.containers.PluginModel.msg_curse()`
2024-08-18 09:36:25 +02:00
Ariel Otilibili fa6d46c0c1 Refactorized `glances.plugins.containers.PluginModel.msg_curse()`
Part of #2801. Broken down in:

* `build_title`
* `build_header`
* on each container, `build_data_line` calls `build_container_data`.

`build_container_data` does for a container:

* `maybe_add_engine_name_or_pod_name`
* `build_container_name`
* `build_status_name`
* `build_uptime_line`
* `build_cpu_line`
* `build_memory_line`
* `build_io_line`
* `build_net_line`
* `build_cmd_line`.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-17 23:53:46 +02:00
nicolargo c9525b8a5a Manage the all option (in the Vms plugin) 2024-08-16 09:49:11 +02:00
nicolargo 8e4b9d9215 Only display VMs with a running status (in the Vms plugin) 2024-08-16 09:43:26 +02:00
nicolargo 6fa969adf4 api/4/vms returns a dict, thus breaking make test-restful #2918 2024-08-16 09:25:37 +02:00
nicolargo fbca700562 Disable Webui audit fix in the CI, 2024-08-11 18:45:21 +02:00
Nicolas Hennion c0aa754ebc
Merge pull request #2917 from ariel-anieli/makefile
Used patterns for rules targetting `venv`, `venv-python`, `venv-upgrade`
2024-08-11 18:28:09 +02:00
Nicolas Hennion fcbee3518c
Merge pull request #2915 from ariel-anieli/refactor-process-thread
Reduced complexity of `PluginModel.__msg_curse_extended_process_thread()`
2024-08-11 18:27:06 +02:00
Ariel Otilibili 13079a606b Used patterns rules in `venv`, `venv-python`, & `venv-python`
* `venv-*-python` relies on the pattern `venv-%-python`
* `venv-(full|min|dev)` & `venv-*-upgrade` on `venv-%`
* macros `UPGRADE`, `PRE_COMMIT`, `VIRTUAL_ENV`, & `REQS` are rule switches
* `VIRTUAL_ENV` being evaluated at runtime from `DEFINE_VARS_FOR_TYPE`
* `make help` is unchanged.

```
$ make venv -n
virtualenv -p /usr/bin/python3 venv
virtualenv -p /usr/bin/python3 venv-min
virtualenv -p /usr/bin/python3 venv-dev
venv/bin/pip install  -r requirements.txt;  venv/bin/pip install  -r optional-requirements.txt;
venv-min/bin/pip install  -r requirements.txt;
venv-dev/bin/pip install  -r dev-requirements.txt;  venv-dev/bin/pip install  -r doc-requirements.txt;
venv-dev/bin/pre-commit install --hook-type pre-commit

$ make venv-python -n
virtualenv -p /usr/bin/python3 venv
virtualenv -p /usr/bin/python3 venv-min
virtualenv -p /usr/bin/python3 venv-dev

$ make venv-upgrade -n
venv/bin/install install --upgrade pip
venv/bin/pip install --upgrade -r requirements.txt;  venv/bin/pip install --upgrade -r optional-requirements.txt;
venv-min/bin/install install --upgrade pip
venv-min/bin/pip install --upgrade -r requirements.txt;
venv-dev/bin/install install --upgrade pip
venv-dev/bin/pip install --upgrade -r dev-requirements.txt;  venv-dev/bin/pip install --upgrade -r doc-requirements.txt;
```

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-11 17:45:21 +02:00
Ariel Otilibili feac10a84d Renamed macros in Makefile
* `s/VENV/venv_full/; s/VENV_MIN/venv_min/; s/VENV_DEV/venv_dev/;`
* useful in subsequent changes

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-11 17:40:27 +02:00
Ariel Otilibili 916aabcfd9 Reduced complexity of `PluginModel.__msg_curse_extended_process_thread()`
Part of #2801. `ret` goes through these steps:

* `add_title_line`
* `add_cpu_line`
* `maybe_add_cpu_affinity_line`
* `maybe_add_ionice_line`
* `add_memory_line`
* `add_io_and_network_lines`
* `append_newlines`

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-11 12:23:41 +02:00
nicolargo 9c09d6b4a4 url_prefix do not work in Glances < 4.2.0 - Correct issue with mount #2912 2024-08-10 14:58:59 +02:00
Nicolas Hennion 7f049669fb
Merge pull request #2913 from ariel-anieli/makefile
Renamed variables in `Makefile`; rules targetting `docker-*` are now built at runtime
2024-08-10 11:32:28 +02:00
nicolargo 0003768bb8 url_prefix do not work in Glances < 4.2.0 #2912 2024-08-10 10:18:49 +02:00
Ariel Otilibili a37010929d Rules targetting `docker-*` are now built at runtime
* removed the macros `DOCKERFILE`, `TARGET`, & `DOCKER_TAG`
* introduced the macro `MAKE_DOCKER_BUILD_RULES`
* at runtime, `docker-*` are built from the `DISTROS` list: done using `eval` [1]
* `make help` is unchanged:

```
$ make | grep '\sdocker-'
make docker-alpine                                       Generate local docker images (Alpine)
make docker-alpine-dev                                   Generate local docker image (Alpine dev)
make docker-alpine-full                                  Generate local docker image (Alpine full)
make docker-alpine-minimal                               Generate local docker image (Alpine minimal)
make docker-ubuntu                                       Generate local docker images (Ubuntu)
make docker-ubuntu-dev                                   Generate local docker image (Ubuntu dev)
make docker-ubuntu-full                                  Generate local docker image (Ubuntu full)
make docker-ubuntu-minimal                               Generate local docker image (Ubuntu minimal)

$ make docker -n
docker buildx build --target full -f docker-files/alpine.Dockerfile -t glances:local-alpine-full .
docker buildx build --target minimal -f docker-files/alpine.Dockerfile -t glances:local-alpine-minimal .
docker buildx build --target dev -f docker-files/alpine.Dockerfile -t glances:local-alpine-dev .
docker buildx build --target full -f docker-files/ubuntu.Dockerfile -t glances:local-ubuntu-full .
docker buildx build --target minimal -f docker-files/ubuntu.Dockerfile -t glances:local-ubuntu-minimal .
docker buildx build --target dev -f docker-files/ubuntu.Dockerfile -t glances:local-ubuntu-dev .
```

[1] https://www.gnu.org/software/make/manual/html_node/Eval-Function.html

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-10 09:23:37 +02:00
Ariel Otilibili ddfcf46dee Renamed variables in `Makefile`; introduced the variable `DISTROS`
* needed for subsequent changes in `Makefile`
* `s/ALPINE_IMAGES/alpine_images/; s/UBUNTU_IMAGES/ubuntu_images/`

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-10 09:17:30 +02:00
Nicolas Hennion 69290ee405
Merge pull request #2910 from ariel-anieli/makefile
Refactorized `Makefile` by using pattern rules
2024-08-09 17:21:50 +02:00
Nicolas Hennion e40aa05e8a
Merge pull request #2900 from ariel-anieli/issue-2801-catch-key
Reduced complexity of `_GlancesCurses.__catch_key()`
2024-08-09 17:15:53 +02:00
Ariel Otilibili f5c2d8ce36 Used pattern for rules targetting `run-docker-*`
`make help` & `make run-docker-*` are unchanged:

```
$ make | grep run-docker
make run-docker-alpine-dev                               Start Glances Alpine Docker dev in console mode
make run-docker-alpine-full                              Start Glances Alpine Docker full in console mode
make run-docker-alpine-minimal                           Start Glances Alpine Docker minimal in console mode
make run-docker-ubuntu-dev                               Start Glances Ubuntu Docker dev in console mode
make run-docker-ubuntu-full                              Start Glances Ubuntu Docker full in console mode
make run-docker-ubuntu-minimal                           Start Glances Ubuntu Docker minimal in console mode

$ make run-docker-alpine-minimal -n
docker run --rm -e TZ="" -e GLANCES_OPT="" --pid host --network host -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -it glances:local-alpine-minimal

$ make run-docker-alpine-full -n
docker run --rm -e TZ="" -e GLANCES_OPT="" --pid host --network host -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -it glances:local-alpine-full

$ make run-docker-alpine-dev -n
docker run --rm -e TZ="" -e GLANCES_OPT="" --pid host --network host -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -it glances:local-alpine-dev

$ make run-docker-ubuntu-dev -n
docker run --rm -e TZ="" -e GLANCES_OPT="" --pid host --network host -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -it glances:local-ubuntu-dev

$ make run-docker-ubuntu-full -n
docker run --rm -e TZ="" -e GLANCES_OPT="" --pid host --network host -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -it glances:local-ubuntu-full

$ make run-docker-ubuntu-minimal -n
docker run --rm -e TZ="" -e GLANCES_OPT="" --pid host --network host -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -it glances:local-ubuntu-minimal
```

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-08 12:28:58 +02:00
Ariel Otilibili 516c99e496 Used pattern for rules targetting `docker-*`
`make help` & `make docker-*` are unchanged:

```
$ make | grep -P '\sdocker-'
make docker-alpine                                       Generate local docker images (Alpine)
make docker-alpine-dev                                   Generate local docker image (Alpine dev)
make docker-alpine-full                                  Generate local docker image (Alpine full)
make docker-alpine-minimal                               Generate local docker image (Alpine minimal)
make docker-ubuntu                                       Generate local docker images (Ubuntu)
make docker-ubuntu-dev                                   Generate local docker image (Ubuntu dev)
make docker-ubuntu-full                                  Generate local docker image (Ubuntu full)
make docker-ubuntu-minimal                               Generate local docker image (Ubuntu minimal)

$ make docker-alpine -n
docker buildx build --target full -f docker-files/alpine.Dockerfile -t glances:local-alpine-full .
docker buildx build --target minimal -f docker-files/alpine.Dockerfile -t glances:local-alpine-minimal .
docker buildx build --target dev -f docker-files/alpine.Dockerfile -t glances:local-alpine-dev .

$ make docker-ubuntu -n
docker buildx build --target full -f docker-files/ubuntu.Dockerfile -t glances:local-ubuntu-full .
docker buildx build --target minimal -f docker-files/ubuntu.Dockerfile -t glances:local-ubuntu-minimal .
docker buildx build --target dev -f docker-files/ubuntu.Dockerfile -t glances:local-ubuntu-dev .
```

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-08 12:28:58 +02:00
Ariel Otilibili 1fef2594d2 Used pattern for rules targetting `test-*`
`make help` & `make test-*` are unchanged:

```
$ make | grep test
make test                                                Run unit tests
make test-core                                           Run core unit tests
make test-min                                            Run core unit tests in minimal environment
make test-min-with-upgrade                               Upgrade deps and run unit tests in minimal environment
make test-restful                                        Run Restful unit tests
make test-with-upgrade                                   Upgrade deps and run unit tests
make test-xmlrpc                                         Run XMLRPC unit tests

$ make test -n
venv/bin/python unittest-core.py
venv/bin/python unittest-restful.py
venv/bin/python unittest-xmlrpc.py
```

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-08 12:28:51 +02:00
RazCrimson c5f06b3847
Merge pull request #2911 from nicolargo/2908-raid-plugin-breaks-with-inactive-raid0-arrays
fix: plugin (raid) - Show degradation only when stats are available
2024-08-08 07:58:57 +05:30
Bharath Vignesh J K 16e5bb2023 fix: plugin (raid) - Show degradation only when stats are available
fixes #2908
2024-08-08 07:58:17 +05:30
RazCrimson 69f4a5fe24
Merge pull request #2907 from ariel-anieli/refactorize-makefile
Refactorize `Makefile`
2024-08-07 18:40:39 +05:30
Ariel Otilibili 0804d06c0b Refactorized `make flatpak`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili b03ea17a5f Refactorized the rules targetting `docker-*`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili 6910e61bde Refactorized `make semgrep`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili a6fdc098b9 Refactorized the rules targetting `docs-*`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili 313612333c Refactorized `trace-malloc` and the rules targetting `memory-*`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili cad29145f1 Refactorized the rules targetting `profiling-*`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili 4dba2f13ad Refactorized `format`, `lint`, & `codespell` rules
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili c171d7604e Refactorized the rules targetting `test*`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili 658e318fd7 Refactorized the rules targetting `venv-*`
Addressed `venv-full-*`, `venv-min-*`, & `venv-dev-*`.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili 76cd7e63e2 Refactorized `make help`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili 020fe7a0b2 Placed phony targets under the same rule
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Ariel Otilibili c96c778883 Refactorized the rules targetting `run*`
* refactorized the rules targetting `run*`
* set up variables for subsequent refactorizations.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-07 07:37:48 +02:00
Bharath Vignesh J K 4dd732b4d1 chg: deps - cap pysnmp-lextudio ro 6.1.* until migration to async API
Issue tracked at #2874
2024-08-07 07:42:44 +05:30
Bharath Vignesh J K a7402b1e94 Revert "chg: curses - change colors for some LOG styles"
This reverts commit 5ef7238298.
2024-08-07 07:33:58 +05:30
Ariel Otilibili 7c45563991 Fixed typo in API documentation
Found with `make codespell`.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-08-06 20:47:32 +02:00
RazCrimson 99ba0d0a84
Merge pull request #2903 from nicolargo/2882-make-fields-labelled-in-green-easier-to-see
chg: curses - change colors for some LOG styles
2024-07-30 23:51:56 +05:30
Bharath Vignesh J K 5ef7238298 chg: curses - change colors for some LOG styles
fix #2882
2024-07-30 23:50:27 +05:30
Ariel Otilibili 1b199ada75 Reduced complexity of `_GlancesCurses.__catch_key()`
Part of #2801. Broken down `__catch_key` in two parts:

* `catch_actions_from_hotkey`
* `catch_other_actions_maybe_return_to_browser`.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-07-27 16:49:31 +02:00
nicolargo e03632459b Add VMs to unittest 2024-07-27 08:21:43 +02:00
Ariel Otilibili 98e8e32457 Reduced complexity of `unittest-core.TestGlances._common_plugin_tests()`
Part of #2801. Common tests follows the flow:

* `reset_stats_history_and_views`
* `do_checks_before_update`
* add first element with `update_stats`
* `check_stats`
* `filter_stats`
* add second element `update_stats`
* `chk_hist_maybe_add_third_elem`
* `check_views`.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-07-27 02:09:49 +02:00
nicolargo 81a529dbad Crash when terminal is resized #2872 2024-07-26 11:30:53 +02:00
nicolargo 52a129a3e8 Migration to Alpine 3.20 and Python 3.12 for Alpine Docker 2024-07-26 11:03:38 +02:00
nicolargo aacc12df45 Correct linter issue https://github.com/nicolargo/glances/actions/runs/10108117146/job/27953472522 - Related to PR #2891 2024-07-26 10:46:04 +02:00
nicolargo 2b30c9986f Add VMs section (disabled by default) in the Docker glances.conf file 2024-07-26 10:20:47 +02:00
Nicolas Hennion fbd0eee5c4
Merge pull request #2891 from ariel-anieli/issue-2801-plugin-msg-curse
Reduced complexity of `glances.plugins.percpu.PluginModel.msg_curse()`
2024-07-26 10:18:24 +02:00
Ariel Otilibili 6059b9ab42 Reduced complexity of `glances.plugins.percpu.PluginModel.msg_curse()`
Part of #2801. Broken `msg_curse`: if no stats returns empty list, else:

1. `define_headers_from_os`
2. `maybe_build_string_msg`
3. `display_cpu_stats_per_line`
4. `manage_max_cpu_to_display`
5. Then, for CPU:
   * `display_cpu_header_in_columns`
   * `display_cpu_stats_in_columns`
6. Hence, `summarize_all_cpus_not_displayed`

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-07-25 00:14:48 +02:00
nicolargo e38e2ce831 beta04 2024-07-24 15:53:30 +02:00
nicolargo d10b4bdc71 Reformat file with Ruff 2024-07-24 15:52:04 +02:00
nicolargo 80d07615f4 Merge branch 'issue2252' into develop 2024-07-24 15:47:36 +02:00
nicolargo 81f6ec03b4 Merge branch 'develop' into issue2252 2024-07-24 15:47:12 +02:00
Nicolas Hennion 1153d18a37
Merge pull request #2884 from ariel-anieli/issue-2801-plugin-update
Reduced complexity of `glances.plugins.system.PluginModel.update()`
2024-07-24 15:45:31 +02:00
nicolargo 0950e407a7 Catch error when Glances stop 2024-07-24 15:31:55 +02:00
nicolargo 5ed876423f WebUI is OK, had to manage the error when Glances stop, see Github issue #2252 for detail 2024-07-24 11:32:57 +02:00
nicolargo 9d76bfeb3e First version of the Curses UI, miss engine name 2024-07-23 19:34:12 +02:00
Ariel Otilibili 881017e63b Reduced complexity of `glances.plugins.system.PluginModel.update()`
Part of #2801. Broke `update` in two parts:

* if `local`, stats taken from `get_stats_from_std_sys_lib`
* and readability achieved by `add_human_readable_name`
* else if `snmp`, taken from `update_stats_with_snmp`.

`get_stats_from_std_sys_lib` has two helpers:

1. `get_win_version_and_platform`.
2. `get_linux_version_and_distro`.

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-07-22 22:22:48 +02:00
nicolargo 6b036ec0ac Refactor colors Class for Curses UI 2024-07-21 19:16:33 +02:00
RazCrimson e086625f1a
Merge pull request #2877 from Neved4/medium-line
fix: Use `ncurses` dedicated functions for the separator line
2024-07-16 01:06:38 +05:30
Neveda bfdf899615 refactor: Simplify `separator_line()` logic 2024-07-15 13:43:23 +02:00
Neveda e1e3ca9c8a fix: Use `self.term_window.hline()` and `curses.ACS_HLINE` for the separator line 2024-07-15 12:36:03 +02:00
Nicolas Hennion 413df02728
Merge pull request #2873 from ey-jo/fix-docs-path
Corrected path in docs for docker
2024-07-11 16:31:15 +02:00
ey-jo be83a0f735 changing path in docs for docker 2024-07-11 15:13:25 +01:00
RazCrimson 166e6df373
Merge pull request #2867 from Neved4/medium-line
Replace `U+23AF` with `U+2500` for splitlines
2024-07-11 11:29:50 +05:30
Neveda c86f01b7a1 Replace `U+23AF` with `U+2500` 2024-07-11 00:01:42 +02:00
Nicolas Hennion 363a66c263 UodateSnapcraft 2024-07-08 08:54:40 +00:00
nicolargo f603e8412c Add another connector to snap 2024-07-07 18:47:46 +02:00
nicolargo 6f7a09686c Check if server name is not null in the Glances browser - Related to #2861 2024-07-06 08:30:02 +02:00
nicolargo 18bade9edf On the raod again again 2024-07-03 19:50:23 +02:00
nicolargo cc9054d082 Merge branch 'develop' 2024-07-03 19:47:18 +02:00
nicolargo ca41d09845 Glances 4.1.2 2024-07-03 19:47:05 +02:00
nicolargo f8aa98bac7 Glances 4.1.2 2024-07-03 19:43:45 +02:00
nicolargo 90f4934c62 Glances 4.1.2 2024-07-03 19:41:40 +02:00
Bharath Vignesh J K fd99c8008d chore: version patch update for a quick test pypi upload 2024-07-03 17:27:36 +05:30
Bharath Vignesh J K 6af2340c5c chg: plugin(percpu) - show times based on host OS 2024-07-01 10:27:33 +05:30
RazCrimson 46abd4b4c9
Merge pull request #2860 from nicolargo/2859-glances-411-on-windows-attributeerror-cpupercent-object-has-no-attribute-cpu_percent
fix: cpu_percent - initialization timer bugs
2024-07-01 09:33:57 +05:30
Bharath Vignesh J K 2801add7e2 fix: cpu_percent - initialization timer bugs
fixes #2859
2024-07-01 09:33:05 +05:30
nicolargo 9b853d857b Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-06-30 10:18:29 +02:00
Bharath Vignesh J K 99e65079a0 chg: plugin(docker) - add some typing 2024-06-30 03:52:09 +05:30
Bharath Vignesh J K 0e1d462c69 chg: exports (influxdb) - log warning message if export fails 2024-06-30 01:33:51 +05:30
nicolargo f4c7ca01fe Correct codespell 2024-06-29 19:19:26 +02:00
nicolargo 60591630df Improve lisibility of OK_LOG 2024-06-29 19:01:25 +02:00
nicolargo 48103f167e Only test latest Python version on MacOS 2024-06-29 16:43:47 +02:00
nicolargo 154ae8e610 On the road (again) to Glances 4.2.0 2024-06-29 16:36:22 +02:00
nicolargo 1826f07fb3 Glances 4.1.1 2024-06-29 16:32:42 +02:00
nicolargo 86c2cd1d4a Glances 4.1.1 2024-06-29 16:28:50 +02:00
nicolargo 452fd6497e Sensors data is not exported using InfluxDB2 exporter #2856 2024-06-29 16:03:27 +02:00
nicolargo ccfd8f0aa9 On the road of Glances 4.2.0 2024-06-29 10:01:07 +02:00
nicolargo d91bfa2f8b Update docs 2024-06-29 09:55:33 +02:00
nicolargo afa1da59d1 Merge branch 'develop' 2024-06-29 09:54:13 +02:00
nicolargo 582ca07716 Glances 4.1.0 2024-06-29 09:49:36 +02:00
Nicolas Hennion 036eb976e9
Merge pull request #2854 from CognitiveDisson/patch-1
Remove duplicate line from the README file
2024-06-27 06:37:58 +02:00
Vadim Smal 2c5a1150bd
Remove duplicate line from the README file 2024-06-26 23:35:37 +01:00
nicolargo f6066e5d46 PsUtil 6+ no longer check PID reused #2755 2024-06-26 18:56:31 +02:00
nicolargo cff2e9fc4a Call process_iter.clear_cache() (PsUtil 6+) when Glances user force a refresh (F5 or CTRL-R) #2753 2024-06-26 18:36:10 +02:00
nicolargo e5d5351d31 Add cpu model for CPU info (Raspberry PI 5) 2024-06-26 18:12:56 +02:00
nicolargo be89ee0025 Merge remote-tracking branch 'origin/2616-raspberry-pi-cpu-info-is-not-correct' into develop 2024-06-26 18:10:00 +02:00
nicolargo f4cd350221 Update Security messag 2024-06-23 10:50:35 +02:00
nicolargo 3928007169 Merge branch 'issue2849' into develop 2024-06-23 10:23:10 +02:00
nicolargo eebd769c46 perCPU and CPU consumption display time to time a total of 100% #2849 2024-06-23 10:22:37 +02:00
nicolargo 2ee3c86e2b Graph export is broken if there is no graph section in Glances configuration file #2839 2024-06-22 10:37:00 +02:00
nicolargo f5ecbf7a1f Merge branch 'clean-fs-plugin-code' into develop 2024-06-22 10:23:55 +02:00
nicolargo 267e7e2ff0 Clean FS Plugin code 2024-06-22 10:23:37 +02:00
Bharath Vignesh J K 1e2e36af23 chg: cpu_percent - support CPU Name for Raspberry Pi
fixes #2616
2024-06-22 02:32:20 +05:30
Continuous Integration c153e71aa3 Continuous Integration Build Artifacts 2024-06-18 00:13:48 +00:00
RazCrimson f9915d93e8
Merge pull request #2842 from nicolargo/2841-glances-api-status-check-returns-error-405-method-not-allowed
fix: RESTful API - HEAD request not supported on `{version}/status` as mentioned in docs
2024-06-18 05:38:14 +05:30
Bharath Vignesh J K 69c3a948ba fix: RESTful API - HEAD request not supported on `{version}/status` as mentioned in docs
fixes #2841
2024-06-18 05:36:18 +05:30
Nicolas Hennion 8c520e1d94
Update network.rst
Correct alias example
2024-06-17 13:40:11 +02:00
Nicolas Hennion 1edaed52de
Update doc-requirements.txt
Add defusedxml
2024-06-17 13:36:17 +02:00
Nicolas Hennion 752bd40a04
Update doc-requirements.txt
Add PsUutl as a requirement to generate doc.
https://readthedocs.org/projects/glances/builds/24710902/
2024-06-17 13:34:13 +02:00
nicolargo fce3aac34e Add .redthedocs.yaml configuration file 2024-06-16 22:46:36 +02:00
nicolargo 9c482196f3 Add .redthedocs.yaml configuration file 2024-06-16 22:43:55 +02:00
nicolargo 3beb08b66e Merge branch 'issue977' into develop 2024-06-16 17:06:11 +02:00
nicolargo 0874e13f1d Enhance Glances browser color #977 2024-06-16 17:05:53 +02:00
Bharath Vignesh J K 8b4ef8c235 fix: containers (podman) - handle dead infra container with active children 2024-06-16 06:25:46 +05:30
RazCrimson 993ef0107a
Merge pull request #2834 from nicolargo/2827-dont-display-rootless-podman-containers-keyerror
fix: containers (podman) - missing support for rootless mode
2024-06-16 06:11:45 +05:30
Bharath Vignesh J K 0bdda36143 fix: containers (podman) - missing support for rootless mode 2024-06-16 06:04:13 +05:30
nicolargo 7cffdcbff7 Add needs contributor workflow to Github actions 2024-06-15 09:44:05 +02:00
nicolargo 986c865718 Add inactive issues workflow to Github actions 2024-06-15 09:40:14 +02:00
nicolargo 0227d221da [snap] PermissionError: [Errno 13] Permission denied: '/proc/net/wireless' #2829 2024-06-15 08:42:32 +02:00
Continuous Integration 3f39522487 Continuous Integration Build Artifacts 2024-06-15 00:26:00 +00:00
RazCrimson 78b4518547
Merge pull request #2832 from nicolargo/2831-j-hot-key-crashs-glances
fix: plugin (processlist) - failure on programs view
2024-06-15 05:49:58 +05:30
Bharath Vignesh J K ea4ce83d83 fix: plugin (processlist) - failure on programs view
#2831
2024-06-15 05:42:12 +05:30
nicolargo 051006e12f test test_107_fs_plugin_method fails on aarch64-linux #2819 2024-06-09 17:40:28 +02:00
nicolargo 4862264a2a Update bug report template 2024-06-09 17:27:51 +02:00
nicolargo 0791c7e9da --export-process-filter Filter using complete command #2824 2024-06-09 15:17:01 +02:00
nicolargo 12dafcf856 Exception when Glances is ran with limited plugin list #2822 2024-06-09 10:30:34 +02:00
nicolargo 4b071403da Disable separator option do not work... #2823 2024-06-09 10:08:16 +02:00
nicolargo a6b7de8a4b API: Network module is disabled but appears in endpoint all (Glances v4 regression) #2815 2024-06-08 19:30:09 +02:00
nicolargo e371c8f39d API is not compatible with requests containing spcial/encoding char #2820 2024-06-08 18:52:30 +02:00
nicolargo 810b0ec488 Remove some breaking test 2024-06-08 18:02:53 +02:00
nicolargo f224cab225 Impoprove unittest 2024-06-08 17:50:42 +02:00
nicolargo 9b0d0a7ff0 Get back to Glances 4.1.0 2024-06-08 10:29:57 +02:00
nicolargo 1832655793 Glances 4.0.8 - Update release note 2024-06-08 10:27:31 +02:00
nicolargo af06652fa1 Glances 4.0.8 - Update release note 2024-06-08 10:26:19 +02:00
nicolargo bf3bb6a7e8 Glances 4.0.8 2024-06-08 10:25:45 +02:00
nicolargo 8d3b3691e5 Add release note for Glances 4.0.8 2024-06-08 10:19:49 +02:00
nicolargo 13e2f73738 Merge branch 'secureamps' into develop 2024-06-01 18:33:11 +02:00
nicolargo 6077bb4a55 [BREAKING CHANGE in conf file] Secure call to AMPS, use && as commend separator instead of ; 2024-06-01 18:32:51 +02:00
nicolargo 5ad9e89658 Optimize 2024-06-01 18:08:46 +02:00
nicolargo 65f84fd1e9 Raspberry PI - CPU info is not correct #2616 2024-06-01 17:49:22 +02:00
nicolargo b2e5cb58c4 Reduce code complexity #2801 2024-06-01 17:28:52 +02:00
nicolargo 4a60e826b5 Merge branch 'issue2799' into develop 2024-06-01 11:03:24 +02:00
nicolargo d0de547e41 Add support for automatically hiding network interfaces that are down or that don't have any IP addresses #2799 2024-06-01 11:02:58 +02:00
nicolargo d00be34255 Merge branch 'issue2812' into develop 2024-06-01 10:39:34 +02:00
nicolargo 6410ccab9b Make CORS option configurable #2812 2024-06-01 10:38:40 +02:00
nicolargo 350318fb6e Put * in default CORS configuration. Related to discussion #2802 2024-05-29 17:44:24 +02:00
nicolargo 5a78e72419 Optimize Glances configuration file path search 2024-05-28 13:49:11 +02:00
nicolargo 2379ec6b55 Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-05-28 13:31:38 +02:00
nicolargo a55970af83 When Glances is installed via venv, default configuration file is not used #2803 2024-05-28 13:31:22 +02:00
Nicolas Hennion 273a405a10
Update README.rst
Remove py-cpuinfo
2024-05-27 15:04:08 +02:00
nicolargo c187c14b5f Update NEWS file 2024-05-25 16:18:53 +02:00
nicolargo b1b8ea6966 version 4.0.7 2024-05-25 16:12:53 +02:00
Bharath Vignesh J K ad604c1dc5 fix: plugin(sensors) - serialization bug with raw stats 2024-05-25 16:03:14 +02:00
nicolargo a06737c177 cpu_hz_current not available on NetBSD #2792 2024-05-25 16:02:10 +02:00
nicolargo a129c1b337 GET /1272f6e9e8f9d6bfd6de.png results in 404 #2781 2024-05-25 15:45:34 +02:00
nicolargo e5e5cf4c01 cpu_hz_current not available on NetBSD #2792 2024-05-25 12:30:10 +02:00
nicolargo 092ecf5cf8 Correct error witj orjson version: use the latest one 2024-05-25 12:15:38 +02:00
nicolargo 9c446bf8ce version 4.0.6 2024-05-25 12:08:42 +02:00
nicolargo 52f354d5a0 No GPU info on Web View #2796 2024-05-25 12:03:25 +02:00
nicolargo 4b48304324 Merge branch 'issue2796' into develop 2024-05-25 12:02:40 +02:00
nicolargo 79d9aa742b No GPU info on Web View #2796 2024-05-25 12:01:40 +02:00
nicolargo 8d6fabc510 Retire ujson for being in maintenance mode #2791 2024-05-25 10:03:39 +02:00
nicolargo 23cd99d11e Merge branch 'develop' into issue2791 2024-05-25 10:03:21 +02:00
nicolargo 6d2ecf5cf0 Change client and browser call 2024-05-25 10:02:35 +02:00
nicolargo c61d10bec7 Unittest OK 2024-05-25 09:42:02 +02:00
nicolargo 60d6be1718 Better 2024-05-20 19:35:56 +02:00
Bharath Vignesh J K 9ab3199e13 fix: build workflow - missing scope on `cache-from` 2024-05-19 09:37:53 +05:30
Bharath Vignesh J K f6ddc5cf49 chg: build workflow - use scope to prevent multiple os caches from overwriting each other 2024-05-19 08:40:37 +05:30
Bharath Vignesh J K c5ea3d292c chg: build workflow - use newer cache exporter - gha
Ref: https://docs.docker.com/build/cache/backends
2024-05-19 07:33:44 +05:30
Bharath Vignesh J K e07bacf9a3 chg: build workflow - use latest official docker meta action 2024-05-19 07:22:37 +05:30
Bharath Vignesh J K 6743eea32d chg: requirements.txt(s) - remove unnecessary version constraints
- drop duplicated deps already present in base requirements.txt
2024-05-19 07:01:33 +05:30
Bharath Vignesh J K 53621f413b chg: deps - remove unused deps - scandir & wifi 2024-05-19 06:59:03 +05:30
Bharath Vignesh J K f0fc27f952 chg: pyproject.toml - remove black config 2024-05-19 06:57:11 +05:30
nicolargo ba88263b85 Replace UJson by ORJson - Client/Server do not work anymore 2024-05-18 14:09:30 +02:00
nicolargo b8c6c22bb0 Reformat code 2024-05-18 11:26:08 +02:00
nicolargo d2f1fa10d5 Reformat code 2024-05-18 11:24:54 +02:00
nicolargo 15b0a9bbab Update snapcraft 2024-05-18 11:18:01 +02:00
nicolargo 5d88280ad6 version 4.0.5 2024-05-18 11:10:56 +02:00
nicolargo 1183b4dabd Update docs 2024-05-18 10:58:39 +02:00
nicolargo 74f9606e65 Merge Ruff formating and solve some conflicts #2779 2024-05-18 10:37:57 +02:00
Nicolas Hennion a99bf33b4b
Merge pull request #2779 from nicolargo/ruff-cleanup
chore: ruff cleanup
2024-05-18 10:32:13 +02:00
nicolargo 4f38bf384b Add some comment regarding the minimal Python version and exclude all the venv* folders in the linter configuration 2024-05-18 10:17:47 +02:00
nicolargo 5262524db3 Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-05-18 09:32:32 +02:00
RazCrimson 3306fa0118
Merge pull request #2789 from nicolargo/2788-sensortype-change-in-rest-api-breaks-compatibility-in-404
fix: plugin(sensors) - serialization bug with raw stats
2024-05-18 05:01:09 +05:30
Bharath Vignesh J K 30ec25fa0a fix: plugin(sensors) - serialization bug with raw stats 2024-05-18 04:57:47 +05:30
Bharath Vignesh J K 6a0889851c chg: glances client - avoid logging user creds 2024-05-18 01:21:32 +05:30
Bharath Vignesh J K f31b767e0e chg: github-actions to use ruff 2024-05-17 04:41:31 +05:30
Bharath Vignesh J K 14efbac82d chore: remove older lint configs 2024-05-17 04:17:33 +05:30
Bharath Vignesh J K 00c662f870 chg: Makefile - use ruff & pre-commit 2024-05-17 04:13:26 +05:30
Bharath Vignesh J K cd69c4a0e8 chg: ruff - naming
exclude already ignores rules with flake8
2024-05-17 03:58:43 +05:30
Bharath Vignesh J K 28e7e5b74a chg: ruff - flake8-comprehensions 2024-05-17 03:37:24 +05:30
Bharath Vignesh J K 108ffcdfb6 chg: ruff - pyupgrade 2024-05-17 03:37:22 +05:30
Bharath Vignesh J K f9a06a31f0 chg: ruff - mccabe (CC>21) 2024-05-17 03:36:55 +05:30
Bharath Vignesh J K 1f628642d4 fix: auto-removed imports in globals 2024-05-17 03:36:55 +05:30
Bharath Vignesh J K b4c2a4c24a chg: ruff - flake-return fixes 2024-05-17 03:36:55 +05:30
Bharath Vignesh J K d392caf6f6 chg: ruff - isort fixes 2024-05-17 03:36:53 +05:30
Bharath Vignesh J K 9890749d81 add: pre-commit - setup changes 2024-05-17 02:11:23 +05:30
Bharath Vignesh J K acb5ef585f chore: ruff cleanup 2024-05-17 02:10:09 +05:30
RazCrimson 396e78c415
Merge pull request #2778 from nicolargo/2777-make-pydantic-dep-optional
chg: event_list - enable data validation only if pydantic available
2024-05-16 21:05:18 +05:30
Nicolas Hennion 6583109c73 Update the Grafana dashboard - Sensors is now displayed #2780 2024-05-16 14:14:16 +00:00
Nicolas Hennion 986cd99fbd Update the Grafana dashboard #2780 2024-05-16 13:44:51 +00:00
Bharath Vignesh J K fecd23b26f Merge branch 'refs/heads/support/v4.0.x'
# Conflicts:
#	NEWS.rst
#	docs/api.rst
#	docs/man/glances.1
#	glances/__init__.py
#	glances/plugins/sensors/__init__.py
#	snap/snapcraft.yaml
2024-05-16 17:15:42 +05:30
Bharath Vignesh J K 98f2bb7fbe chg: event_list - enable data validation only if pydantic available 2024-05-16 17:00:20 +05:30
Nicolas Hennion 05bc1449db Merge branch 'issue2776' into develop 2024-05-16 09:00:39 +00:00
Nicolas Hennion d095e4ae34 4.0.4 - On Glances startup ERROR -- Can not init battery class ([WinError 3] even though sensors plugin disabled #2776 2024-05-16 09:00:17 +00:00
Nicolas Hennion 6acd0da704 Merge branch 'issue2773' into develop 2024-05-16 08:46:46 +00:00
Nicolas Hennion f6545580db In codeSpace (with Python 3.8), an error occurs in ./unittest-restful.py #2773 2024-05-16 08:46:27 +00:00
Bharath Vignesh J K d94b0b4e92 fix: plugin(sensors) - typehint for py38 2024-05-15 18:09:28 +05:30
Bharath Vignesh J K 16621cf75f version 4.0.4 2024-05-15 14:50:23 +05:30
Bharath Vignesh J K abdbb00f3e fix: plugin(sensors) - typehint for py38 2024-05-15 14:47:53 +05:30
Nicolas Hennion 0447e210e5 Catch exception when init colors in TMUX 2024-05-15 08:12:38 +00:00
Bharath Vignesh J K 3e9b949a0f version 4.0.3 2024-05-15 13:08:28 +05:30
Bharath Vignesh J K 594188528b refactor: plugin(sensors) - cleanup + typing + fixes
cherry-picked from develop `7a25f716`
2024-05-15 13:04:55 +05:30
RazCrimson d8c5a72387
Merge pull request #2771 from nicolargo/2770-pydantic-v1-breaks-glances-v4
chg: requirements.txt - use pydantic v2
2024-05-15 10:37:45 +05:30
Bharath Vignesh J K 25ae493517 chg: requirements.txt - use pydantic v2
Co-authored-by: Saketh Raman KS <sakethramansundaram78@gmail.com>
2024-05-15 10:19:07 +05:30
RazCrimson 3aa9225da0
Merge pull request #2768 from nicolargo/2765-sensors-plugin-is-buggy
refactor: plugin(sensors) - cleanup + typing + fixes
2024-05-14 14:01:00 +05:30
Bharath Vignesh J K 7a25f7165e refactor: plugin(sensors) - cleanup + typing + fixes 2024-05-14 13:37:20 +05:30
nicolargo c66c651205 Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-05-13 23:00:58 +02:00
nicolargo eb83f6e6b1 version 4.0.2 2024-05-13 22:58:34 +02:00
nicolargo 4e926788ac Remove unused target in CI 2024-05-13 22:51:30 +02:00
Nicolas Hennion 127f2e45ed
Merge pull request #2761 from chenrui333/fix-requirements.txt
fix: include requirements.txt and SECURITY.md for pypi dist
2024-05-13 22:49:46 +02:00
nicolargo c98b7fcf1d Refactor setup.py 2024-05-13 22:48:07 +02:00
Bharath Vignesh J K 2d744121d1 version 4.0.2 2024-05-14 01:56:59 +05:30
Bharath Vignesh J K 84a511c716 hotfix: plugin(sensors) - race conditions btw fan_speed & temperature methods
(cherry-picked for v4.0.2 from latest develop `8c1b7499`)
2024-05-14 01:46:39 +05:30
RazCrimson 8c1b74993d
Merge pull request #2766 from nicolargo/2765-sensors-plugin-is-buggy
hotfix: plugin(sensors) - race conditions btw fan_speed & temperature…
2024-05-14 01:29:17 +05:30
Bharath Vignesh J K 371885c34c hotfix: plugin(sensors) - race conditions btw fan_speed & temperature methods 2024-05-14 01:14:21 +05:30
Rui Chen 6d4e0884cd
AUTHORS: add Rui for homebrew package
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-12 14:48:51 -04:00
Rui Chen fc63162515
fix: include requirements.txt and SECURITY.md for pypi dist
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-12 14:45:13 -04:00
nicolargo 516b3ab478 Force build for snap... 2024-05-12 19:27:56 +02:00
nicolargo b54fbda064 On the road to Glances 4.1.0 2024-05-12 19:05:07 +02:00
nicolargo 714d252999 version 4.0.1 2024-05-12 19:01:46 +02:00
nicolargo d5682b8066 Correct CI 2024-05-12 18:50:38 +02:00
nicolargo 7fbc598d5a Correct pydantic miss dep in tox 2024-05-12 18:32:32 +02:00
nicolargo 6768541abe Correct pydantic miss dep in tox 2024-05-12 18:31:04 +02:00
nicolargo 147f8a4de4 Correct issue with deps in Pypi 2024-05-12 18:26:26 +02:00
Nicolas Hennion ddfa809280
Merge pull request #2760 from chenrui333/add-pydantic
fix(setup): add missing pydantic
2024-05-12 18:23:35 +02:00
Rui Chen 4bfe5f2c81
fix(setup): add missing pydantic
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-12 12:11:30 -04:00
nicolargo afb06cb230 WebUI not needed to build in CI 2024-05-12 11:13:59 +02:00
nicolargo 8ff40f0e46 WebUI not needed to build in CI 2024-05-12 11:13:14 +02:00
nicolargo 4ff7c82559 Update docs and API 2024-05-12 11:10:59 +02:00
nicolargo 4a4ca76505 Do not build WebUI if tags 2024-05-12 11:05:13 +02:00
nicolargo 374bf0944b On the road of Glances 4.1.0 2024-05-12 10:49:45 +02:00
nicolargo d9056e6027 Glances version 4.0.0 2024-05-12 10:45:03 +02:00
nicolargo 562780f7f0 Glances 4.0.0_RC04 2024-05-12 09:53:47 +02:00
nicolargo e9abf1c9af ORJson is not mandatory 2024-05-12 09:52:17 +02:00
nicolargo 364a3ef884 Correct README with a correct example regarding the docker + specific config file (revert) example is ok with -C option 2024-05-11 20:10:25 +02:00
nicolargo 35015f7c19 Correct README with a correct example regarding the docker + specific config file 2024-05-11 20:09:22 +02:00
nicolargo e7a3de5038 Hide password in the Glances browser form #503 2024-05-09 19:43:11 +02:00
nicolargo b8304d8796 Glances version 4 RC03 2024-05-09 16:21:59 +02:00
nicolargo 893c1452a3 Allow user to define only careful limits 2024-05-09 16:14:01 +02:00
nicolargo ada7f248ba Improve code 2024-05-09 10:41:24 +02:00
Nicolas Hennion 4ddff48c70
Merge pull request #2759 from nicolargo/issue2757
Improve tests by testing all the plugin/model.py methods - First part of Issue2757
2024-05-09 10:18:29 +02:00
nicolargo f2d7e13cd8 Improve tests by testing all the plugin/model.py methods #2757 2024-05-09 10:09:05 +02:00
nicolargo fd3625826b First work done for plugin model (stats only) 2024-05-07 15:26:16 +02:00
nicolargo af4765db8a Remove unitest shell script - Use Makefile instead 2024-05-07 14:07:08 +02:00
nicolargo 8e8d4ce89b Rename unitest to unittest - Related to #2757 2024-05-07 14:01:36 +02:00
nicolargo e8563a0fc4 Format code and update docs/webui 2024-05-07 11:49:55 +02:00
nicolargo 6e95892e41 Correct issue with Restfull API top route 2024-05-07 11:27:04 +02:00
nicolargo 738775ab61 Update NEWS.rst 2024-05-07 11:08:11 +02:00
nicolargo 440f06140e Update NEWS.rst 2024-05-07 11:06:37 +02:00
nicolargo 2763195ba8 Update NEWS.rst 2024-05-07 11:05:57 +02:00
nicolargo f7628a0945 Update NEWS.rst 2024-05-07 11:05:32 +02:00
nicolargo 20501b4fdb Update NEWS file 2024-05-07 10:04:53 +02:00
nicolargo e998f8076e See: https://docs.renovatebot.com/getting-started/use-cases/#package-managers-with-lock-files 2024-05-07 09:21:09 +02:00
nicolargo 78f5813db7 Rename Qulity workflow - With the file it is better 2024-05-06 18:18:31 +02:00
nicolargo 490804d5cc Rename Qulity workflow 2024-05-06 18:16:53 +02:00
nicolargo 29fcde08b0 Add profiling output 2024-05-06 11:56:09 +02:00
nicolargo 9121b77763 Add some profiling and upgrade CI to NodeJS 20 2024-05-06 11:55:37 +02:00
nicolargo d91663a428 Comment FreeBSD test (not working) and upgrade CI 2024-05-06 10:41:38 +02:00
nicolargo a7b45ff585 Change SNAP version to 4.0.0RC02 2024-05-06 10:26:57 +02:00
nicolargo 056a10f051 Merge branch 'issue2749' into develop 2024-05-06 10:25:46 +02:00
nicolargo 4df945f52e Improve Github action unit test on FreeBSD systems #2749 2024-05-06 10:25:29 +02:00
nicolargo c57af5dfef Remove unused import in DiskIO 2024-05-06 10:15:27 +02:00
nicolargo 934f605c79 Refactor MMM function in Processlist and change Python Header to go in 2024 2024-05-05 18:45:56 +02:00
nicolargo 9ae8219a7f arm/v6 and arm/v7 timeout during the build - Disable it in the CI 2024-05-05 16:51:17 +02:00
nicolargo 84f1990244 Merge branch 'issue2754' into develop 2024-05-05 10:19:10 +02:00
nicolargo 891e2a492a In PsUtil 6+, connections is rename net_connections #2754 2024-05-05 10:18:51 +02:00
nicolargo bc349db38a Optimise Quicklook display in Curses UI 2024-05-03 09:53:43 +02:00
nicolargo 39be7f554b Stats update is now threaded / Sensors are sorted by label/Alias in the UI 2024-05-02 18:20:58 +02:00
nicolargo 8608e97a9f Refactor Podman client instance for better code 2024-05-02 09:16:55 +02:00
nicolargo 66bc871488 Fix OS version for the Github tests / Only build Docker images on official architecture (remove i386) / Test if #2735 is corrected 2024-05-02 09:08:04 +02:00
Nicolas Hennion aa9a92d3b0
Merge pull request #2748 from nicolargo/fix-codeql
fix: workflows - codeql only works with specific config filename
2024-05-02 08:13:44 +02:00
Nicolas Hennion 95ea9c3ecd
Merge pull request #2747 from nicolargo/2735-alpine-docker-image-build-error-on-arm
chg: docker-files - add build dep for alpine - cmake
2024-05-02 08:13:11 +02:00
Bharath Vignesh J K 7934676c5f fix: workflows - codeql only works with specific config filename 2024-05-02 02:19:14 +05:30
Bharath Vignesh J K e131d7b027 chg: docker-files - add build dep for alpine - cmake 2024-05-02 01:57:39 +05:30
Nicolas Hennion 40a9b097e0
Merge pull request #2745 from nicolargo/2637-docker-memory-usage-is-incorrect
Make docker memory usage match `docker stats`
2024-05-01 20:28:06 +02:00
Bharath Vignesh J K 6279ba5df5 fix: webui - rebuild static file after merge 2024-05-01 23:22:19 +05:30
Bharath Vignesh J K 5b54ef9baf Merge branch 'refs/heads/develop' into 2637-docker-memory-usage-is-incorrect
# Conflicts:
#	glances/outputs/static/public/glances.js
2024-05-01 23:21:35 +05:30
nicolargo e0f7498b7e Add refresh to curses global loop 2024-05-01 18:05:00 +02:00
nicolargo 21b49c7db2 Remove autoinstall script from documentation 2024-05-01 15:51:38 +02:00
nicolargo a146345978 Merge branch 'issue2741' into develop 2024-05-01 13:45:30 +02:00
nicolargo 6264f2abea Switch to forks of pysnmp as it is unmaintained #2741 2024-05-01 13:42:58 +02:00
nicolargo fdd819c450 Remove Pytz from dep, because it is not used anymore 2024-04-30 17:15:09 +02:00
nicolargo e2e2264a4d Set sensor refresh time at Glances refresh * 3 2024-04-30 17:02:34 +02:00
nicolargo 3aa6be7361 Remove Windows unitary test because Gitgub CI action is broken 2024-04-30 16:04:36 +02:00
nicolargo d48f4588b2 Align WebUI and Curses interface display for mem containers 2024-04-30 15:33:36 +02:00
nicolargo 6f30f135c6 Generatino of the WebUI 2024-04-30 11:01:09 +02:00
nicolargo cb543cd53d Merge branch '2637-docker-memory-usage-is-incorrect' of github.com:nicolargo/glances into 2637-docker-memory-usage-is-incorrect 2024-04-30 10:44:20 +02:00
nicolargo 88fee9bc8e Use buildx instead of build for local container images 2024-04-30 10:35:45 +02:00
Bharath Vignesh J K b303001f58 cleanup: containers (plugin) - add `inactive_file` to stats only if present 2024-04-30 01:33:11 +05:30
Nicolas Hennion f640b6b8b4 Docker memory usage uses the same algorithm than docker stats #2637 2024-04-29 22:54:53 +05:30
Nicolas Hennion 8edf6e70b5 Docker memory usage is incorrect 2024-04-29 22:54:49 +05:30
nicolargo de69635d41 Upgrade Ubuntu Docker image to 24.04 2024-04-29 18:17:32 +02:00
nicolargo a88910896d [WebUI] Feature Request: Ability to hide Engine and Pod columns in Containers #2423 2024-04-29 17:49:45 +02:00
nicolargo c8907988ab Correct issue when left_sidebar is defined in the Connection plugin 2024-04-29 17:00:55 +02:00
nicolargo 2e72a1e3de Get nack toSnapCraft Core22 because Snap is ... 2024-04-29 11:42:00 +02:00
nicolargo af6576e448 Upgrade SnapCraft to Core24 2024-04-29 11:26:35 +02:00
nicolargo 263db4f263 Get the alert information from the view for the Sensors plugin in the WebUI 2024-04-29 10:52:25 +02:00
nicolargo a56063b8d0 Correct Webui display for FS 2024-04-29 10:21:49 +02:00
nicolargo fa61149810 Move ports plugin just after network 2024-04-29 10:11:26 +02:00
nicolargo 1cd17d9614 Add the --hide-public-info option 2024-04-29 10:01:24 +02:00
Nicolas Hennion 7f34ec820b
Merge pull request #2742 from nicolargo/2659-crash-when-reading-timezone-for-generating-alert
fix: plugin (alert) - pytz not working with time.tzname for some timezones
2024-04-29 08:47:49 +02:00
Bharath Vignesh J K ab0742b103 fix: plugin (alert) - pytz not working with time.tzname for some timezones 2024-04-29 01:48:19 +05:30
Continuous Integration 8b6b4788b8 Continuous Integration Build Artifacts 2024-04-28 15:53:17 +00:00
nicolargo fe25e0d4b8 Glances 4.0.0 RC01 2024-04-28 17:49:05 +02:00
nicolargo 623f596b4b Correct WebUI if no public information is provided 2024-04-28 17:47:51 +02:00
nicolargo 9ec2abc1fc Avoid error whend ending browser mode 2024-04-28 15:32:51 +02:00
nicolargo 610ee081c2 Refactor the Wifi plugin 2024-04-28 11:16:27 +02:00
nicolargo 6b0de5d6be Refactor how sensors is displayed in the curses interface 2024-04-28 10:28:19 +02:00
nicolargo a60e8a42c7 Refactor how left bar is displayed 2024-04-28 09:37:26 +02:00
nicolargo c0284fbc69 Refactor some code and update docs 2024-04-28 09:21:58 +02:00
nicolargo cc1ac3c6f5 Merge branch 'refactornow' into develop 2024-04-27 17:39:07 +02:00
nicolargo 2aa3f418df Alert timestamp is incorrect #2591 2024-04-27 17:38:56 +02:00
nicolargo f19e98417a Align glances.conf 2024-04-27 16:34:17 +02:00
nicolargo 81668fc947 Correct issue with Alias in sensors 2024-04-27 16:28:38 +02:00
nicolargo e4a6638c30 Hide snap per default 2024-04-27 10:54:16 +02:00
nicolargo c09d9256c7 Display date correctly in WebUI Alarm 2024-04-27 10:04:00 +02:00
nicolargo 5e58c0b8a8 CI Cyber Trivy should be back 2024-04-26 09:35:20 +02:00
nicolargo 11245a793a Merge branch 'issue2612' into develop 2024-04-26 09:28:40 +02:00
nicolargo df66a7ffe9 Please add a startup flag to select an alternate web server static file path #2612 2024-04-26 09:28:24 +02:00
nicolargo f2b232ebaf CI Cyber is broken, waiting for https://github.com/aquasecurity/trivy-action/issues/343 2024-04-26 08:48:05 +02:00
nicolargo 9dc221c789 Merge branch 'issue2734' into develop 2024-04-26 08:14:15 +02:00
nicolargo 9df634bc5a The cpulist of the percpu parameter cannot be fully displayed due to too many cores - WebUI #2734 2024-04-26 08:13:59 +02:00
nicolargo 8ab5d9fcc2 The cpulist of the percpu parameter cannot be fully displayed due to too many cores #2734 2024-04-25 15:36:30 +02:00
nicolargo 0df1371513 --stdout plugin.attr is not compliant with plugins returning list of dicts #2446 2024-04-24 19:47:57 +02:00
nicolargo c2fe2de355 Export individual processes stats - Export dict are now sorted #794 2024-04-24 12:28:48 +02:00
nicolargo 75b06ed4b1 Update Ubuntu Docker based image to Ubuntu version 23.10 2024-04-24 10:17:10 +02:00
nicolargo 0a118ad5ae Merge branch 'issue2675' into develop 2024-04-23 18:29:05 +02:00
nicolargo 39b5448fc3 If FastAPI server failed to start, Glances do not return a critical error #2675 2024-04-23 18:28:35 +02:00
nicolargo d3502bafa8 Lot's of log messages when a proxy is used with the Podman plugin #2714 2024-04-23 17:18:44 +02:00
nicolargo 5c8905ea88 Docker image build error on ARM/v6 and ARM/v7 #2735 2024-04-23 10:16:59 +02:00
nicolargo 9efecde4b1 Docker image build error on ARM/v6 (realy) #2735 2024-04-23 09:46:16 +02:00
nicolargo ad6e94219c Docker image build error on ARM/v6 #2735 2024-04-22 11:55:49 +02:00
nicolargo d1fdb90c89 Avoid arror when a new network interface is created on the fly 2024-04-22 11:41:38 +02:00
nicolargo 01097af0ab Newline in container command corrupts display / hides container #2733 2024-04-22 11:36:55 +02:00
nicolargo 4fbcd9486d Merge branch 'issue2733' into develop 2024-04-22 11:36:05 +02:00
nicolargo ccd5094782 Newline in container command corrupts display / hides container #2733 2024-04-22 11:35:45 +02:00
nicolargo ade83ac0cc Update version to 4.0.0_beta03 2024-04-22 11:10:38 +02:00
nicolargo e591436384 Pin Zeroconf to 0.131.0 waiting for https://github.com/python-zeroconf/python-zeroconf/issues/1372 2024-04-22 11:08:37 +02:00
nicolargo 28a3a8874f Export individual processes stats - Add some tags for the InfluxDB export #794 2024-04-21 18:31:40 +02:00
nicolargo 3bc83538b3 Change Renovate config #2729 2024-04-21 17:02:17 +02:00
nicolargo f0998e0320 Update docs 2024-04-21 16:52:11 +02:00
nicolargo 9ac1ad88e8 [IP plugin] Make the public ip information more configurable (not only from the Censys service) #2732 2024-04-21 16:47:36 +02:00
nicolargo b6881215f9 Update GPU message 2024-04-13 18:18:50 +02:00
nicolargo 1de207e2fd RAID plugin not showing up in Glances web UI (Docker install) #2716 2024-04-13 10:40:29 +02:00
nicolargo 7430b6b2b4 Update WebUI + Documentation 2024-04-13 09:28:20 +02:00
Nicolas Hennion 7401f632c6
Update README.rst
New layout for buttons
2024-04-09 09:26:45 +02:00
Nicolas Hennion c770f2a8fd
Update README.rst
Use CI instead of test for button
2024-04-09 09:25:31 +02:00
Nicolas Hennion 43f1d2614b
Update README.rst
Test badge on the develop branch
2024-04-09 09:24:14 +02:00
Nicolas Hennion 8081d997d6
Update README.rst 2024-04-09 09:21:56 +02:00
Nicolas Hennion de9f40afc1
Merge pull request #2721 from nicolargo/2719-openbsd-crash-on-start-without-a-swap-filepartition
OpenBSD crash on start without a swap file/partition #2719
2024-04-08 11:57:53 +02:00
Nicolas Hennion 693cd8e20d OpenBSD crash on start without a swap file/partition #2719 2024-04-08 09:56:49 +00:00
nicolargo c62292444b Update docs 2024-04-07 18:20:35 +02:00
nicolargo 7e7d4d1a97 Update screen shot 2024-04-07 17:46:05 +02:00
nicolargo 82d7bfa875 Merge branch 'issue993' into develop 2024-04-07 15:32:45 +02:00
nicolargo 0ca1334791 GPU monitoring (AMD / ATI) #993 2024-04-07 15:32:24 +02:00
nicolargo 71e8fe5bfd Merge branch 'develop' into issue993 2024-04-07 10:21:34 +02:00
nicolargo 76509e0276 Merge branch 'issue2409' into develop 2024-04-07 10:20:43 +02:00
nicolargo 33be90e972 Refactor GPU plugin for multiple GPU type support #2409 2024-04-07 10:20:19 +02:00
nicolargo 06e8b480fc Add tests data for AMD GPU 2024-04-07 08:45:21 +02:00
nicolargo d07c771969 Make ports plugin exportable 2024-04-06 19:01:16 +02:00
nicolargo 39c51f8af8 Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-04-06 17:56:06 +02:00
nicolargo 168ba15ffc Align docker Glances.conf with devel one 2024-04-06 17:55:11 +02:00
Nicolas Hennion 2ca3b640a3
Merge pull request #2718 from kdkd/kdkd-freebsd-readme
Update README.rst for FreeBSD install instructions
2024-04-06 17:52:37 +02:00
nicolargo 5f48d5c71b Export individual processes stats #794 2024-04-06 17:47:09 +02:00
nicolargo f87e7d7fe6 Export individual processes stats #794 2024-04-06 17:46:42 +02:00
nicolargo 71a77bc8ca Update API doc 2024-04-05 19:40:33 +02:00
nicolargo 6fc0814a32 Add optino to set export process filter from the command line 2024-04-05 19:39:12 +02:00
nicolargo 4a5dfe7584 Correct issue with bad filter used to filter process 2024-04-05 19:06:51 +02:00
kdkd 82b22ecb13
Update README.rst for FreeBSD install instructions
FreeBSD has moved glances to python 3.9 so the package name has changed
2024-04-05 09:19:43 -05:00
nicolargo 2a381e09ff Update comment 2024-04-03 22:20:00 +02:00
nicolargo 194ae67d88 Update docs but 'make docs' do not work... 2024-04-03 18:44:31 +02:00
nicolargo 8107525aef It Works ! Have to finalise documentation + configuration file 2024-04-01 19:48:52 +02:00
nicolargo 12d9ac1dff First try, stdout JSON work ok but not the CSV export 2024-03-31 12:21:01 +02:00
nicolargo 24a3aead9d Rename export folder to avoid error of the dep lib use inside an export plugin has the same name: for example csv, use the python lib csv... 2024-03-30 18:24:31 +01:00
nicolargo ae596610ff Corect an issue with the light mode (docker is displayed because the plugin is now called containers) 2024-03-30 17:52:09 +01:00
Nicolas Hennion 9c94effe05
Merge pull request #2712 from mpkossen/develop
Use enum instead of int for callback API version.
2024-03-30 17:31:46 +01:00
Continuous Integration 7c430dd6ec Continuous Integration Build Artifacts 2024-03-30 12:12:39 +00:00
nicolargo 2b4c61726d New logo for Glances version 4.0 #2713 2024-03-30 13:08:26 +01:00
Maarten Kossen (mpkossen) f3b8b55ade Use enum instead of int for callback API version. 2024-03-29 14:51:50 -05:00
nicolargo cc7eeb2931 Try a simple Snapcraft.yaml file, add version 2024-03-24 14:18:21 +01:00
nicolargo 7ad9066f22 Try a simple Snapcraft.yaml file 2024-03-24 14:08:04 +01:00
nicolargo e5ef345d85 Update NEWS file according to master patches 2024-03-23 15:10:31 +01:00
nicolargo ee826a1e67 version 3.4.0.5 2024-03-23 14:47:29 +01:00
nicolargo 9ed81b438d Another try for the fucking Snapcraft package 2024-03-23 11:39:21 +01:00
nicolargo 8e0943454d Add UT for MacOS in the CI (correct duplicated section in the test file) 2024-03-23 11:15:04 +01:00
nicolargo af8111ba8f Add UT for MacOS in the CI 2024-03-23 11:12:07 +01:00
nicolargo fb10c7f36d Remove Python 2 test from CI because Python 2 is no more available inside Gitaction images 2024-03-23 10:55:43 +01:00
nicolargo 370da44744 version 3.4.0.4 2024-03-23 10:16:34 +01:00
nicolargo c2d1454226 [Documentation] Docker compose password unrecognized arguments when applying docs. #2698 2024-03-23 09:39:39 +01:00
nicolargo 438ed4488d Correct issue on unittest 2024-03-17 17:29:01 +01:00
nicolargo b11e085dc5 Merge branch 'pydantic_events' into develop 2024-03-17 17:07:40 +01:00
nicolargo 40f06b9570 Event is now a Dataclass 2024-03-17 17:07:26 +01:00
nicolargo 77167b8bce Event is now a Dataclass 2024-03-17 17:07:13 +01:00
nicolargo 272dc23443 Correct an issue with the events duration 2024-03-17 10:18:40 +01:00
nicolargo 684d1d7b94 Make the global event message available per event 2024-03-16 17:54:50 +01:00
nicolargo 6508acaba7 Improve alert with mininimal interval/duration configuration keys #2558 2024-03-16 17:00:16 +01:00
nicolargo 0080c61eac Folders plugin always fails on special directories #2518 2024-03-16 14:39:33 +01:00
nicolargo ca97eeefe2 Change workflow to disable some jobs on Pull Request 2024-03-16 09:53:39 +01:00
nicolargo c6861a4728 Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-03-16 09:26:13 +01:00
nicolargo e403860177 Update WebUI 2024-03-16 09:25:55 +01:00
nicolargo 224f3d157c Merge branch 'erdnaxela02-MQTT_hostname_configuration' into develop 2024-03-16 09:23:32 +01:00
nicolargo 74ed104369 Update docs and correct some merge conflicts 2024-03-16 09:23:19 +01:00
Continuous Integration f022c90ee6 Continuous Integration Build Artifacts 2024-03-16 08:16:42 +00:00
Nicolas Hennion f7cc69b24a
Merge pull request #2700 from erdnaxela02/CallbackAPI_for_MQTT
Add CallbackAPIversion for MQTT export
2024-03-16 09:12:38 +01:00
Github GPG acces 396283c9e9
Make 'callback_api_version' configurable 2024-03-15 21:58:05 +01:00
Github GPG acces ad44273645
changes structure 2024-03-15 21:45:20 +01:00
Github GPG acces ff5b181d6c
Add MQTT hostname configuration
added the possibility of configuring the hostname of the MQTT topic
2024-03-15 13:18:50 +01:00
Github GPG acces 2e6bcc0758
Add CallbackAPIversion for MQTT export
Due to the recent update of paho-mqtt to V2.0.0 which requires API versioning, addition of callback_api_version in paho.Client
2024-03-15 13:12:04 +01:00
nicolargo c591461fde Add Cyber scan (Trivy) github action 2024-03-10 19:55:02 +01:00
nicolargo 5731cadbe3 Use secrets in CI actions 2 2024-03-10 17:34:20 +01:00
nicolargo dd6c5f7cd0 Use secrets in CI actions 2024-03-10 17:32:04 +01:00
nicolargo 9a3ec31f19 Use secrets info build workflow 2024-03-10 17:25:38 +01:00
nicolargo 365eb11eb4 Add CI pipeline 4 2024-03-10 17:02:43 +01:00
nicolargo b076df9f13 Add CI pipeline 3 2024-03-10 16:54:46 +01:00
nicolargo 1841592d5b Add CI pipeline 2024-03-10 16:52:31 +01:00
nicolargo ea4f11a08b Add CI pipeline 2024-03-10 16:48:53 +01:00
nicolargo 7ffe0f6c57 Solve issue when no change in the WebUI build process 2024-03-10 16:01:28 +01:00
nicolargo ea906064fc Correct Node.js action https://stackoverflow.com/a/68717538/1919431 2024-03-10 15:45:16 +01:00
Nicolas Hennion a84d029e1a
Create node.js.yml Github action 2024-03-10 15:33:37 +01:00
nicolargo 6969d302ab Update configuration file example regarding the #2695 2024-03-10 11:10:52 +01:00
nicolargo 49977dba57 [WEBUI] Custom system header information #2695 2024-03-10 11:09:32 +01:00
nicolargo 43b355fdff Update the Flame profiling 2024-03-09 16:50:26 +01:00
nicolargo 2a0d6fba52 Update doc in the config file 2024-03-09 16:40:30 +01:00
nicolargo d1a7f61cce Merge branch 'issue2695' into develop 2024-03-09 16:37:39 +01:00
nicolargo 5dfc91d051 Custom header information #2695 2024-03-09 16:37:19 +01:00
nicolargo 573d73f198 Force image update 2024-03-09 15:20:16 +01:00
nicolargo 4bbb729d48 Revert "Commit c9285be686 breaks the Docker image Pipeline. Try to downgrade urllib < 2. Just a try."
This reverts commit 229c9bfaed.
2024-03-09 14:50:46 +01:00
nicolargo 229c9bfaed Commit c9285be686 breaks the Docker image Pipeline. Try to downgrade urllib < 2. Just a try. 2024-03-09 14:38:03 +01:00
nicolargo 0b7e293476 Use a venv-build environment for Alpine image 2024-03-04 11:24:51 +01:00
nicolargo a71f2b6367 Display the pip version during the build 2024-03-04 11:05:21 +01:00
nicolargo 280d76c6dd Update dep 2024-03-04 10:37:13 +01:00
nicolargo 8a9949abd9 Change separator color in black mode 2024-03-04 10:20:04 +01:00
Nicolas Hennion be7457e634
Merge pull request #2687 from turbocrime/be-normal
Use normal color for normal text instead of an arbitrary color
2024-03-04 10:02:07 +01:00
Nicolas Hennion 57eaa08a52
Merge pull request #2688 from Kiskae/swap-nvml
Replace `py3nvml` with `nvidia-ml-py`
2024-03-04 09:57:02 +01:00
Kiskae 0bca21f8b1 update documentation for `nvidia-ml-py` 2024-03-03 14:58:14 +01:00
Kiskae a8cc610ec1 Replace `py3nvml` with `nvidia-ml-py` 2024-03-03 14:58:06 +01:00
turbocrime 20c54390ef rm theme 2024-03-01 13:50:04 -08:00
turbocrime aad91c71a6 be even more normal 2024-03-01 13:49:44 -08:00
turbocrime ff061d1398 be normal 2024-03-01 13:45:14 -08:00
nicolargo 753e9f2d97 Remove unused code 2024-02-18 09:50:20 +01:00
nicolargo 4ab96a72a7 Merge branch 'feature/issue2414' into develop 2024-02-17 17:01:08 +01:00
nicolargo eb7d3d28c2 Improve DiskIO launch 2024-02-17 16:59:35 +01:00
nicolargo f19bb75ccd Resolve conflict 2024-02-17 16:56:07 +01:00
nicolargo c9285be686 Update dependency urllib3 to v2 #2397 2024-02-17 12:04:27 +01:00
nicolargo 24b6078b5b .gitignore in package #2681 2024-02-17 11:33:36 +01:00
nicolargo 4df1464497 Merge branch 'issue2679' into develop 2024-02-17 11:19:27 +01:00
nicolargo 951591ae2e url_prefix does not work on develop #2679 2024-02-17 11:19:09 +01:00
nicolargo 488c29549c Correct retrun error in specific case 2024-02-11 18:16:35 +01:00
nicolargo ac8c2613df Processlist field description 2024-02-11 16:38:01 +01:00
nicolargo dc172d45d0 High CPU consumption, to be investigate 2024-02-11 11:59:36 +01:00
nicolargo 255b57a18a Done for network 2024-02-10 17:19:24 +01:00
nicolargo bd5e297a0e Compute rate automaticaly 2024-02-03 17:38:17 +01:00
nicolargo a5249a1893 Update Snapcraft 2024-02-03 09:59:31 +01:00
nicolargo 6bc087485c Remove the non relevent CPU trend in the UI 2024-01-28 16:36:51 +01:00
nicolargo ab5bf02e6b Add unittest for Bar 2024-01-28 16:06:56 +01:00
nicolargo 7f2e8525b4 Merge branch 'issue2667' into develop 2024-01-28 12:33:34 +01:00
nicolargo d80dd07901 On Linux OS, add guest CPU stat #2667 2024-01-28 12:33:19 +01:00
nicolargo 787f98d5ef Merge branch 'issue2662' into develop 2024-01-28 10:42:58 +01:00
nicolargo 1623c27f4e Quicklook plugin lst is also configurable and taken into account in the WebUI 2024-01-28 10:42:20 +01:00
nicolargo 5092475d7f Make the Quicklook stats list configurable (TODO on the WebUI) 2024-01-27 11:20:44 +01:00
nicolargo e564c21b89 WebUI done - To be tested with no LOAD (is it a usecase ?) 2024-01-20 17:53:39 +01:00
nicolargo 0a555866e3 TODO - WebUI 2024-01-20 17:40:26 +01:00
nicolargo 92db000a75 Sparkline not working - Web UI not done 2024-01-20 17:24:04 +01:00
nicolargo 2d997ac36f Add swap information - Todo: WebUI 2024-01-20 17:19:41 +01:00
nicolargo ef9694cd6a First version of the #2662 - Need to study how to display the swap 2024-01-20 14:56:57 +01:00
nicolargo 5841d588c8 Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-01-20 10:59:55 +01:00
Nicolas Hennion ba4396345a
Merge pull request #2556 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.131.0
2024-01-20 10:56:34 +01:00
nicolargo 08d8634899 Renovate - Ignore package-lock.json 2024-01-20 10:55:24 +01:00
Nicolas Hennion a6276ac6bd
Merge pull request #2631 from nicolargo/snyk-fix-3a9af49ce5f9976e3d530f42509537fb
[Snyk] Security upgrade fonttools from 4.38.0 to 4.43.0
2024-01-20 10:51:57 +01:00
nicolargo 42f95f3cb7 Crach when ENTER key is pressed in the Alpine minimal image #2658 2024-01-20 10:21:45 +01:00
nicolargo f59a683626 Improve conde quality of _GlancesCurses.__catch_key() 2024-01-14 19:32:15 +01:00
nicolargo ebec98c099 Correct UT 2024-01-14 16:13:04 +01:00
nicolargo f4d43296c6 Make the left menu configurable (in Curses and WebUI) #2648 2024-01-14 16:05:06 +01:00
nicolargo adf6a4222d Make the left menu configurable (in Curses and WebUI) #2648 2024-01-14 16:04:50 +01:00
nicolargo 0c3c2a3414 Correct typo in README file concerning Docker command line 2024-01-13 09:49:39 +01:00
nicolargo b97606247d Migration to Alpine 3.19 and update documentation regarding default glances.conf file in Docker images 2024-01-13 09:48:50 +01:00
nicolargo 5cc18adfb4 Migration to Alpine 3.19 and update documentation regarding default glances.conf file in Docker images 2024-01-13 09:46:29 +01:00
nicolargo a695e1a70e Update Alpine version to 3.18 (a link to the latest 3.18.x tag) 2024-01-13 09:24:53 +01:00
nicolargo 07a81c50ff Update Alpine version to 3.18 (a link to the latest 3.18.x tag) 2024-01-13 09:24:11 +01:00
nicolargo 309c45036f Make the separator default behavor in UI (and add the option in the configuration file 2024-01-07 18:52:22 +01:00
nicolargo fe52a56b6a Update WebUI and Docs 2024-01-06 15:32:05 +01:00
Nicolas Hennion d2a5f5aab4
Merge pull request #2640 from clintonsteiner/updateReadmeTypos
Update prometheus.rst, fix minor typos
2024-01-06 15:30:16 +01:00
nicolargo 67b5fe1a16 Crash when a process is pinned in the develop branch of Glances #2639 2024-01-06 11:00:01 +01:00
nicolargo e3f63ed4ce macOS: Read user config from ~/.config/glances #2636 2024-01-06 10:23:29 +01:00
Nicolas Hennion 98f08f8511
Merge pull request #2641 from osalbahr/add-macos-home-config
macOS: default to `~/.config/glances`
2024-01-06 09:58:11 +01:00
nicolargo ef06423ee4 Update docs 2024-01-06 09:54:05 +01:00
Osama Albahrani d8d26e991b macOS: default to `~/.config/glances`
Fixes nicolargo/glances#2636
2024-01-04 05:00:56 -05:00
csteiner cb92c9d455 Update prometheus.rst, fix minor typos
Incorrect usage of argument and minor grammatical error
--export-prometheus was used instead of --export prometheus
2024-01-03 11:28:30 -06:00
nicolargo 6e35ee0355 Update WebUI and Docs 2023-12-29 19:37:54 +01:00
nicolargo 85481da71c Showing the full arguments on the command column of the TASKS Section of the Web UI. #2634 2023-12-29 19:36:53 +01:00
nicolargo fa0fc8578e Add unittest (API) for fields description and unit 2023-12-23 11:10:52 +01:00
nicolargo 254c7df946 Refactor Alert data model from list of list to list of dict #2633 2023-12-23 11:02:23 +01:00
nicolargo 6edd6fd1ff Refactor Alert data model from list of list to list of dict #2633 2023-12-23 11:01:41 +01:00
nicolargo 947e24c8cb Update doc 2 2023-12-22 18:55:30 +01:00
nicolargo e3ea678f94 Update doc 2023-12-22 18:50:56 +01:00
nicolargo d75a8c193d Getting field information (description, unit) from the API #2630 2023-12-22 18:32:24 +01:00
snyk-bot 4fb7044ba2
fix: dev-requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-FONTTOOLS-6133203
2023-12-21 17:52:39 +00:00
nicolargo 380888a564 Improve long fs name in WebUI 2023-12-21 10:40:59 +01:00
renovate[bot] 39912c4ae9
Update dependency zeroconf to v0.131.0 2023-12-19 09:50:51 +00:00
nicolargo 56a7622d14 Refactor alias configuration and allow alias for fs devices
#1735
2023-12-17 18:42:42 +01:00
nicolargo ab2936bcc8 Add breaking changes information in the NEWS file 2023-12-17 14:54:14 +01:00
nicolargo 8d24031500 Change the way version is displayed (add the API version) 2023-12-17 14:48:04 +01:00
nicolargo 746b526c51 Correct issue when running Glances with minimal dep 2023-12-16 15:38:13 +01:00
nicolargo b3828f5497 Replace Bottle by FastAPI #2181 2023-12-16 15:00:04 +01:00
nicolargo 32b33b5883 Merge branch 'issue2181' into develop 2023-12-16 14:50:57 +01:00
nicolargo c976f94b13 Merge branch 'develop' into issue2181 2023-12-16 14:50:36 +01:00
nicolargo bea6563573 Correct Restful API unittests 2023-12-16 14:43:51 +01:00
nicolargo 013bc99c78 Add Glances version plugin 2023-12-16 14:33:44 +01:00
nicolargo ae07ee1437 Add Glances version plugin 2023-12-16 14:33:30 +01:00
nicolargo dc0f363840 Correct Help plugin in the WebUI 2023-12-16 13:51:54 +01:00
nicolargo 93fc961b46 Help did not work in WebUI (empty black screen is displayed) 2023-12-16 12:32:00 +01:00
nicolargo 3215bf5c63 Optimize basic HTTP authentication 2023-12-15 19:06:33 +01:00
nicolargo 3d7b324839 Remove -C /etc/glances.conf from the Dockerfile CMD 2023-12-13 21:59:22 +01:00
nicolargo a3e08acdd2 Remove -C /etc/glances.conf from the Dockerfile CMD 2023-12-13 21:58:54 +01:00
nicolargo e27fd5f102 See TODO in:
- glances/plugins/processlist/__init__.py
- glances/outputs/glances_restful_api.py
2023-12-10 20:27:31 +01:00
nicolargo c4a631a25f Some 'return orjson.dumps(TypeError: Type is not JSON serializable: pcputimes' errors 2023-12-10 20:12:44 +01:00
nicolargo a3e08966b5 :Merge branch 'develop' into issue2181 2023-12-10 20:12:21 +01:00
nicolargo 4a41c76953 Update documentation 2023-12-10 20:10:34 +01:00
Nicolas Hennion c82a5a7098
Merge pull request #2625 from gtimchenko/doc_fix#001
Fix typos and make grammatical and stylistic edits in project documentation
2023-12-10 20:00:53 +01:00
nicolargo 1f1622a625 Looks beter after the last commit ! Some TODO to do in the glances_restful_api.py files... 2023-12-10 19:59:33 +01:00
Georgiy Timchenko 66e7916fbf Fix typos and make grammatical and stylistic edits in project documentation
Several typos were found and corrected in the project documentation. Additionally, a number of grammatical and stylistic improvements were made to enhance clarity and coherence. These changes affect the following files:

- docs/api.rst
- docs/cmds.rst
- docs/config.rst
- docs/docker.rst
- docs/glances.rst
- docs/index.rst
- docs/install.rst
- docs/quickstart.rst
- docs/support.rst

These corrections and improvements significantly enhance the readability and accuracy of the documentation, making it more accessible and comprehensible for both users and developers.
2023-12-10 22:38:38 +04:00
Georgiy Timchenko fa927532a1 Fix typos in project documentation
Several typos were found and corrected in the project documentation. These changes affect the following files:

- docs/cmds.rst
- docs/config.rst

These corrections improve the readability and accuracy of the documentation, making it more accessible and understandable for users and developers.
2023-12-10 22:38:38 +04:00
nicolargo cbb2facc87 Unit tests are ok BUT the WebUI has a lot of issue: plugin disapear, traceback... Perhaps issue when stats are refreched ? 2023-12-10 19:27:02 +01:00
Nicolas Hennion 4fc1336810
Merge pull request #2620 from gtimchenko/doc_typos
Fix typos in project documentation
2023-12-10 15:39:46 +01:00
nicolargo 048e1fc6de Upgrade Alpine version 2023-12-10 15:39:03 +01:00
Georgiy Timchenko 30354d623e Fix typos in project documentation
Several typos were found and corrected in the project documentation. These changes affect the following files:

- docs/cmds.rst
- docs/config.rst

These corrections improve the readability and accuracy of the documentation, making it more accessible and understandable for users and developers.
2023-12-10 14:02:43 +04:00
nicolargo 2e6842cc18 Security update 2023-12-09 11:31:01 +01:00
nicolargo 5e777f0f42 Update Github build workflow 2023-12-09 11:25:55 +01:00
nicolargo b46c7586eb Update Github build workflow 2023-12-09 11:24:27 +01:00
nicolargo 06d458ac63 Update deps 2023-12-09 11:07:33 +01:00
nicolargo 5d054e12e1 Works in progress 2023-12-09 10:09:17 +01:00
nicolargo 5fa7ae4264 WARNING: Replace the get_raw command for processlist 2023-12-02 16:41:52 +01:00
nicolargo 322d8c715a First step of the migration 2023-11-26 22:41:16 +01:00
nicolargo c28089ae47 First step of the migration 2023-11-26 22:40:36 +01:00
nicolargo bcf4ce45fc Rename any reference to Bottle in doc and dep file. Ready to refactor the main glances_restful_api.py file. 2023-11-26 10:02:30 +01:00
nicolargo 36ed96b05a Alerts showing different time than time plugin #2214 2023-11-11 10:21:47 +01:00
nicolargo dbbdc34bf0 Correct timestamp on alert for terminal mode 2023-11-05 09:53:44 +01:00
nicolargo af49f970e3 Refactor Event add / update calls 2023-11-04 11:43:08 +01:00
nicolargo 8f6fe14ea1 Corect an issue with default max events number (0 instead of 10) 2023-11-04 11:34:27 +01:00
nicolargo c59dc2bc16 Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-11-04 09:32:00 +01:00
nicolargo 081beba52a Add debug message for term name 2023-11-04 09:18:19 +01:00
Nicolas Hennion c37504595f
Merge pull request #2599 from monochromec/develop
Optimized plugin name creation
2023-11-03 16:33:28 +01:00
Christoph Zimmermann 4d92e0bd65 Optimized plugin name creation 2023-11-01 17:27:14 +01:00
nicolargo e3d40e9577 TERM setting causes glances to crash #2598 2023-11-01 10:28:02 +01:00
nicolargo e9e12d4dcc Remove systemd from Curses (related to #2595) 2023-11-01 08:59:12 +01:00
nicolargo 16a7934763 Update docs. Correct Sphinx path. 2023-11-01 08:53:44 +01:00
nicolargo 9bf3cb33d6 Merge branch 'develop' of https://github.com/monochromec/glances into monochromec-develop 2023-11-01 08:41:56 +01:00
Christoph Zimmermann 037d3f7c89 Fixed plugin name handling in GlancesPluginModel and optimized package handling in load_additional_plugins 2023-10-31 16:19:11 +01:00
nicolargo 4be7564801 Merge branch 'develop' of https://github.com/monochromec/glances into monochromec-develop 2023-10-29 17:37:24 +01:00
Christoph Zimmermann 0ce4092df7 Added check for already loaded module in sys.modules 2023-10-29 15:07:30 +01:00
Christoph Zimmermann 335029ce27 Merge remote-tracking branch 'refs/remotes/origin/develop' into develop
Merging curses deltas
2023-10-29 14:53:21 +01:00
Christoph Zimmermann e5e4068231 Added functionality in curses i/f 2023-10-29 14:53:15 +01:00
monochromec dc4634a16b
Merge branch 'nicolargo:develop' into develop 2023-10-29 14:51:27 +01:00
Christoph Zimmermann 1eb9187908 Fixed plugin_path bug 2023-10-29 14:50:59 +01:00
nicolargo 51330ca8e7 Merge branch 'develop' of https://github.com/monochromec/glances into monochromec-develop 2023-10-29 10:27:32 +01:00
nicolargo 091e4975ca Merge branch '2589-error-using-glances-export-to-influxdb2' into develop 2023-10-29 10:23:56 +01:00
nicolargo 3a23d1693b Disable UI if an error occurs and if an export module is enabled #2589 2023-10-29 10:23:29 +01:00
nicolargo 28570e8704 Update Flame 2023-10-29 08:59:13 +01:00
Christoph Zimmermann eb72dbe35d Fixed arg parsing for additional plugin directory 2023-10-28 17:10:47 +02:00
Christoph Zimmermann 0b3b74ffa4 Added configuration documentation 2023-10-26 15:43:36 +02:00
Christoph Zimmermann 8d63076aa7 Fixed documentation 2023-10-26 15:36:42 +02:00
Christoph Zimmermann cfd1e142b0 Fixed SPHINXBUILD variable to reflect PATH settings 2023-10-26 15:21:11 +02:00
Christoph Zimmermann e545316306 Updated man page 2023-10-26 15:09:24 +02:00
Christoph Zimmermann d1e6f76014 Merge remote-tracking branch 'origin/develop' into my-branch
dry-run
2023-10-26 14:56:05 +02:00
Christoph Zimmermann f4c35ed56d Added loading of additional plugins feature 2023-10-26 14:43:58 +02:00
nicolargo a88f41f25e Merge branch 'issue1930' into develop 2023-10-15 18:34:09 +02:00
nicolargo 3a7c479524 Change the way AMP are loaded #1930 2023-10-15 18:33:50 +02:00
nicolargo 48251c8271 Refactor plugin folder in the same way than exports modules 2023-10-15 18:05:18 +02:00
nicolargo 30cc9f3e0e Chage the color of the separator line 2023-10-15 10:42:19 +02:00
nicolargo 3765c0ee16 Correct estimated executed duration when using --stop-after command line 2023-10-15 09:57:05 +02:00
nicolargo c05614344e Refactor code #2580 2023-10-14 10:08:19 +02:00
nicolargo 0dc0200375 Refactor glances.main.GlancesMain.parse_args() 2023-10-08 18:55:54 +02:00
nicolargo 204525ecc5 Merge branch 'issue2570' into develop 2023-10-08 10:10:29 +02:00
nicolargo 55d7c07543 CouchDB migration from CouchDB to PyCouchDB library #2570 2023-10-08 10:10:13 +02:00
nicolargo cb4a8b80b7 Apply #2563 on develop branch 2023-10-07 10:46:23 +02:00
Nicolas Hennion e7b0cf09dd
Merge pull request #2571 from nicolargo/revert-2563-patch-1
Revert "Update docker.rst to remove latest-alpine tag"
2023-10-07 10:42:07 +02:00
Nicolas Hennion 81b93e9f16
Revert "Update docker.rst to remove latest-alpine tag" 2023-10-07 10:41:37 +02:00
Nicolas Hennion 34f0e90130
Merge pull request #2563 from NLZ/patch-1
Update docker.rst to remove latest-alpine tag
2023-10-07 10:37:21 +02:00
Nicolas Hennion 09830b9946
Merge pull request #2562 from nicolargo/renovate/alpine-3.x
chore(deps): update alpine docker tag to v3.18.4
2023-10-07 10:35:56 +02:00
Nicolas Hennion d2d7b8eac9
Merge pull request #2560 from nicolargo/snyk-fix-fd847dd68b3040162da674e4c23dc740
[Snyk] Security upgrade pillow from 9.5.0 to 10.0.1
2023-10-07 10:35:21 +02:00
nicolargo ccb74c8570 MongoDB and CouchDB documentation flipped #2565 2023-10-07 10:24:05 +02:00
nicolargo 0f938bead4 Disable IRQ per default 2023-10-07 10:18:39 +02:00
nicolargo 792e332921 Docker Prometheus issue with IRQ plugin #2564 2023-10-07 10:15:41 +02:00
nicolargo cca55759ee Update glances.conf file for Docker 2023-10-07 09:58:12 +02:00
nicolargo 8ee0a83d77 Make the alerts number configurable (related to #2558) 2023-10-07 09:49:13 +02:00
nicolargo c88e310920 Add graph export for GPU plugin (related to #2542) 2023-10-07 09:05:11 +02:00
nicolargo 2b641f4b5e Remove Python 3.12 because test not working on Windows 2023-10-07 09:00:36 +02:00
nicolargo 62fd5aaee8 Add Python 3.12 support in UnitTest for Windows OS 2023-10-07 08:48:48 +02:00
nicolargo ff22f5abcd Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-10-07 08:42:34 +02:00
nicolargo 17fb3c8d60 Add Python 3.12 support in UnitTest 2023-10-07 08:42:22 +02:00
Nicolas Hennion 9a73bb0a1f
Merge pull request #2559 from evrial/patch-1
Update README.rst
2023-10-07 08:16:52 +02:00
Nagy László Zoltán 82e8d7bac7
Update docker.rst to remove latest-alpine tag
latest-alpine tad is decrepated, so updating the compose example to use latest instead
2023-09-30 11:32:57 +02:00
renovate[bot] 09f6e12a87
chore(deps): update alpine docker tag to v3.18.4 2023-09-29 01:48:44 +00:00
snyk-bot fbb0a6aafb
fix: dev-requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-5918878
2023-09-27 05:20:10 +00:00
Alexander Grigoryev eafc4628da
Update README.rst 2023-09-26 19:37:02 +03:00
Nicolas Hennion f9f73f739c
Merge pull request #2553 from nicolargo/renovate/sass-1.x-lockfile
chore(deps): update dependency sass to v1.68.0
2023-09-23 09:22:30 +02:00
Nicolas Hennion d0de934e9a
Merge pull request #2548 from nicolargo/renovate/docker-setup-qemu-action-3.x
chore(deps): update docker/setup-qemu-action action to v3
2023-09-23 09:22:09 +02:00
Nicolas Hennion 42e660b509
Merge pull request #2547 from nicolargo/renovate/docker-setup-buildx-action-3.x
chore(deps): update docker/setup-buildx-action action to v3
2023-09-23 09:21:58 +02:00
Nicolas Hennion 73fa0a27be
Merge pull request #2546 from nicolargo/renovate/docker-login-action-3.x
chore(deps): update docker/login-action action to v3
2023-09-23 09:21:45 +02:00
Nicolas Hennion 51bb691f88
Merge pull request #2545 from nicolargo/renovate/docker-build-push-action-5.x
chore(deps): update docker/build-push-action action to v5
2023-09-23 09:21:33 +02:00
Nicolas Hennion ea12b36439
Merge pull request #2544 from nicolargo/renovate/crazy-max-ghaction-docker-meta-5.x
chore(deps): update crazy-max/ghaction-docker-meta action to v5
2023-09-23 09:21:23 +02:00
Nicolas Hennion 56530f4b5a
Merge pull request #2541 from nicolargo/renovate/actions-checkout-4.x
chore(deps): update actions/checkout action to v4
2023-09-23 09:21:14 +02:00
Nicolas Hennion 010e231bdc
Merge pull request #2538 from nicolargo/renovate/del-7.x-lockfile
chore(deps): update dependency del to v7.1.0
2023-09-23 09:21:05 +02:00
renovate[bot] 1c3df3dd41
chore(deps): update dependency sass to v1.68.0 2023-09-23 07:21:03 +00:00
Nicolas Hennion b142982932
Merge pull request #2537 from nicolargo/renovate/eslint-8.x-lockfile
chore(deps): update dependency eslint to v8.50.0
2023-09-23 09:20:54 +02:00
Nicolas Hennion e1937a5122
Merge pull request #2535 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.112.0
2023-09-23 09:20:36 +02:00
renovate[bot] 240ac4ee4b
chore(deps): update dependency eslint to v8.50.0 2023-09-22 21:15:59 +00:00
renovate[bot] 16fa5c3b5b
chore(deps): update dependency zeroconf to v0.112.0 2023-09-14 15:02:39 +00:00
renovate[bot] c5ac644fe4
chore(deps): update docker/setup-qemu-action action to v3 2023-09-12 14:09:31 +00:00
renovate[bot] 33c90e0690
chore(deps): update docker/setup-buildx-action action to v3 2023-09-12 11:58:13 +00:00
renovate[bot] 496c96879c
chore(deps): update docker/login-action action to v3 2023-09-12 11:58:09 +00:00
renovate[bot] c179f25248
chore(deps): update docker/build-push-action action to v5 2023-09-12 08:54:14 +00:00
renovate[bot] 8b3bb67405
chore(deps): update crazy-max/ghaction-docker-meta action to v5 2023-09-12 08:54:09 +00:00
nicolargo 9211b39438 By default graph should be generated every 60 seconds if the --export-graph option is used... 2023-09-09 16:48:08 +02:00
nicolargo 3b6a4331c2 By default graph should not be generated every 60 seconds... 2023-09-09 16:46:19 +02:00
renovate[bot] 2fcaa74924
chore(deps): update actions/checkout action to v4 2023-09-04 14:43:42 +00:00
renovate[bot] 621b83b6c9
chore(deps): update dependency del to v7.1.0 2023-08-30 18:28:54 +00:00
nicolargo da4763da59 Minimum Python version is 3.8 (also for Windows) 2023-08-19 17:57:25 +02:00
nicolargo 9d1a28d626 Minimum Python version is 3.8 2023-08-19 17:55:21 +02:00
nicolargo 723e0617bc Merge branch 'issue2518' into develop 2023-08-19 17:51:42 +02:00
nicolargo 990abccf9a Folders plugin always fails on special directories #2518 2023-08-19 17:51:28 +02:00
nicolargo 8f57fd3612 Manage error while scanning folder 2023-08-19 11:06:32 +02:00
Nicolas Hennion 39261ff03d
Merge pull request #2534 from nicolargo/renovate/sass-1.x-lockfile
chore(deps): update dependency sass to v1.66.1
2023-08-19 09:57:16 +02:00
Nicolas Hennion 1e958641bb
Merge pull request #2527 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.80.0
2023-08-19 09:56:59 +02:00
renovate[bot] d11ddde2a0
chore(deps): update dependency sass to v1.66.1 2023-08-19 02:00:37 +00:00
renovate[bot] e70f2762be
chore(deps): update dependency zeroconf to v0.80.0 2023-08-15 21:47:51 +00:00
nicolargo 99d05fdd63 Update README 2023-08-14 10:50:47 +02:00
nicolargo a4d247b52c Update docs 2023-08-14 10:31:07 +02:00
nicolargo 03f6de892e Merge branch 'issue2491' into develop 2023-08-14 10:30:35 +02:00
nicolargo ef2f949f04 Implement a new API method to limit the number of returned list object #2491 2023-08-14 10:30:20 +02:00
nicolargo 1a197aa406 Change log for future debug 2023-08-12 10:45:51 +02:00
nicolargo 5da07da87e Merge branch 'develop' into feature/issue2414 2023-08-12 10:02:34 +02:00
nicolargo c5e11cef59 Update WebUI with news deps 2023-08-12 09:50:27 +02:00
Nicolas Hennion 9340b32330
Merge pull request #2512 from nicolargo/renovate/eslint-plugin-vue-9.x-lockfile
chore(deps): update dependency eslint-plugin-vue to v9.17.0
2023-08-12 09:45:45 +02:00
Nicolas Hennion b671a4eaeb
Merge pull request #2520 from nicolargo/renovate/alpine-3.x
chore(deps): update alpine docker tag to v3.18.3
2023-08-12 09:45:25 +02:00
Nicolas Hennion 2e44614a01
Merge pull request #2519 from nicolargo/renovate/less-4.x-lockfile
chore(deps): update dependency less to v4.2.0
2023-08-12 09:45:08 +02:00
Nicolas Hennion dfe8e9ba68
Merge pull request #2517 from nicolargo/renovate/hotkeys-js-3.x-lockfile
fix(deps): update dependency hotkeys-js to v3.12.0
2023-08-12 09:45:01 +02:00
Nicolas Hennion 6aaad8b262
Merge pull request #2516 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.74.0
2023-08-12 09:44:55 +02:00
Nicolas Hennion 2e0003c1c1
Merge pull request #2515 from nicolargo/renovate/sass-1.x-lockfile
chore(deps): update dependency sass to v1.65.1
2023-08-12 09:44:48 +02:00
Nicolas Hennion f2140db243
Merge pull request #2511 from nicolargo/renovate/eslint-8.x-lockfile
chore(deps): update dependency eslint to v8.47.0
2023-08-12 09:44:37 +02:00
renovate[bot] 22fb1bfcbd
chore(deps): update dependency eslint to v8.47.0 2023-08-11 16:42:02 +00:00
renovate[bot] 50ad307419
chore(deps): update dependency sass to v1.65.1 2023-08-10 02:06:44 +00:00
renovate[bot] 87e87b951c
chore(deps): update dependency eslint-plugin-vue to v9.17.0 2023-08-09 13:39:01 +00:00
renovate[bot] 9cb294feb4
chore(deps): update alpine docker tag to v3.18.3 2023-08-07 23:22:55 +00:00
nicolargo 85bfe7e65f Swap Wifi and Connection plugins 2023-08-06 11:44:48 +02:00
renovate[bot] 967e71eb49
chore(deps): update dependency less to v4.2.0 2023-08-05 18:34:10 +00:00
renovate[bot] b8804457d5
chore(deps): update dependency zeroconf to v0.74.0 2023-08-04 01:17:46 +00:00
renovate[bot] cdb3d4fa71
fix(deps): update dependency hotkeys-js to v3.12.0 2023-08-02 13:14:16 +00:00
Nicolas Hennion 407a3cde21
Merge pull request #2510 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.71.4
2023-07-25 16:05:51 +02:00
nicolargo bd96e30358 Merge branch 'feature/wifihotspot' into develop 2023-07-25 16:04:55 +02:00
nicolargo b28263855b Wifi plugin is back again (only current hotspot using the nmcli command line or the current wifi interface using the /proc/net/wireless file - Related to #1377 2023-07-25 16:04:38 +02:00
renovate[bot] 181ea34d52
chore(deps): update dependency zeroconf to v0.71.4 2023-07-24 18:14:14 +00:00
nicolargo 1def83cb8a Wifi plugin is back again but with a limited scope (only wifi interface are monitored, not all hotspots) 2023-07-24 20:03:46 +02:00
Nicolas Hennion 952f5a409c
Merge pull request #2507 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.71.3
2023-07-24 09:49:23 +02:00
nicolargo 3e007f47c4 Update WebUI with latest lib 2023-07-24 09:48:37 +02:00
Nicolas Hennion ba6c5423f4
Merge pull request #2505 from claha/support-arm-v6
Readd support for arm/v6 to docker image
2023-07-24 09:41:13 +02:00
Nicolas Hennion 9eb67e6c18
Merge pull request #2503 from nicolargo/renovate/sass-1.x-lockfile
chore(deps): update dependency sass to v1.64.1
2023-07-24 09:35:23 +02:00
Nicolas Hennion 22176a9a30
Merge pull request #2501 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.88.2
2023-07-24 09:35:00 +02:00
renovate[bot] 90587b5682
chore(deps): update dependency zeroconf to v0.71.3 2023-07-24 00:16:27 +00:00
renovate[bot] 0edd280d1d
chore(deps): update dependency sass to v1.64.1 2023-07-22 03:30:40 +00:00
Claes Hallström d776508e63 Readd support for arm/v6 to docker image
The support for arm/v6 was dropped since the build was based on python,
which did not have support for arm/v6, but now they are based on alpine.
2023-07-20 22:42:25 +02:00
renovate[bot] 89150d6389
chore(deps): update dependency webpack to v5.88.2 2023-07-18 02:08:50 +00:00
nicolargo 3c2bbd4292 Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-07-15 09:01:15 +02:00
nicolargo 58612661ae Screen frequently flickers when outputting to local display #2490 2023-07-15 09:01:05 +02:00
Nicolas Hennion a01c8d31ca
Merge pull request #2500 from nicolargo/renovate/eslint-8.x-lockfile
chore(deps): update dependency eslint to v8.45.0
2023-07-15 08:35:33 +02:00
renovate[bot] 817abd8510
chore(deps): update dependency eslint to v8.45.0 2023-07-14 16:43:03 +00:00
nicolargo 0eaa4e0006 Ignore/detect symlink loops in folders plugin #2494 2023-07-14 10:01:03 +02:00
Nicolas Hennion 2cb18eddf6
Merge pull request #2495 from nicolargo/renovate/hotkeys-js-3.x-lockfile
fix(deps): update dependency hotkeys-js to v3.11.2
2023-07-14 09:16:14 +02:00
Nicolas Hennion 14592cc0ac
Merge pull request #2487 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.71.0
2023-07-14 09:15:55 +02:00
nicolargo ad1de825f9 Correct test_100_secure to avoid pipe error (error only occured in Github pipelines) 2023-07-14 09:12:29 +02:00
nicolargo 7fbf1e725c Update api.rst Typo Fixed #2496 - Update autogenerated docs 2023-07-14 09:01:29 +02:00
nicolargo 3d67f731db Update api.rst Typo Fixed #2496 2023-07-14 09:01:04 +02:00
renovate[bot] 713cc77845
fix(deps): update dependency hotkeys-js to v3.11.2 2023-07-11 07:59:56 +00:00
RazCrimson f77b5d26fa
Merge pull request #2492 from nicolargo/renovate/hotkeys-js-3.x-lockfile
fix(deps): update dependency hotkeys-js to v3.11.1
2023-07-11 03:46:31 +05:30
renovate[bot] 651ddda6a7
fix(deps): update dependency hotkeys-js to v3.11.1 2023-07-10 02:12:07 +00:00
renovate[bot] a234bb407e
chore(deps): update dependency zeroconf to v0.71.0 2023-07-09 00:34:40 +00:00
k26pl 355cd8b08b Fix typos 2023-07-08 17:43:33 +02:00
Nicolas Hennion 551c4d686b
Merge pull request #2488 from k26pl/patch-1
Fix typos
2023-07-08 17:33:45 +02:00
k26pl 0cc3dcbaa0
Fix typos 2023-07-05 10:05:39 +02:00
nicolargo 89f16847bd Change ignore file for renovate.json 2023-07-02 16:02:46 +02:00
Nicolas Hennion 8d27f97b10
Merge pull request #2486 from nicolargo/renovate/hotkeys-js-3.x-lockfile
fix(deps): update dependency hotkeys-js to v3.10.4
2023-07-02 15:50:29 +02:00
renovate[bot] c22c7e088e
fix(deps): update dependency hotkeys-js to v3.10.4 2023-07-02 12:18:23 +00:00
nicolargo 80ca676b04 Update documentation 2023-07-01 11:18:24 +02:00
Nicolas Hennion 09571b4a5c
Merge pull request #2482 from nicolargo/renovate/eslint-8.x-lockfile
chore(deps): update dependency eslint to v8.44.0
2023-07-01 11:17:47 +02:00
Nicolas Hennion 0724d48196
Merge pull request #2478 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.88.1
2023-07-01 11:17:40 +02:00
Nicolas Hennion cf1c8b1388
Merge pull request #2475 from nicolargo/renovate/hotkeys-js-3.x-lockfile
fix(deps): update dependency hotkeys-js to v3.10.3
2023-07-01 11:17:19 +02:00
Nicolas Hennion 3ce41c2f19
Merge pull request #2473 from nicolargo/issue2439
Docs: docker - include OS Release Volume mount info
2023-07-01 11:16:37 +02:00
renovate[bot] 6576206fc3
Update dependency eslint to v8.44.0 2023-07-01 03:59:30 +00:00
renovate[bot] f7c62a606e
Update dependency webpack to v5.88.1 2023-06-28 20:15:55 +00:00
renovate[bot] 5e84b72923
Update dependency hotkeys-js to v3.10.3 2023-06-25 12:36:39 +00:00
RazCrimson 2ae4157a83
Merge pull request #2474 from nicolargo/renovate/eslint-plugin-vue-9.x-lockfile
Update dependency eslint-plugin-vue to v9.15.1
2023-06-24 20:53:00 +05:30
renovate[bot] ae599eec00
Update dependency eslint-plugin-vue to v9.15.1 2023-06-24 15:00:56 +00:00
Bharath Vignesh J K 6f71aee5b8 chg: docs(docker) - use table for image tag variants 2023-06-24 20:08:48 +05:30
Bharath Vignesh J K b4b62e9d32 add: docs(docker) - volume mounts for host info in containers 2023-06-24 20:04:25 +05:30
Bharath Vignesh J K c1a5fddf34 fix: docs(docker) - broken hyperlink 2023-06-24 19:55:02 +05:30
nicolargo 39821a9695 Remove Clear-text logging of sensitive information - Code Scanning #36 2023-06-24 09:34:57 +02:00
Nicolas Hennion 3e7cd36b3b
Merge pull request #2462 from nicolargo/renovate/eslint-plugin-vue-9.x-lockfile
Update dependency eslint-plugin-vue to v9.15.0
2023-06-24 09:05:22 +02:00
Nicolas Hennion f96c89ae80
Merge pull request #2466 from nicolargo/renovate/sass-1.x-lockfile
Update dependency sass to v1.63.6
2023-06-24 09:05:01 +02:00
Nicolas Hennion 87df25fb45
Merge pull request #2468 from nicolargo/renovate/sanitize-html-2.x-lockfile
Update dependency sanitize-html to v2.11.0
2023-06-24 09:04:44 +02:00
Nicolas Hennion 37a9444dbf
Merge pull request #2470 from nicolargo/renovate/webpack-5.x-lockfile
Update dependency webpack to v5.88.0
2023-06-24 09:04:32 +02:00
Nicolas Hennion 4512b97fad
Merge pull request #2461 from nicolargo/renovate/zeroconf-0.x
Update dependency zeroconf to v0.69.0
2023-06-24 09:04:14 +02:00
renovate[bot] 7a8f99869e
Update dependency sass to v1.63.6 2023-06-21 23:14:33 +00:00
renovate[bot] df661206ab
Update dependency webpack to v5.88.0 2023-06-21 18:46:13 +00:00
renovate[bot] 0fbad3ea3d
Update dependency sanitize-html to v2.11.0 2023-06-21 16:21:30 +00:00
renovate[bot] 3be72fdd24
Update dependency zeroconf to v0.69.0 2023-06-18 22:03:48 +00:00
renovate[bot] f02a7717f3
Update dependency eslint-plugin-vue to v9.15.0 2023-06-18 12:31:00 +00:00
nicolargo aeb6891c85 Improve secure.py 2023-06-17 16:28:27 +02:00
nicolargo 21d18c39e8 Correct secure.py 2023-06-17 15:49:13 +02:00
Nicolas Hennion 65124d75a0
Merge pull request #2452 from nicolargo/renovate/html-webpack-plugin-5.x-lockfile
Update dependency html-webpack-plugin to v5.5.3
2023-06-17 09:41:59 +02:00
Nicolas Hennion 8f9aebcd60
Merge pull request #2454 from nicolargo/renovate/zeroconf-0.x
Update dependency zeroconf to v0.66.0
2023-06-17 09:41:49 +02:00
Nicolas Hennion ef7c0f3874
Merge pull request #2455 from nicolargo/renovate/crazy-max-ghaction-docker-meta-4.x
Update crazy-max/ghaction-docker-meta action to v4.6.0
2023-06-17 09:41:36 +02:00
Nicolas Hennion fccd263d1a
Merge pull request #2456 from nicolargo/renovate/sass-1.x-lockfile
Update dependency sass to v1.63.4
2023-06-17 09:41:25 +02:00
Nicolas Hennion c5c62ad7ca
Merge pull request #2457 from nicolargo/renovate/alpine-3.x
Update alpine Docker tag to v3.18.2
2023-06-17 09:41:14 +02:00
Nicolas Hennion 5bdbe39740
Merge pull request #2458 from nicolargo/renovate/webpack-5.x-lockfile
Update dependency webpack to v5.87.0
2023-06-17 09:41:03 +02:00
Nicolas Hennion 356f1f77d6
Merge pull request #2460 from nicolargo/renovate/eslint-8.x-lockfile
Update dependency eslint to v8.43.0
2023-06-17 09:40:50 +02:00
renovate[bot] 9c4f4d257a
Update dependency eslint to v8.43.0 2023-06-16 22:30:06 +00:00
renovate[bot] 2661a96d38
Update dependency webpack to v5.87.0 2023-06-14 18:55:38 +00:00
renovate[bot] 885cecef90
Update alpine Docker tag to v3.18.2 2023-06-14 18:55:26 +00:00
renovate[bot] 9c15c19b88
Update dependency sass to v1.63.4 2023-06-14 04:41:04 +00:00
renovate[bot] a7d54ff70f
Update crazy-max/ghaction-docker-meta action to v4.6.0 2023-06-13 11:47:33 +00:00
renovate[bot] 23d8cf20ae
Update dependency zeroconf to v0.66.0 2023-06-13 03:36:14 +00:00
renovate[bot] 79bef1dd1c
Update dependency html-webpack-plugin to v5.5.3 2023-06-10 22:16:39 +00:00
Nicolas Hennion fc1570da75
Merge pull request #2437 from nicolargo/renovate/less-loader-11.x-lockfile
Update dependency less-loader to v11.1.3
2023-06-10 10:35:59 +02:00
Nicolas Hennion 65fd9414b6
Merge pull request #2438 from nicolargo/renovate/webpack-5.x-lockfile
Update dependency webpack to v5.86.0
2023-06-10 10:35:48 +02:00
Nicolas Hennion b0740fe844
Merge pull request #2440 from nicolargo/renovate/eslint-8.x-lockfile
Update dependency eslint to v8.42.0
2023-06-10 10:35:34 +02:00
Nicolas Hennion 5171cdbc26
Merge pull request #2450 from nicolargo/renovate/webpack-dev-server-4.x-lockfile
Update dependency webpack-dev-server to v4.15.1
2023-06-10 10:35:23 +02:00
Nicolas Hennion cbc57c6380
Merge pull request #2441 from nicolargo/renovate/webpack-cli-5.x-lockfile
Update dependency webpack-cli to v5.1.4
2023-06-10 10:35:09 +02:00
renovate[bot] c5a4003dcf
Update dependency webpack-dev-server to v4.15.1 2023-06-10 08:34:57 +00:00
Nicolas Hennion f224667114
Merge pull request #2443 from nicolargo/renovate/zeroconf-0.x
Update dependency zeroconf to v0.64.1
2023-06-10 10:34:54 +02:00
Nicolas Hennion d15aa93b37
Merge pull request #2449 from nicolargo/renovate/sass-loader-13.x-lockfile
Update dependency sass-loader to v13.3.2
2023-06-10 10:34:40 +02:00
Nicolas Hennion f5f9452968
Merge pull request #2444 from nicolargo/renovate/crazy-max-ghaction-docker-meta-4.x
Update crazy-max/ghaction-docker-meta action to v4.5.0
2023-06-10 10:34:28 +02:00
renovate[bot] ccf961ceca
Update dependency sass-loader to v13.3.2 2023-06-10 08:34:17 +00:00
Nicolas Hennion d6e0d1022f
Merge pull request #2445 from nicolargo/renovate/sass-1.x-lockfile
Update dependency sass to v1.63.3
2023-06-10 10:34:15 +02:00
Nicolas Hennion ce454c17f6
Merge pull request #2448 from nicolargo/renovate/html-webpack-plugin-5.x-lockfile
Update dependency html-webpack-plugin to v5.5.2
2023-06-10 10:34:02 +02:00
Nicolas Hennion 421c3dfdc4
Merge pull request #2434 from nicolargo/renovate/vue-loader-17.x-lockfile
Update dependency vue-loader to v17.2.2
2023-06-10 10:33:49 +02:00
nicolargo 21d02b6c95 Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-06-10 10:33:10 +02:00
nicolargo 5821f84a69 Ignore glances/outputs/static/package-lock.json in Renovate 2023-06-10 10:32:59 +02:00
Nicolas Hennion 97d4cb6afb
Merge pull request #2447 from Antiz96/develop
Double quote array expansions to avoid re-splitting elements in docker-bin.sh
2023-06-10 10:29:35 +02:00
renovate[bot] a260133c39
Update dependency sass to v1.63.3 2023-06-09 16:11:20 +00:00
renovate[bot] 300edd4a93
Update dependency html-webpack-plugin to v5.5.2 2023-06-09 13:51:42 +00:00
Robin Candau b1a1661379 Double quote array expansions to avoid re-splitting elements in docker-bin.sh 2023-06-09 12:51:02 +02:00
renovate[bot] 75dc16a251
Update dependency less-loader to v11.1.3 2023-06-08 22:17:42 +00:00
renovate[bot] 99ca0eea77
Update dependency webpack-cli to v5.1.4 2023-06-07 19:20:10 +00:00
renovate[bot] 1220f95a2a
Update dependency webpack to v5.86.0 2023-06-07 15:59:22 +00:00
renovate[bot] 5819fcc256
Update crazy-max/ghaction-docker-meta action to v4.5.0 2023-06-07 15:59:06 +00:00
renovate[bot] 02a47d21c5
Update dependency zeroconf to v0.64.1 2023-06-05 16:50:24 +00:00
nicolargo 7f08871ca4 Merge branch 'issue1365' into develop 2023-06-04 10:44:56 +02:00
nicolargo cf2dcb3d6b Feature request: support path prefix so we can watch glances via url like http://ip/urlprefix/ #1365 2023-06-04 10:44:42 +02:00
Nicolas Hennion 513e4486fb
Merge pull request #2435 from fr4nc0is/1582-smart-plugin
[WebUI] Added smart plugin support
2023-06-03 18:30:24 +02:00
renovate[bot] 6fbd81d88d
Update dependency eslint to v8.42.0 2023-06-03 02:13:34 +00:00
renovate[bot] 77903a3422
Update dependency vue-loader to v17.2.2 2023-06-02 09:36:29 +00:00
Francois Pires 344f2ebc5a added smart plugin 2023-05-29 18:57:12 +02:00
RazCrimson e8cf98eebc
Merge pull request #2432 from nicolargo/renovate/css-loader-6.x-lockfile
Update dependency css-loader to v6.8.1
2023-05-28 20:00:05 +05:30
RazCrimson 96fa021f68
Merge pull request #2433 from nicolargo/renovate/sass-loader-13.x-lockfile
Update dependency sass-loader to v13.3.1
2023-05-28 19:59:48 +05:30
RazCrimson ec7bbf9776
Merge pull request #2431 from nicolargo/renovate/less-loader-11.x-lockfile
Update dependency less-loader to v11.1.1
2023-05-28 19:59:28 +05:30
renovate[bot] 3bd785fb72
Update dependency css-loader to v6.8.1 2023-05-28 03:02:51 +00:00
renovate[bot] 8fc125cccf
Update dependency sass-loader to v13.3.1 2023-05-28 03:02:33 +00:00
renovate[bot] 3f869fd7d8
Update dependency less-loader to v11.1.1 2023-05-28 00:43:26 +00:00
Nicolas Hennion 1f7db8ad78
Merge pull request #2405 from nicolargo/renovate/vue-monorepo
Update vue monorepo to v3.3.4
2023-05-27 09:35:50 +02:00
Nicolas Hennion 7b99bc6275
Merge pull request #2411 from nicolargo/renovate/css-loader-6.x-lockfile
Update dependency css-loader to v6.7.4
2023-05-27 09:35:36 +02:00
Nicolas Hennion 47d4f72369
Merge pull request #2412 from nicolargo/renovate/style-loader-3.x-lockfile
Update dependency style-loader to v3.3.3
2023-05-27 09:35:25 +02:00
Nicolas Hennion b1dc8e4af7
Merge pull request #2417 from nicolargo/renovate/eslint-8.x-lockfile
Update dependency eslint to v8.41.0
2023-05-27 09:35:13 +02:00
Nicolas Hennion 1e2d71c3a9
Merge pull request #2424 from nicolargo/renovate/eslint-plugin-vue-9.x-lockfile
Update dependency eslint-plugin-vue to v9.14.1
2023-05-27 09:34:35 +02:00
Nicolas Hennion f10eb0e280
Merge pull request #2425 from nicolargo/renovate/sass-loader-13.x-lockfile
Update dependency sass-loader to v13.3.0
2023-05-27 09:34:24 +02:00
Nicolas Hennion 4641d8ccd3
Merge pull request #2428 from nicolargo/renovate/webpack-5.x-lockfile
Update dependency webpack to v5.84.1
2023-05-27 09:34:13 +02:00
nicolargo 62ca9d551f Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-05-27 09:33:48 +02:00
nicolargo f5794f025a Ignore package-lock.json from the Renovate cyber security scanner 2023-05-27 09:33:43 +02:00
Nicolas Hennion 04a11d1c55
Merge pull request #2429 from nicolargo/renovate/zeroconf-0.x
Update dependency zeroconf to v0.63.0
2023-05-27 09:27:10 +02:00
renovate[bot] 36c523c891
Update dependency eslint-plugin-vue to v9.14.1 2023-05-26 12:11:15 +00:00
renovate[bot] 033f4e34dd
Update dependency webpack to v5.84.1 2023-05-25 23:05:15 +00:00
renovate[bot] ae67a5b1d8
Update dependency zeroconf to v0.63.0 2023-05-25 15:24:17 +00:00
renovate[bot] 59573e22ca
Update dependency sass-loader to v13.3.0 2023-05-22 14:44:05 +00:00
nicolargo ae11cd960d Bug in the wrapper... 2023-05-21 18:22:21 +02:00
nicolargo 136036a04f First refactor on disk IO but stats are not good. Bit rate higher thand 30 GB sometime... 2023-05-21 17:13:44 +02:00
nicolargo ae42fa5a82 Rename decorator from manage_gauge to manage_rate 2023-05-20 18:59:42 +02:00
nicolargo 311ce5d00d Avoid div by zero when rate is computed 2023-05-20 18:52:23 +02:00
nicolargo c9caab51f4 Manage gauge in the main Plugin class - Related to #2414 2023-05-20 18:44:42 +02:00
nicolargo 0ecca5b224 Change release note 2023-05-20 16:52:01 +02:00
nicolargo 1470cd9f63 Merge branch 'master' into support/glancesv3 2023-05-20 16:47:20 +02:00
nicolargo f360404a3c version 3.4.0.3 2023-05-20 16:46:56 +02:00
nicolargo f2869b28b7 Correct issue with the PR #2419 - Miss a chmod on the glances startup script 2023-05-20 16:36:40 +02:00
nicolargo ac4da6fd5b Correct issue with the PR #2419 - Miss a chmod on the glances startup script 2023-05-20 16:36:11 +02:00
nicolargo 40fd7fe7c7 Add glances binary to '/usr/local/bin' + Update ENV PATH to include '/venv/bin' in Dockerfiles - Reported from devel branch #2419 2023-05-20 16:09:27 +02:00
nicolargo f85ddbfee9 Merge branch 'Antiz96-develop' into develop 2023-05-20 15:59:41 +02:00
nicolargo 8b7fdc84e1 Merge branch 'develop' of https://github.com/Antiz96/glances into Antiz96-develop 2023-05-20 15:54:29 +02:00
nicolargo 0095d83185 Make also the job on memswap - related to #2420 2023-05-20 12:30:23 +02:00
nicolargo 87b8300cc6 Make also the job on memswap - related to #2420 2023-05-20 12:29:55 +02:00
nicolargo 4669c6be67 No more threshold display in the WebUI cpu/mem and memswap plugins #2420 2023-05-20 12:24:14 +02:00
nicolargo 28101e20fa No more threshold display in the WebUI cpu/mem and memswap plugins #2420 2023-05-20 12:23:48 +02:00
Robin Candau 2413601560 Fix the PATH ENV var 2023-05-20 11:25:40 +02:00
Robin Candau 8a1e4d2c2c typo 2023-05-20 11:20:34 +02:00
Robin Candau 4e102fd0bb Include docker binary file in .dockerignore 2023-05-20 11:13:08 +02:00
Robin Candau 2f1781f346 Add glances binary to '/usr/local/bin' + Update ENV PATH to include '/venv/bin' in Dockerfiles 2023-05-20 11:01:24 +02:00
renovate[bot] 02b2666f6c
chore(deps): update dependency eslint to v8.41.0 2023-05-19 22:44:21 +00:00
nicolargo dc1c7a1ea0 Update AUTHORS 2023-05-19 15:02:43 +02:00
nicolargo 5bb1047151 Get back to Core20 because Snap is PISA again 2023-05-19 10:31:20 +02:00
nicolargo f3cf3aa77b Get back to Core20 because Snap is PISA again 2023-05-19 10:31:05 +02:00
nicolargo d0b7e034e8 Get back to Core20 because Snap is PISA again 2023-05-19 10:30:46 +02:00
nicolargo dbed127987 Get back to Core20 because Snap is PISA 2023-05-19 10:15:56 +02:00
nicolargo ed46b6a3e2 Get back to Core20 because Snap is PISA 2023-05-19 10:15:38 +02:00
nicolargo d42544fb8c Get back to Core20 because Snap is PISA 2023-05-19 10:15:12 +02:00
nicolargo 2ac78a8320 SNAP is PITA 2023-05-19 10:05:01 +02:00
nicolargo 1d86888f76 SNAP is PITA 2023-05-19 10:04:43 +02:00
nicolargo 2da2cb714e SNAP is PITA 2023-05-19 10:04:19 +02:00
nicolargo ef57106fac Snap is a pain in the ass 2023-05-19 09:49:12 +02:00
nicolargo 3874a16e03 Snap is a pain in the ass 2023-05-19 09:48:55 +02:00
nicolargo 33d767b7de Snap is a pain in the ass 2023-05-19 09:48:31 +02:00
nicolargo 3e367235d6 Try to migrate SnapCraft Core 20 to 22 (following guide: https://forum.snapcraft.io/t/micro-howto-migrate-from-core20-to-core22/30188) 2023-05-19 09:34:50 +02:00
nicolargo 50838c4bd6 Try to migrate SnapCraft Core 20 to 22 (following guide: https://forum.snapcraft.io/t/micro-howto-migrate-from-core20-to-core22/30188) 2023-05-19 09:34:36 +02:00
nicolargo c3c0cb6e6c Try to migrate SnapCraft Core 20 to 22 (following guide: https://forum.snapcraft.io/t/micro-howto-migrate-from-core20-to-core22/30188) 2023-05-19 09:21:29 +02:00
nicolargo 5f7e713254 No module named 'influxdb' on the snap version of glances #1738 2023-05-19 09:02:29 +02:00
nicolargo 4a242e718a No module named 'influxdb' on the snap version of glances #1738 2023-05-19 09:02:10 +02:00
renovate[bot] 64fe034e07
chore(deps): update dependency style-loader to v3.3.3 2023-05-19 03:28:07 +00:00
renovate[bot] 928772a3c9
chore(deps): update dependency css-loader to v6.7.4 2023-05-19 03:27:50 +00:00
nicolargo 54a6d95952 Update releases note 2023-05-18 18:22:54 +02:00
nicolargo 6d7d3a914d version 3.4.0.2 2023-05-18 17:44:52 +02:00
nicolargo fef2d86940 Cannot start Glances 3.4.0.1 on Windows 10: SIGHUP not defined #2408 2023-05-18 17:29:40 +02:00
nicolargo 2c5df09983 Influxdb2 export not working #2407 2023-05-18 17:29:24 +02:00
nicolargo a6e8c5d186 Cannot start Glances 3.4.0.1 on Windows 10: SIGHUP not defined #2408 2023-05-18 17:28:11 +02:00
nicolargo e160298332 Influxdb2 export not working #2407 2023-05-18 17:08:39 +02:00
renovate[bot] a85b3940fd
chore(deps): update vue monorepo to v3.3.4 2023-05-18 10:26:49 +00:00
Nicolas Hennion 6c33fbc659
Merge pull request #2403 from nicolargo/renovate/vue-monorepo
chore(deps): update vue monorepo to v3.3.3
2023-05-18 09:57:07 +02:00
Nicolas Hennion a10e4a1302
Merge pull request #2402 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.83.1
2023-05-18 09:56:16 +02:00
renovate[bot] 9cba477899
chore(deps): update vue monorepo to v3.3.3 2023-05-18 07:19:17 +00:00
renovate[bot] 582c67e95f
chore(deps): update dependency webpack to v5.83.1 2023-05-17 22:58:18 +00:00
nicolargo 658c3563a7 Improve Makefile to split minimal, full and dev virtualenv 2023-05-17 15:42:39 +02:00
nicolargo 6f4da273c0 Add minimal venv in Makefile 2023-05-17 11:35:46 +02:00
nicolargo 753623ec31 3.4.0 crash on startupwith minimal deps #2401 2023-05-17 11:32:33 +02:00
nicolargo cb9dba3c18 Glances version 3.4.0.1 2023-05-17 11:26:47 +02:00
nicolargo 230c2fe437 3.4.0 crash on startupwith minimal deps #2401 2023-05-17 11:18:37 +02:00
nicolargo 16b04fdb48 Update doc to run Docker with Podman support 2023-05-16 11:03:02 +02:00
nicolargo 12ab23d1c2 On the road of Glances version 4.0.0 2023-05-16 10:51:17 +02:00
nicolargo 08296ae6c5 Merge branch 'glancesv4' into develop 2023-05-16 10:44:04 +02:00
nicolargo 6343db0344 Merge from develop - aka Glances 3.4.0 2023-05-16 10:31:06 +02:00
nicolargo 10b5c203d0 Merge branch 'master' into develop 2023-05-16 09:36:32 +02:00
nicolargo 1c28d543f2 Update docs for Glances 3.4.0 2023-05-16 09:32:17 +02:00
nicolargo b3a80ab028 Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-05-16 08:46:53 +02:00
nicolargo 5b2b4b2994 Update documentation for WebUI build 2023-05-16 08:46:45 +02:00
Nicolas Hennion c15109495c
Merge pull request #2399 from nicolargo/renovate/eslint-plugin-vue-9.x-lockfile
chore(deps): update dependency eslint-plugin-vue to v9.13.0
2023-05-16 08:46:12 +02:00
renovate[bot] b9ef166beb
chore(deps): update dependency eslint-plugin-vue to v9.13.0 2023-05-16 01:35:33 +00:00
nicolargo 789cc29544 Updated WebUI dependencies #2398 2023-05-15 18:12:53 +02:00
nicolargo 4b0ffe44c6 Merge branch '2389-bump-dependencies' of https://github.com/fr4nc0is/glances into develop 2023-05-15 16:52:39 +02:00
Francois Pires 4a275e4bbe bump dependencies 2023-05-15 14:29:21 +02:00
Francois Pires de6f45956e bump dev dependencies 2023-05-15 14:28:57 +02:00
nicolargo 91117cbd71 Merge branch '2389-bump-dependencies' of https://github.com/fr4nc0is/glances into develop 2023-05-15 11:09:01 +02:00
nicolargo 365a112de0 Update doc for new Ubuntu containers 2023-05-15 10:03:33 +02:00
nicolargo f496a1ce18 Improve global option management 2023-05-15 10:01:11 +02:00
nicolargo 3b997bcabb Update release note for Glances 3.4.0 2023-05-15 09:41:04 +02:00
fr4nc0is ba98e2df31 bump dependencies 2023-05-15 09:30:57 +02:00
fr4nc0is aa45044273 bump dev dependencies 2023-05-15 09:30:31 +02:00
nicolargo a4cc111489 Workaround to pin urlib3<2.0 - Related to #2392 2023-05-14 09:45:35 +02:00
nicolargo ac7f674f55 Improve Makefile amd docker-compose to support Podman and GPU 2023-05-13 23:15:40 +02:00
RazCrimson 67503f30a9
Merge pull request #2396 from nicolargo/issue2390
Reduce CPU usage of containers plugin (podman)
2023-05-14 02:41:55 +05:30
Bharath Vignesh J K 83fc2a26a6 chg: containers (podman) - stats iteration interval longer
fix #2390

note: tmp fix
Proper sol - https://github.com/containers/podman-py/pull/266
2023-05-14 02:21:18 +05:30
Bharath Vignesh J K b1da4f6ff4 chg: containers (podman) - check for open socket eagerly
objective: Know if a podman sock is open. If not, stop pinging it every update
2023-05-14 02:20:16 +05:30
Bharath Vignesh J K bce5d7e6df fix: gpu - typo in exception name
P.S Discovered and fixed after 6 yrs :)
2023-05-14 02:18:38 +05:30
RazCrimson 6bd7c067f5
Merge pull request #2395 from nicolargo/issue2392
Fix: missing `packaging` dependency with the new Dockerfile

Closes: 2392
2023-05-14 01:54:10 +05:30
Bharath Vignesh J K 31d6338b9d chg: Dockerfile - fix shell-check complains
double-quote possible glob expansions
2023-05-14 01:01:56 +05:30
Bharath Vignesh J K ab016bc15e chg: Dockerfile (ubuntu) - exclude pip in venv 2023-05-14 00:54:43 +05:30
Bharath Vignesh J K e90d33eca6 fix: Dockerfile - missing `packaging` dependency
cause: venv fallbacks on system packages that only exist during build time

issue from: 4bf16e95
2023-05-14 00:54:42 +05:30
nicolargo 13f6db08bc Try to install packaging lib... 2023-05-13 17:25:54 +02:00
nicolargo c56f07673e First try to solve issue on Docker images. Docker plugin do not work as expected - Related to #2392 2023-05-13 16:57:43 +02:00
nicolargo ff504b9822 Correect issue (error message) concerning the Cloud plugin - Related to #2392 2023-05-13 15:50:47 +02:00
nicolargo 6ea9185ba2 Error while generating the documentation (ModuleNotFoundError: No module named 'glances') #2391 2023-05-13 15:30:09 +02:00
nicolargo e8daa49eea Glances 3.4.0 Release Candidate 1 (RC1) 2023-05-13 10:47:29 +02:00
Nicolas Hennion b43eecf83e
Merge pull request #2386 from nicolargo/improve-docker-images
chg: Dockerfile - structured & cleaner build process
2023-05-13 09:23:02 +02:00
Bharath Vignesh J K 25f527a982 Merge branch 'develop' into glancesv4
# Conflicts:
#	glances/plugins/containers/engines/docker.py
2023-05-13 00:45:07 +05:30
Bharath Vignesh J K f439b1a563 doc: docker - GPU passthrough for docker engine 2023-05-13 00:40:18 +05:30
Bharath Vignesh J K 14d26f2791 fix: containers (docker) - Engine API failing on fetching tag
regression of issue fixed in e0f1f83a
2023-05-13 00:01:52 +05:30
RazCrimson e2561ef239
Merge pull request #2388 from nicolargo/renovate/vue-monorepo
fix(deps): update dependency vue to v3.3.2
2023-05-12 23:55:40 +05:30
renovate[bot] 2236939589
fix(deps): update dependency vue to v3.3.2 2023-05-12 15:25:51 +00:00
Bharath Vignesh J K 4bf16e9566 chg: Dockerfile (alpine) - use system site-packages with venv 2023-05-12 04:00:30 +05:30
Bharath Vignesh J K adafb32a2f chg: Dockerfile - structured & cleaner build process 2023-05-12 04:00:30 +05:30
RazCrimson e7c198b717
Merge pull request #2383 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.82.1
2023-05-11 18:46:24 +05:30
RazCrimson 2381e8330d
Merge pull request #2384 from nicolargo/renovate/vue-monorepo
fix(deps): update dependency vue to v3.3.1
2023-05-11 18:46:09 +05:30
RazCrimson 8ca91ccaa0
Merge pull request #2385 from nicolargo/renovate/vue-loader-17.x-lockfile
chore(deps): update dependency vue-loader to v17.1.1
2023-05-11 18:45:36 +05:30
renovate[bot] 7ca7710fbe
chore(deps): update dependency vue-loader to v17.1.1 2023-05-11 12:31:07 +00:00
renovate[bot] 226fe3598f
fix(deps): update dependency vue to v3.3.1 2023-05-11 09:41:26 +00:00
renovate[bot] 4ebdfe61d2
chore(deps): update dependency webpack to v5.82.1 2023-05-10 20:14:58 +00:00
RazCrimson 42aeeffcb6
Merge pull request #2382 from nicolargo/renovate/eslint-plugin-vue-9.x-lockfile
chore(deps): update dependency eslint-plugin-vue to v9.12.0
2023-05-10 20:59:33 +05:30
RazCrimson 1a18c65f04
Merge pull request #2381 from nicolargo/update-dockerfile
chg: Dockerfile (alpine) - upgrade img ver to 3.18.0
2023-05-10 20:58:28 +05:30
renovate[bot] 4e30732716
chore(deps): update dependency eslint-plugin-vue to v9.12.0 2023-05-10 14:59:55 +00:00
Bharath Vignesh J K ddd0c47a78 chg: Dockerfile (alpine) - upgrade img ver to 3.18.0
update python version to match newer release
2023-05-10 20:27:14 +05:30
Nicolas Hennion 00cce5c608
Merge pull request #2379 from nicolargo/glancesv4-update
Sync `glancesv4` with latest `develop`
2023-05-10 08:50:05 +02:00
Bharath Vignesh J K d8c06e5b40 fix: misc - broken imports 2023-05-10 02:00:33 +05:30
Bharath Vignesh J K 9dd3c444e4 chg: MQTT export - locate installed CA bundle with certifi 2023-05-10 02:00:09 +05:30
Bharath Vignesh J K 43fc28a737 drop: compat.py
reason: compat.py was used only to maintain backcompat with PY2
2023-05-10 01:56:08 +05:30
Bharath Vignesh J K 0e5551364d chg: workflow (test) - drop support for older py versions
some older versions creeped in during the merge
2023-05-10 01:39:14 +05:30
Bharath Vignesh J K 3f93a3989c chore: missed out formatting 2023-05-10 01:22:31 +05:30
Bharath Vignesh J K be5ae310ba fix: Makefile - black config ignored 2023-05-10 01:22:30 +05:30
Bharath Vignesh J K f48dad555d chg: containers - missed stop hook invocation to podman extension 2023-05-10 01:16:00 +05:30
Bharath Vignesh J K d7c1cef28f merge: post-merge cleanup 2023-05-10 01:15:10 +05:30
Bharath Vignesh J K a08d3dc546 Merge from develop 2023-05-10 01:13:38 +05:30
RazCrimson 156d8b6134
Merge pull request #2378 from nicolargo/renovate/webpack-cli-5.x-lockfile
chore(deps): update dependency webpack-cli to v5.1.1
2023-05-09 18:57:52 +05:30
Nicolas Hennion c7409dbc16
Merge pull request #2376 from nicolargo/cleanup-ci
Run CI tests on Windows with Github Actions
2023-05-09 11:22:44 +02:00
renovate[bot] 66981eb52a
chore(deps): update dependency webpack-cli to v5.1.1 2023-05-09 09:05:01 +00:00
Bharath Vignesh J K 0b62107f39 del: appveyor files 2023-05-09 02:49:30 +05:30
Bharath Vignesh J K 4941f10f73 chg: unittest - secure funcs test for windows 2023-05-09 02:44:48 +05:30
Bharath Vignesh J K 19f3968ce4 chg: network - handle alerts with instant updates
Seems to happen only on windows as of now
2023-05-09 02:44:48 +05:30
Bharath Vignesh J K ef3fe253fb add: workflow (test) - windows tests 2023-05-09 02:44:48 +05:30
Bharath Vignesh J K 2ac6f4d4bf chore: containers (podman) - unused import 2023-05-09 00:58:59 +05:30
Bharath Vignesh J K f0aed7a8ca chg: containers - webui inconsistent with curses
removes color for `uptime` col

continuation of 5e7cb1d0
(commit msg has wrong name)
2023-05-09 00:52:20 +05:30
Bharath Vignesh J K 8836738886 chore: missed changes for docker-compose/glances.conf
adding changes made to conf/glances.conf to docker-compose counterpart
2023-05-09 00:05:06 +05:30
nicolargo 013b01899a Update README file 2023-05-08 15:51:57 +02:00
nicolargo 5e7cb1d0ab Containers status not have to be colorized 2023-05-08 10:51:36 +02:00
nicolargo f0ffd10392 Improve Glances start time by disabling Docker and Podman version getter - Related to #1985 2023-05-08 10:45:20 +02:00
nicolargo 985dd6c8ea Remove space in Podman ID 2023-05-08 10:11:10 +02:00
nicolargo 2ae676ba12 Correct some issues concerning #1985: make the podman object serializable, update the webui, update the documentation 2023-05-08 09:59:13 +02:00
nicolargo e3a1a774ca Correct an issue in the Podman export (date not serializable) 2023-05-08 09:26:04 +02:00
nicolargo 8782908b9c Add headers to new containers plugin (new name for dockers) 2023-05-08 08:45:18 +02:00
nicolargo ae1a47ff22 Let the Docker-Py version upgradable 2023-05-08 08:42:46 +02:00
nicolargo 0a723490e7 Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-05-08 08:41:33 +02:00
Nicolas Hennion 2a1b1db5f1
Merge pull request #2374 from nicolargo/issue1985
Podman support for glances
2023-05-08 08:40:47 +02:00
RazCrimson 9657fcbc9e
Merge pull request #2375 from nicolargo/renovate/docker-6.x
chore(deps): update dependency docker to v6.1.1
2023-05-08 05:55:13 +05:30
renovate[bot] 73e3a5147a
chore(deps): update dependency docker to v6.1.1 2023-05-08 00:16:23 +00:00
RazCrimson 221b71d62d
Merge pull request #2372 from nicolargo/renovate/webpack-dev-server-4.x-lockfile
chore(deps): update dependency webpack-dev-server to v4.15.0
2023-05-08 00:03:40 +05:30
RazCrimson c05670454f
Merge pull request #2373 from nicolargo/renovate/eslint-plugin-vue-9.x-lockfile
chore(deps): update dependency eslint-plugin-vue to v9.11.1
2023-05-08 00:03:17 +05:30
Bharath Vignesh J K a29f335926 chore: containers - drop unused import 2023-05-07 23:30:42 +05:30
renovate[bot] f95ed3723e
chore(deps): update dependency eslint-plugin-vue to v9.11.1 2023-05-07 17:43:09 +00:00
RazCrimson 1e8e6f0b97
Merge pull request #2371 from nicolargo/issue2368
Fix alpine ARM image builds failures due to cryptography dependency
2023-05-07 22:50:18 +05:30
Bharath Vignesh J K 8972880b77 chg: Dockerfile - fix alpine ARM build failures for cryptography
Issue: #2368
2023-05-07 22:01:55 +05:30
Bharath Vignesh J K 8457d2f244 chg: containers - use proper names
Other minor syntactic sugar changes
2023-05-07 21:53:09 +05:30
Bharath Vignesh J K 9e52775929 chg: containers (Podman) - cache version calls
To reduce update times
2023-05-07 21:53:09 +05:30
Bharath Vignesh J K 58a97cb4eb chore: leftover formatting 2023-05-07 21:53:09 +05:30
renovate[bot] 14e6510e79
chore(deps): update dependency webpack-dev-server to v4.15.0 2023-05-07 15:45:33 +00:00
nicolargo 4c60e152ad Update Flamegraph (memory profiling) 2023-05-07 14:08:57 +02:00
nicolargo 5dcd2ceb70 Improve template for issue report and feature request 2023-05-07 14:03:22 +02:00
nicolargo 2633757929 Improve issue stdout 2023-05-07 12:36:52 +02:00
nicolargo 38d0e706d7 Pin Docker-Py to 6.0.1 - Waiting upstream patch related to #2366 2023-05-07 11:04:10 +02:00
nicolargo 60ae73f63a Workaround for -> Fix failing Alpine builds (break by the Cryptography lib used by Cassandra plugin) #2368 2023-05-07 09:55:54 +02:00
nicolargo ac1fc642c7 Merge from develop 2023-05-07 08:58:12 +02:00
nicolargo 4d3f33ab3e InfluxDB2 export doesn't process folders correctly - missing key #2327 2023-05-07 08:49:22 +02:00
Nicolas Hennion fbfbc4601b
Merge pull request #2369 from nicolargo/renovate/webpack-cli-5.x-lockfile
chore(deps): update dependency webpack-cli to v5.1.0
2023-05-07 08:29:50 +02:00
Nicolas Hennion af952aa604
Merge pull request #2370 from nicolargo/renovate/webpack-dev-server-4.x-lockfile
chore(deps): update dependency webpack-dev-server to v4.14.0
2023-05-07 08:29:37 +02:00
renovate[bot] 19c5c2fe28
chore(deps): update dependency webpack-dev-server to v4.14.0 2023-05-07 01:57:09 +00:00
renovate[bot] 9838c0945f
chore(deps): update dependency webpack-cli to v5.1.0 2023-05-07 01:56:51 +00:00
Bharath Vignesh J K 4843963bf5 chg: Dockerfile - attempt fix for alpine builds 2023-05-07 04:44:29 +05:30
Bharath Vignesh J K f7f4f389ac chg: containers - tmp fix to make podman work 2023-05-07 03:49:58 +05:30
nicolargo f6141bf8f3 Try to solve issue on Alpine build (by upgrading pip) 2023-05-06 15:21:29 +02:00
nicolargo d4de420b03 Try to solve issue on Alpine build 2023-05-06 14:40:40 +02:00
nicolargo 67a4084e2e Solve Rust compiler not present in the CI 2023-05-06 14:22:44 +02:00
nicolargo d44f08ec33 [Docker] Docker lib version 6.1.0 breaks Glances #2366 2023-05-06 14:08:37 +02:00
nicolargo b8b2303593 [Docker] Docker lib version 6.1.0 breaks Glances #2366 2023-05-06 14:08:13 +02:00
nicolargo 70964c6d32 [Docker] Docker lib version 6.1.0 breaks Glances #2366 2023-05-06 11:02:09 +02:00
Nicolas Hennion cdd93239e6
Merge pull request #2365 from nicolargo/renovate/eslint-8.x-lockfile
chore(deps): update dependency eslint to v8.40.0
2023-05-06 09:32:40 +02:00
renovate[bot] 5abf113ff3
chore(deps): update dependency eslint to v8.40.0 2023-05-05 22:07:30 +00:00
RazCrimson 64b0b07901
Merge pull request #2364 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.62.0
2023-05-05 01:02:33 +05:30
renovate[bot] ad8cdcbee1
chore(deps): update dependency zeroconf to v0.62.0 2023-05-04 03:38:30 +00:00
RazCrimson 157f2822d2
Merge pull request #2363 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.82.0
2023-05-04 02:03:35 +05:30
renovate[bot] 59814a4d41
chore(deps): update dependency webpack to v5.82.0 2023-05-03 20:05:57 +00:00
RazCrimson 67adc04a16
Merge pull request #2362 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.60.0
2023-05-02 01:09:07 +05:30
renovate[bot] 022b7151ee
chore(deps): update dependency zeroconf to v0.60.0 2023-05-01 15:41:55 +00:00
nicolargo d601fb9c9a Reformat with Black 2023-05-01 10:24:43 +02:00
nicolargo dc49b12307 Correct issue with Error management 2023-05-01 10:22:05 +02:00
nicolargo f4873cef08 Improve Lint 2023-05-01 10:12:09 +02:00
nicolargo 7d952b78c2 Resolve conflict 2023-04-30 16:19:22 +02:00
nicolargo cd6a9d0ef3 Resolve conflict 2023-04-30 16:18:40 +02:00
nicolargo 4caa267eec Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-04-30 16:04:00 +02:00
nicolargo 59c68acf68 Index error when displaying programs on MacOS #2360 2023-04-30 16:03:32 +02:00
nicolargo 59da647247 psutil.AccessDenied: psutil.AccessDenied (pid=1) #539 2023-04-30 16:00:43 +02:00
nicolargo 25efd90924 Correct typo 2023-04-29 10:01:44 +02:00
Nicolas Hennion d24fff53a6
Merge pull request #2361 from nicolargo/renovate/nvidia-cuda-12.x
chore(deps): update nvidia/cuda docker tag to v12.1.1
2023-04-29 09:08:03 +02:00
RazCrimson 44c432afbf
Merge pull request #2358 from nicolargo/renovate/vue-loader-17.x-lockfile
chore(deps): update dependency vue-loader to v17.1.0
2023-04-29 00:06:16 +05:30
renovate[bot] 662252c6c8
chore(deps): update nvidia/cuda docker tag to v12.1.1 2023-04-27 20:10:05 +00:00
RazCrimson 79a09de5e9
Merge pull request #2359 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.81.0
2023-04-28 01:39:49 +05:30
RazCrimson da63abb49e
Merge pull request #2357 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.58.2
2023-04-26 20:34:29 +05:30
renovate[bot] 9c52411769
chore(deps): update dependency webpack to v5.81.0 2023-04-26 14:46:51 +00:00
RazCrimson e3935454f9
Merge pull request #2356 from nicolargo/renovate/sass-1.x-lockfile
chore(deps): update dependency sass to v1.62.1
2023-04-26 20:15:53 +05:30
renovate[bot] 898a55d74a
chore(deps): update dependency vue-loader to v17.1.0 2023-04-26 06:21:28 +00:00
renovate[bot] ff09331270
chore(deps): update dependency zeroconf to v0.58.2 2023-04-26 06:21:09 +00:00
renovate[bot] 5d88d41a81
chore(deps): update dependency sass to v1.62.1 2023-04-26 01:55:11 +00:00
RazCrimson 16517855e4
Merge pull request #2355 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.58.0
2023-04-24 02:57:33 +05:30
renovate[bot] 65d0340873
chore(deps): update dependency zeroconf to v0.58.0 2023-04-23 21:12:50 +00:00
nicolargo 6b924418cc Customizable InfluxDB2 export interval #2348 2023-04-22 09:15:46 +02:00
Nicolas Hennion 286eff0dd9
Merge pull request #2349 from nicolargo/issue2337
Handle tabs in process arguments
2023-04-22 08:28:37 +02:00
Nicolas Hennion 901c1f0d88
Merge pull request #2351 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.80.0
2023-04-22 08:27:56 +02:00
Nicolas Hennion ae4d921c04
Merge pull request #2352 from nicolargo/renovate/webpack-cli-5.x-lockfile
chore(deps): update dependency webpack-cli to v5.0.2
2023-04-22 08:27:44 +02:00
Nicolas Hennion 8c27625ca6
Merge pull request #2353 from nicolargo/renovate/eslint-8.x-lockfile
chore(deps): update dependency eslint to v8.39.0
2023-04-22 08:27:32 +02:00
renovate[bot] fa33361a11
chore(deps): update dependency eslint to v8.39.0 2023-04-21 23:42:43 +00:00
renovate[bot] 14b1e4bc6c
chore(deps): update dependency webpack-cli to v5.0.2 2023-04-21 18:38:34 +00:00
renovate[bot] 25fcb9f1bd
chore(deps): update dependency webpack to v5.80.0 2023-04-19 19:15:50 +00:00
RazCrimson 13a1ff8a1c
Merge pull request #2350 from nicolargo/issue2233
fix: docker - Engine API (Unraid) failing on fetching image
2023-04-19 22:12:53 +05:30
Raz Crimson e0f1f83ab7 fix: docker - Engine API failing on fetching image
cause - prob on Unraid's docker Engine API response

issue - 2233
2023-04-19 20:40:42 +05:30
Raz Crimson 59cb557941 chg: processlist - handle tabs in args 2023-04-19 20:24:11 +05:30
Raz Crimson 6e77196404 fix: processlist - imprecise multiline args handling 2023-04-19 20:24:11 +05:30
nicolargo fa4cbfb62d Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-04-18 10:14:07 +02:00
nicolargo cf3d40f4ef Glances immediate crash on startup in client mode : nf_conntrack_count error #2338 2023-04-18 10:13:38 +02:00
Nicolas Hennion 5b3d7d30f0
Merge pull request #2347 from nicolargo/renovate/crazy-max-ghaction-docker-meta-4.x
chore(deps): update crazy-max/ghaction-docker-meta action to v4.4.0
2023-04-18 10:07:28 +02:00
nicolargo 71187eddf5 Glances immediate crash on startup in client mode : nf_conntrack_count error #2338 2023-04-18 10:06:12 +02:00
renovate[bot] 034bcb9432
chore(deps): update crazy-max/ghaction-docker-meta action to v4.4.0 2023-04-18 07:36:58 +00:00
Nicolas Hennion 684c157e6d
Merge pull request #2344 from nicolargo/renovate/eslint-plugin-vue-9.x-lockfile
chore(deps): update dependency eslint-plugin-vue to v9.11.0
2023-04-16 09:56:27 +02:00
Nicolas Hennion 790e2a8441
Merge pull request #2345 from nicolargo/renovate/html-webpack-plugin-5.x-lockfile
chore(deps): update dependency html-webpack-plugin to v5.5.1
2023-04-16 09:56:06 +02:00
Nicolas Hennion 918cef424c
Merge pull request #2346 from nicolargo/renovate/webpack-dev-server-4.x-lockfile
chore(deps): update dependency webpack-dev-server to v4.13.3
2023-04-16 09:55:54 +02:00
nicolargo da495c1104 Parameters in the VIRT column #2343 2023-04-16 09:44:19 +02:00
nicolargo 88a43bd771 Parameters in the VIRT column #2343 2023-04-16 09:42:14 +02:00
renovate[bot] c33b560517
chore(deps): update dependency webpack-dev-server to v4.13.3 2023-04-15 18:31:35 +00:00
renovate[bot] 9b59d9d390
chore(deps): update dependency html-webpack-plugin to v5.5.1 2023-04-15 18:31:21 +00:00
renovate[bot] b274879e17
chore(deps): update dependency eslint-plugin-vue to v9.11.0 2023-04-15 02:23:55 +00:00
nicolargo 4ea33c6e4b Update WebUI 2023-04-13 22:55:39 +02:00
RazCrimson 3a9185ce4a
Merge pull request #2341 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.79.0
2023-04-13 22:58:25 +05:30
renovate[bot] 6253cf6670
chore(deps): update dependency webpack to v5.79.0 2023-04-12 17:13:14 +00:00
RazCrimson 4f228fff3c
Merge pull request #2340 from nicolargo/renovate/sass-1.x-lockfile
chore(deps): update dependency sass to v1.62.0
2023-04-12 22:42:45 +05:30
renovate[bot] 89c6244a1e
chore(deps): update dependency sass to v1.62.0 2023-04-11 23:38:02 +00:00
RazCrimson 84a6f998ec
Merge pull request #2335 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.56.0
2023-04-11 19:18:34 +05:30
RazCrimson 187382dd93
Merge pull request #2334 from nicolargo/renovate/eslint-8.x-lockfile
chore(deps): update dependency eslint to v8.38.0
2023-04-09 00:53:06 +05:30
nicolargo 5ef51c2063 Graph generation documentation is not clear #2336 2023-04-08 09:46:44 +02:00
renovate[bot] 9d921b3aee
chore(deps): update dependency zeroconf to v0.56.0 2023-04-08 04:25:09 +00:00
renovate[bot] 0e2a989feb
chore(deps): update dependency eslint to v8.38.0 2023-04-08 04:25:04 +00:00
RazCrimson 4f21b2dcfa
Merge pull request #2333 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.55.0
2023-04-08 00:39:18 +05:30
RazCrimson 846e720b4c
Merge pull request #2332 from nicolargo/renovate/sass-1.x-lockfile
chore(deps): update dependency sass to v1.61.0
2023-04-07 10:49:36 +05:30
renovate[bot] 07abde65f2
chore(deps): update dependency zeroconf to v0.55.0 2023-04-07 02:25:03 +00:00
renovate[bot] 43b2d92027
chore(deps): update dependency sass to v1.61.0 2023-04-06 21:58:18 +00:00
RazCrimson f5af12fbad
Merge pull request #2331 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.78.0
2023-04-06 01:26:20 +05:30
renovate[bot] 0af0655bfa
chore(deps): update dependency webpack to v5.78.0 2023-04-05 19:53:52 +00:00
Raz Crimson 50102c1496 Merge branch 'develop' into issue1985
# Conflicts:
#	optional-requirements.txt
2023-04-05 01:11:01 +05:30
RazCrimson c6cff1c026
Merge pull request #2322 from fcalvet/add_gpu_fan_speed
add fan speed to GPU plugin
2023-04-05 00:30:41 +05:30
RazCrimson 48825d35d9
Merge pull request #2325 from nicolargo/renovate/hotkeys-js-3.x-lockfile
fix(deps): update dependency hotkeys-js to v3.10.2
2023-04-05 00:04:54 +05:30
renovate[bot] 9daf6e647d
fix(deps): update dependency hotkeys-js to v3.10.2 2023-04-04 18:28:17 +00:00
RazCrimson 2962521fdd
Merge pull request #2324 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.54.0
2023-04-04 23:57:52 +05:30
renovate[bot] c9daa10b8a
chore(deps): update dependency zeroconf to v0.54.0 2023-04-04 02:30:46 +00:00
Florian Calvet 7a0cda7754 fix dict format 2023-04-03 10:18:58 +02:00
RazCrimson f75ccd8379
Merge pull request #2321 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.53.0
2023-04-03 09:54:37 +05:30
renovate[bot] b04903eb51
chore(deps): update dependency zeroconf to v0.53.0 2023-04-02 23:33:40 +00:00
RazCrimson ebe5570982
Merge pull request #2320 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.52.0
2023-04-02 17:07:50 +05:30
renovate[bot] fac4ce803e
chore(deps): update dependency zeroconf to v0.52.0 2023-04-02 11:07:28 +00:00
RazCrimson c0f8a3a3a9
Merge pull request #2318 from nicolargo/renovate/webpack-dev-server-4.x-lockfile
chore(deps): update dependency webpack-dev-server to v4.13.2
2023-04-01 17:28:50 +05:30
RazCrimson 7ccf6e9082
Merge pull request #2319 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.51.0
2023-04-01 17:28:15 +05:30
renovate[bot] 8cbf73d9d0
chore(deps): update dependency zeroconf to v0.51.0 2023-04-01 06:26:24 +00:00
renovate[bot] bfc00463cc
chore(deps): update dependency webpack-dev-server to v4.13.2 2023-04-01 00:45:48 +00:00
Florian Calvet 7b454d93f5 add fan speed to GPU plugin 2023-03-31 15:15:56 +02:00
RazCrimson 246fbf6956
Merge pull request #2316 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.77.0
2023-03-30 19:10:53 +05:30
renovate[bot] 6a3085bae4
chore(deps): update dependency webpack to v5.77.0 2023-03-29 20:39:08 +00:00
Raz Crimson 9cd1c7e778 docs: Docker - include tag details 2023-03-30 01:15:11 +05:30
RazCrimson 0b76cd86c1
Merge pull request #2310 from nicolargo/renovate/sass-loader-13.x-lockfile
chore(deps): update dependency sass-loader to v13.2.2
2023-03-29 17:48:52 +05:30
RazCrimson 4c39399a5a
Merge pull request #2315 from nicolargo/renovate/eslint-8.x-lockfile
chore(deps): update dependency eslint to v8.37.0
2023-03-29 17:48:24 +05:30
renovate[bot] 7fe71a0785
chore(deps): update dependency eslint to v8.37.0 2023-03-28 22:52:57 +00:00
renovate[bot] a8ac101f4b
chore(deps): update dependency sass-loader to v13.2.2 2023-03-27 19:35:09 +00:00
nicolargo a1adf87523 Add global architecture diagram 2023-03-26 16:10:42 +02:00
RazCrimson 626e6dfedf
Merge pull request #2308 from nicolargo/renovate/sass-1.x-lockfile
chore(deps): update dependency sass to v1.60.0
2023-03-24 17:50:57 +05:30
renovate[bot] 43647e20ab
chore(deps): update dependency sass to v1.60.0 2023-03-24 04:22:48 +00:00
RazCrimson cb23afc392
Merge pull request #2307 from nicolargo/renovate/eslint-plugin-vue-9.x-lockfile
chore(deps): update dependency eslint-plugin-vue to v9.10.0
2023-03-23 19:13:35 +05:30
renovate[bot] 0bc2deffdc
chore(deps): update dependency eslint-plugin-vue to v9.10.0 2023-03-23 13:40:59 +00:00
RazCrimson fb174f0f7e
Merge pull request #2303 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.76.3
2023-03-22 22:08:53 +05:30
renovate[bot] 147db93700
chore(deps): update dependency webpack to v5.76.3 2023-03-22 15:36:16 +00:00
Nicolas Hennion 1cad6baf48
Merge pull request #2302 from RazCrimson/develop
Plugin fs - cleaner impl to avoid duplicate entries when allow is set
2023-03-21 17:22:14 +01:00
Raz Crimson cc95348016 chg: plugin fs - avoid duplicate entries when allow is set
already fixed in 09c66999
this is a cleaner implementation
2023-03-21 18:01:47 +05:30
nicolargo e60c9761df Improve kill signal management #2194 2023-03-21 08:56:58 +01:00
nicolargo cfca339cd5 Clear-text logging of sensitive information - Related to https://github.com/nicolargo/glances/security/code-scanning/30 and https://github.com/nicolargo/glances/security/code-scanning/31 2023-03-21 08:36:41 +01:00
nicolargo 9c332e0bb8 Clear-text logging of sensitive information - Related to https://github.com/nicolargo/glances/security/code-scanning/35 2023-03-21 08:34:30 +01:00
nicolargo 5aab6ebbe5 Clear-text logging of sensitive information - Related to https://github.com/nicolargo/glances/security/code-scanning/34 2023-03-21 08:34:02 +01:00
nicolargo 65a4aa5661 Clear-text logging of sensitive information - Related to https://github.com/nicolargo/glances/security/code-scanning/33 2023-03-21 08:33:35 +01:00
nicolargo f02b366842 Clear-text logging of sensitive information - Related to https://github.com/nicolargo/glances/security/code-scanning/32 2023-03-21 08:32:40 +01:00
Nicolas Hennion 7193ad6057
Merge pull request #2299 from rhoriguchi/fs-duplicates
Make filesystem list unique
2023-03-21 08:25:59 +01:00
Ryan Horiguchi 09c66999eb
Make filesystem list unique 2023-03-20 18:29:03 +01:00
RazCrimson 6390eee923
Merge pull request #2300 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.47.4
2023-03-20 18:37:08 +05:30
renovate[bot] 585fdb7212
chore(deps): update dependency zeroconf to v0.47.4 2023-03-20 06:42:52 +00:00
nicolargo a9bd0bd44f Display a critical error message is ran with both webserver and rpcserver mode 2023-03-19 18:25:21 +01:00
RazCrimson 6eb6f9bbe9
Merge pull request #2298 from josevnz/develop
Fix crash when no data loaded in raid plugin
2023-03-19 19:56:31 +05:30
Jose Vicente Nunez f5dc943e1e Added defensive code for crash as explained here: https://github.com/nicolargo/glances/issues/2297 2023-03-18 21:04:29 -04:00
RazCrimson 43e9ed3696
Merge pull request #2296 from nicolargo/renovate/sass-loader-13.x-lockfile
chore(deps): update dependency sass-loader to v13.2.1
2023-03-19 04:15:11 +05:30
renovate[bot] a43ea382fd
chore(deps): update dependency sass-loader to v13.2.1 2023-03-18 21:16:28 +00:00
RazCrimson c1ab2e6ecf
Merge pull request #2295 from nicolargo/renovate/webpack-dev-server-4.x-lockfile
chore(deps): update dependency webpack-dev-server to v4.13.1
2023-03-19 00:47:20 +05:30
renovate[bot] f80169c91b
chore(deps): update dependency webpack-dev-server to v4.13.1 2023-03-18 18:51:24 +00:00
RazCrimson 0330c59e32
Merge pull request #2294 from nicolargo/renovate/webpack-dev-server-4.x-lockfile
chore(deps): update dependency webpack-dev-server to v4.13.0
2023-03-18 12:41:10 +05:30
renovate[bot] a24e47985a
chore(deps): update dependency webpack-dev-server to v4.13.0 2023-03-17 22:59:04 +00:00
nicolargo 265699cb12 Corect issue whenrunning Glances in server mode and enable cursor 2023-03-16 22:02:02 +01:00
nicolargo b2be5c949d Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-03-16 21:51:54 +01:00
Nicolas Hennion 672a3f2e93
Merge pull request #2291 from nicolargo/renovate/sanitize-html-2.x-lockfile
fix(deps): update dependency sanitize-html to v2.10.0
2023-03-16 21:51:21 +01:00
Nicolas Hennion e9f24dcc36
Merge pull request #2289 from nicolargo/renovate/webpack-dev-server-4.x-lockfile
chore(deps): update dependency webpack-dev-server to v4.12.0
2023-03-16 21:50:29 +01:00
Nicolas Hennion 15105a2318
Merge pull request #2288 from nicolargo/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.76.2
2023-03-16 21:49:52 +01:00
Nicolas Hennion 896bbe576d
Merge pull request #2287 from nicolargo/renovate/sass-1.x-lockfile
chore(deps): update dependency sass to v1.59.3
2023-03-16 21:49:01 +01:00
Nicolas Hennion afb04f06b0
Merge pull request #2286 from nicolargo/renovate/eslint-8.x-lockfile
chore(deps): update dependency eslint to v8.36.0
2023-03-16 21:47:41 +01:00
Nicolas Hennion 4c5242f6c8
Merge pull request #2285 from nicolargo/renovate/vue-monorepo
fix(deps): update dependency vue to v3.2.47
2023-03-16 21:46:51 +01:00
Nicolas Hennion e92821c3bc
Merge pull request #2284 from nicolargo/renovate/style-loader-3.x-lockfile
chore(deps): update dependency style-loader to v3.3.2
2023-03-16 21:45:41 +01:00
renovate[bot] 07d8854e70
fix(deps): update dependency sanitize-html to v2.10.0 2023-03-16 05:22:35 +00:00
renovate[bot] de7bd6cb39
chore(deps): update dependency webpack-dev-server to v4.12.0 2023-03-16 02:16:28 +00:00
renovate[bot] 5dc731d4e2
chore(deps): update dependency webpack to v5.76.2 2023-03-16 02:16:15 +00:00
renovate[bot] 53ffbc3d9f
chore(deps): update dependency sass to v1.59.3 2023-03-15 23:00:56 +00:00
renovate[bot] f5a5689084
chore(deps): update dependency eslint to v8.36.0 2023-03-15 23:00:43 +00:00
renovate[bot] 34b88efbd2
fix(deps): update dependency vue to v3.2.47 2023-03-15 19:21:29 +00:00
renovate[bot] 3778f6a4b6
chore(deps): update dependency style-loader to v3.3.2 2023-03-15 19:21:15 +00:00
nicolargo d2d1475a5c Click on CTRL-S is better 2023-03-12 10:42:59 +01:00
nicolargo 94a0395157 Ubuntu image only support linux/amd64 and linux/arm64 - See issue #2185 2023-03-12 10:22:53 +01:00
nicolargo 28b46a72a4 Avoid interaction in the Docker build process for Ubuntu images 2023-03-12 10:02:00 +01:00
nicolargo db4bd0d136 Merge from develop 2023-03-12 09:44:43 +01:00
nicolargo 806f2a4b7f Merge branch 'develop' into issue1985 2023-03-12 09:09:55 +01:00
nicolargo 43291246de Ubuntu is back as additional Docker images. Alpine stays the default one. Related to #2185 2023-03-12 09:08:12 +01:00
nicolargo e0a052c53e Enhance process "extended stats" display (in Curses interface) #2225 2023-03-11 17:34:05 +01:00
nicolargo bca45ca43e Add documentation 2023-03-11 17:32:13 +01:00
nicolargo 6606fa0b62 Merge branch 'develop' into issue2225 2023-03-11 15:50:30 +01:00
nicolargo 7a60fcd010 Links to documents in sample glances.conf are not valid. #2271 2023-03-11 11:13:23 +01:00
nicolargo 3456afac69 Merge branch 'develop' of github.com:nicolargo/glances into develop 2023-03-11 11:01:46 +01:00
nicolargo d28a696fc1 Refactor the Cloud plugin, disable it by default in the default configuration file - Related to #2279 2023-03-11 11:01:29 +01:00
Nicolas Hennion 907091e06b
Merge pull request #2283 from RazCrimson/issue/2282
Fix webserver status endpoint
2023-03-11 08:46:24 +01:00
Nicolas Hennion aaf194bab8
Merge pull request #2281 from nicolargo/renovate/nvidia-cuda-12.x
chore(deps): update nvidia/cuda docker tag to v12.1.0
2023-03-11 08:44:31 +01:00
Raz Crimson 53c1d64aff fix: Bottle - /api/%s/status endpoint
prob: failure in compressing `None` with zlib
2023-03-10 19:08:09 +05:30
Raz Crimson d3bc9061f4 chore: missed out formatting 2023-03-10 19:03:01 +05:30
renovate[bot] 635dc2e3bb
chore(deps): update nvidia/cuda docker tag to v12.1.0 2023-03-10 00:11:59 +00:00
nicolargo a798d10ab1 Set the min=0 ans max=100 for the sparklines axe 2023-03-05 14:59:28 +01:00
nicolargo 52cf4984f2 Dissociate 2 sensors with exactly the same names #2280 2023-03-05 10:35:50 +01:00
nicolargo 6b637bcc57 All times displayed in UTC - Container not using TZ/localtime (Docker) #2278 2023-03-05 09:25:53 +01:00
nicolargo 69be665406 Correct issue on docker compose with latest docker-compose version 2023-03-04 09:23:57 +01:00
nicolargo e56b292928 Refactor some deps 2023-02-25 15:17:29 +01:00
nicolargo 2fb510afb0 Merge branch 'develop' of github.com:nicolargo/glances into issue1985 2023-02-25 15:05:20 +01:00
Nicolas Hennion 2bc7f2b63a
Merge pull request #2277 from RazCrimson/add-disable-msg-to-update-warning
Add disable option to Update Check warning msg
2023-02-25 15:04:12 +01:00
Raz Crimson f16f213925 chg: Config - check_update defaults to true
To be consistent with the default config in conf/glances.conf
2023-02-24 00:24:40 +05:30
Raz Crimson 42f53f7e9e fix: Outdated - cmdline flag precedence
Old Precedence:
check_update in conf > --disable-check-update

Current Precedence:
--disable-check-update > check_update in conf
2023-02-24 00:23:29 +05:30
Raz Crimson 91b086b134 add: check_update disable option in warning msg 2023-02-24 00:20:20 +05:30
Raz Crimson ad6ca323c6 chore: remove unused imports 2023-02-24 00:19:41 +05:30
Raz Crimson 0d47356f4c chore: format - missed out black changes 2023-02-23 23:08:17 +05:30
nicolargo 89a7383630 Merge branch 'develop' into issue1985 2023-02-19 10:02:49 +01:00
Nicolas Hennion 8f8925ac40
Merge pull request #2269 from RazCrimson/issue1985
Basic support for Podman containers
2023-02-19 09:46:40 +01:00
Nicolas Hennion 6a0e9b2bf6
Merge pull request #2272 from nicolargo/renovate/zeroconf-0.x
chore(deps): update dependency zeroconf to v0.47.3
2023-02-19 09:45:16 +01:00
Raz Crimson 95b7b94b1f chg: containers Plugin - include engine name 2023-02-19 01:08:16 +05:30
Raz Crimson 7c3fe93226 chg: containers Plugin - basic pod support
StatsFetcher -> StatsStreamer
2023-02-19 01:08:06 +05:30
Raz Crimson 928752a453 fix: containers (Podman) - wrong response format
Ref: https://docs.podman.io/en/latest/Reference.html
2023-02-15 00:37:21 +05:30
Raz Crimson ebb26e6a70 chg: containers Plugin - switch to basic podman extension unit
Pod support is still missing
2023-02-15 00:13:36 +05:30
Raz Crimson 16c3b43112 chg: containers Plugin - switch to docker extension unit 2023-02-15 00:13:36 +05:30
Raz Crimson b65f800631 add: containers Plugin - StatsFetcher 2023-02-15 00:13:36 +05:30
Raz Crimson 532df87e74 chg: Plugin name - docker -> containers 2023-02-15 00:13:36 +05:30
renovate[bot] 4b13fa8728
chore(deps): update dependency zeroconf to v0.47.3 2023-02-14 06:10:01 +00:00
nicolargo 99c0c42f74 Add Excalidraw diagram 2023-02-05 10:51:05 +01:00
nicolargo 650df696dc Add semgrep support 2023-02-04 16:08:22 +01:00
nicolargo 25c0a1c9a7 Merge branch 'develop' into issue2225 2023-02-04 14:53:55 +01:00
nicolargo 476e9b5760 Smartmontools missing from full docker image #2262 2023-02-04 08:45:45 +01:00
Nicolas Hennion 4b62000d90
Merge pull request #2264 from nicolargo/renovate/nvidia-cuda-12.x
chore(deps): update nvidia/cuda docker tag to v12.0.1
2023-02-04 08:41:23 +01:00
renovate[bot] dbbf6ba2fa
chore(deps): update nvidia/cuda docker tag to v12.0.1 2023-02-02 21:31:43 +00:00
Nicolas Hennion 4f70193e75
Merge pull request #2263 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/http-cache-semantics-4.1.1
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /glances/outputs/static
2023-02-02 17:21:56 +01:00
dependabot[bot] 6179ac6b97
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /glances/outputs/static
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/commits)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 16:20:59 +00:00
Nicolas Hennion 16f1e1f4c9
Merge pull request #2261 from nicolargo/renovate/docker-build-push-action-4.x
chore(deps): update docker/build-push-action action to v4
2023-02-02 17:18:23 +01:00
renovate[bot] 03fb96cb9d
chore(deps): update docker/build-push-action action to v4 2023-01-30 19:52:36 +00:00
Nicolas Hennion ed20ae7230
Merge pull request #2260 from nicolargo/snyk-fix-b8cb82bf8e2e61c9a4d05be59159bc75
[Snyk] Fix for 5 vulnerabilities
2023-01-30 17:00:35 +01:00
snyk-bot 0c8164a6ec
fix: dev-requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321969
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412
2023-01-30 15:59:13 +00:00
nicolargo e7b26b8f29 Correct clear-text logging of sensitive information (security alert #29) 2023-01-30 16:58:28 +01:00
nicolargo 7d2462075c Update documentation 2023-01-30 16:51:52 +01:00
nicolargo f67a5f2b20 Merge branch 'issue2203' into develop 2023-01-30 10:47:26 +01:00
nicolargo bb455ac6ed Add a new exporter to MongoDB time-serie #2203 2023-01-30 10:47:11 +01:00
nicolargo 30f981bd8e Add a new exporter to MongoDB time-serie #2203 2023-01-30 10:46:39 +01:00
nicolargo 6876490d24 Use of a broken or weak cryptographic hashing algorithm (SHA256) on password storage #2175 2023-01-30 09:29:32 +01:00
Nicolas Hennion 1e6c967323
Merge pull request #2248 from aekoroglu/develop
Update __main__.py
2023-01-28 16:47:16 +01:00
Nicolas Hennion 7ec54490a7
Merge pull request #2255 from fr4nc0is/2157-moved-now-plugin
moved now plugin
2023-01-25 08:28:59 +01:00
fr4nc0is f602416cb3 bump dependencies 2023-01-22 17:53:46 +01:00
fr4nc0is 17e1787fdf bump dev dependencies 2023-01-22 17:53:17 +01:00
fr4nc0is 4ae0439f45 moved now plugin after sensors plugin 2023-01-22 17:52:21 +01:00
nicolargo 1bedd3b80e It is not possible to return API data for a particular mount point (FS plugin) #1162 2023-01-22 12:22:16 +01:00
nicolargo b67c717b3a Improve documentation regarding regexp in configuration file 2023-01-22 11:14:59 +01:00
nicolargo a805386255 Add Podman IO, but not workking for the moment because https://github.com/containers/podman/issues/11695 2023-01-22 09:54:56 +01:00
nicolargo b43bf2bcb0 Code should be refactor in order to make it more easy to update if a new container engine is added 2023-01-22 09:13:06 +01:00
nicolargo 5dd133af7d Add memory info for Podman 2023-01-21 15:40:48 +01:00
nicolargo 216b78936a Merge branch 'develop' into issue1985 2023-01-21 11:43:45 +01:00
nicolargo 67bf0c1964 Update README 2023-01-21 11:37:22 +01:00
nicolargo 4ffc13cbc7 Improve documentation about the [ip] plugin #2251 2023-01-21 10:18:59 +01:00
Ali Erdinç Köroğlu 8ceac23aad
Update __main__.py
non-executable-script fix
2023-01-17 09:50:43 +02:00
nicolargo 66cd8a70d6 Merge from master 2023-01-17 08:12:51 +01:00
nicolargo 05aaee684c version 3.3.1.1 2023-01-17 08:11:31 +01:00
mfridge 3f54d086bc Remove surrounding quotes for quoted command arguments 2023-01-17 08:06:00 +01:00
Rui Chen 258cf59c7e setup: include ujson as required dependency
also update psutil version constraint

Signed-off-by: Rui Chen <rui@chenrui.dev>
2023-01-17 08:05:38 +01:00
Nicolas Hennion c0524485ce
Merge pull request #2247 from mfridge/action-command-split
Remove surrounding quotes for quoted command arguments
2023-01-17 08:04:13 +01:00
mfridge b063169022 Remove surrounding quotes for quoted command arguments 2023-01-16 16:13:32 +01:00
Nicolas Hennion 4ee3c34384
Merge pull request #2245 from chenrui333/setup/add-ujson
setup: include ujson as required dependency
2023-01-16 13:39:04 +01:00
Rui Chen f21750ca48
setup: include ujson as required dependency
also update psutil version constraint

Signed-off-by: Rui Chen <rui@chenrui.dev>
2023-01-14 15:02:19 -05:00
nicolargo 44da004bdd On the road of Glances 3.4.0 2023-01-14 10:03:58 +01:00
nicolargo 8e9f079578 Correct conflict in __init__.py after master merge 2023-01-14 10:00:53 +01:00
nicolargo b79edc7df6 Glances 3.3.1 release 2023-01-14 09:59:56 +01:00
nicolargo 10fbb246ac Add run-docker-ubuntu-* in Makefile 2023-01-14 09:15:36 +01:00
Nicolas Hennion c330e07e34
Merge pull request #2243 from nicolargo/renovate/nvidia-cuda-12.x
Update nvidia/cuda Docker tag to v12
2023-01-14 09:13:08 +01:00
Nicolas Hennion a59ae3edf1
Merge pull request #2244 from nicolargo/renovate/crazy-max-ghaction-docker-meta-4.x
Update crazy-max/ghaction-docker-meta action to v4.3.0
2023-01-14 09:12:37 +01:00
nicolargo f3f85eeb27 Unable to see docker related information #2180 2023-01-14 09:10:56 +01:00
nicolargo e564ba4cf6 Update memory profile chart 2023-01-13 18:59:25 +01:00
renovate[bot] 623b8bf1ef
Update crazy-max/ghaction-docker-meta action to v4.3.0 2023-01-13 14:53:01 +00:00
nicolargo 9f6295a632 Merge branch 'develop' into issue1985 2023-01-13 15:45:40 +01:00
nicolargo 1cad8df2da CSV export dependent on sort order for docker container cpu #2156 2023-01-13 15:41:40 +01:00
renovate[bot] 9ca7e4121f
Update nvidia/cuda Docker tag to v12 2023-01-13 11:05:36 +00:00
Nicolas Hennion c53afdc8bf
Merge pull request #2234 from imyhxy/develop
Add ubuntu Dockerfile with GPU supported
2023-01-13 09:11:56 +01:00
nicolargo 416bbed02e Error when process list is displayed in Programs mode #2209 2023-01-13 09:01:09 +01:00
Nicolas Hennion 6923d49aa7
Merge pull request #2228 from nicolargo/renovate/zeroconf-0.x
Update dependency zeroconf to v0.47.1
2023-01-13 08:43:41 +01:00
Nicolas Hennion ca988b190a
Merge pull request #2242 from nicolargo/renovate/crazy-max-ghaction-docker-meta-4.x
Update crazy-max/ghaction-docker-meta action to v4.2.0
2023-01-13 08:42:38 +01:00
renovate[bot] 220de545eb
Update crazy-max/ghaction-docker-meta action to v4.2.0 2023-01-11 18:48:58 +00:00
nicolargo 2aa7ea15c5 Correct an issue with unit tests 2023-01-08 17:58:32 +01:00
nicolargo b715fc2aba First version only for threads, not programs 2023-01-08 17:45:47 +01:00
nicolargo bf46e85e1c Correct an issue on check for extended stats 2023-01-08 16:08:11 +01:00
nicolargo fc6a647e11 Work almost done for threads. Had to decide what the behavor for programs 2023-01-08 15:57:48 +01:00
Nicolas Hennion 1e7d058dae
Merge pull request #2239 from mfridge/action-command-split
Consider quotes when splitting command arguments
2023-01-08 14:50:59 +01:00
mfridge 848c0ef3ab Consider quotes when splitting command arguments 2023-01-06 16:07:33 +01:00
fkwong 50f5bfc34b Add ubuntu Dockerfile 2023-01-05 13:19:42 +08:00
nicolargo ab68b362a1 CPU and MEM ok 2022-12-29 12:05:01 +01:00
nicolargo d6bdb8dd8e Before bar for threads 2022-12-28 10:57:29 +01:00
nicolargo 9614e2bb19 First version but UI should be improved and when user is in program mode, it did not work... 2022-12-27 10:45:51 +01:00
renovate[bot] 78705d6df1
Update dependency zeroconf to v0.47.1 2022-12-24 05:25:55 +00:00
nicolargo 8bdbed3331 Minor change on the help screen 2022-12-23 09:49:23 +01:00
Nicolas Hennion 8e5bdaf2a5
Merge pull request #2165 from nicolargo/renovate/zeroconf-0.x
Update dependency zeroconf to v0.47.0
2022-12-22 16:11:13 +01:00
renovate[bot] c796e14cab
Update dependency zeroconf to v0.47.0 2022-12-22 03:52:43 +00:00
nicolargo 2d2d71d81f Security alert on ujson < 5.4 2022-12-21 13:56:54 +01:00
nicolargo 2c9ff45b16 The open-web-browser option was missing dashes #2219 2022-12-21 13:52:07 +01:00
nicolargo 25fa4c6536 Correct regexp in glances.conf file example 2022-12-21 09:35:33 +01:00
nicolargo 07415b5f77 What is CW from network #2222 (related to discussion #2221) 2022-12-20 14:23:46 +01:00
nicolargo e5e3cefa45 Refactor some loop in the processes function 2022-12-18 10:11:12 +01:00
nicolargo da3c5474a8 Change Glances repology URL 2022-12-12 14:24:51 +01:00
nicolargo c061dc919f Add example for the date format 2022-12-12 14:20:09 +01:00
nicolargo 6ef0f439a3 Correct Flake8 configuration file 2022-12-12 11:18:29 +01:00
nicolargo 440fb972ce Drop UT for Python 3.5 and 3.6 (no more available in Ubuntu 22.04) 2022-12-12 11:00:52 +01:00
nicolargo ed4cc5e20e Console formatting permanently messed up when other text printed #2211 2022-12-12 10:56:26 +01:00
nicolargo c23451f2ba API GET uptime returns formatted string, not seconds as the doc says #2158 2022-11-20 18:58:15 +01:00
nicolargo 70aa46d4a0 Solve conflicts 2022-11-19 16:08:18 +01:00
nicolargo ea60836cc9 Correct unitary test with Python 3.5 2022-11-19 15:57:27 +01:00
nicolargo a5e2800807 Update Makefile with comments 2022-11-19 15:51:20 +01:00
Nicolas Hennion 81dc33fe74
Merge pull request #2199 from nicolargo/renovate/alpine-3.x
Update alpine Docker tag to v3.17
2022-11-19 15:31:25 +01:00
Nicolas Hennion d0b4f92a95
Merge pull request #2202 from chncaption/oscs_fix_cdr0ts8au51t49so8c6g
fix(sec): upgrade psutil to 5.6.7
2022-11-19 15:29:36 +01:00
nicolargo b60f704ceb Merge branch 'develop' of github.com:nicolargo/glances into develop 2022-11-19 15:27:44 +01:00
nicolargo a9ee2aa09c Replace json by ujson #2201 2022-11-19 15:27:12 +01:00
chncaption 48341ca82d update psutil 5.3.0 to 5.6.7 2022-11-17 18:37:44 +08:00
renovate[bot] 7409818d5d
Update alpine Docker tag to v3.17 2022-11-16 23:31:12 +00:00
Nicolas Hennion 09c7d7fb6b
Merge pull request #2196 from nicolargo/nicolargo/issue2195
Correct issue if process has no user name.
2022-11-16 14:59:12 +01:00
Nicolas Hennion 94ab2f9c36
Merge pull request #2197 from nicolargo/snyk-fix-dc7caaab455695a835f25c84d3eae23f
[Snyk] Security upgrade setuptools from 39.0.1 to 65.5.1
2022-11-16 14:56:49 +01:00
snyk-bot a3382f92e5
fix: doc-requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3113904
2022-11-16 13:54:18 +00:00
Nicolas Hennion 434f9635c6
Merge pull request #2191 from nicolargo/snyk-fix-f81ef6def00bea16cc1bea9c27ee6b1f
[Snyk] Security upgrade setuptools from 39.0.1 to 65.5.1
2022-11-16 14:53:45 +01:00
Nicolas Hennion a45242138c
Correct issue if process has no user name. 2022-11-16 14:47:40 +01:00
snyk-bot 22941cc477
fix: dev-requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3113904
2022-11-15 02:10:06 +00:00
nicolargo 4cd3c57c24 Update Python minimal requirement for py3nvlm 2022-11-13 10:01:11 +01:00
nicolargo dae13631b0 Update security policy (user can open private issue directly in Github) 2022-11-13 09:51:05 +01:00
nicolargo 1d405ef424 Glances UI is breaking for multiline commands #2189 2022-11-13 09:46:29 +01:00
nicolargo 5f0f4d74e0 - Bump loader-utils from 2.0.0 to 2.0.3 in /glances/outputs/static #2187
- Update Web lib
2022-11-13 09:17:34 +01:00
nicolargo 705d4324e5 Update memory profiling 2022-11-12 21:49:14 +01:00
nicolargo 056e9d2940 Add unitary test for memory profiling 2022-11-12 17:15:44 +01:00
nicolargo 91b6b4aff7 Add a simple run script. Entry point for IDE debuger 2022-11-05 10:04:23 +01:00
nicolargo 1fc5795b1e Modify the version (change by error) 2022-11-03 15:42:30 +01:00
nicolargo 0976da8a28 Back to dev again 2022-11-03 15:41:31 +01:00
nicolargo 894e046adc Revert a miss 2022-11-03 15:33:03 +01:00
nicolargo cd520655ef version 3.3.0.4 2022-11-03 15:29:20 +01:00
nicolargo 8016705d04 Correct an issue on alpine.Dockerfile 2022-11-03 15:27:00 +01:00
nicolargo 2e8fcbc086 Correct an issue on alpine.Dockerfile 2022-11-03 15:26:43 +01:00
nicolargo dd6d2973d6 Back to dev 2022-11-03 15:17:16 +01:00
nicolargo 1394da86fb version 3.3.0.3 2022-11-03 15:12:50 +01:00
nicolargo 57a8a12a68 Refactor Docker image factory: from now, only Alpine images will be provided 2022-11-03 15:07:56 +01:00
nicolargo eb8c0fd23c Refactor Docker image factory: from now, only Alpine images will be provided 2022-11-03 15:05:57 +01:00
nicolargo bb9591c4d7 Change the sponsoring section 2022-11-01 10:38:37 +01:00
nicolargo f7fb3ad546 Change the sponsoring section 2022-11-01 10:33:01 +01:00
nicolargo 2bed438222 Change the sponsoring section 2022-11-01 10:31:41 +01:00
nicolargo cf76040b56 Update the docs 2022-11-01 10:08:34 +01:00
nicolargo fc4f6cb2c8 [WebUI] Implement the 'j' hotkey (join threads into program in console mode) in the WebUI #2179 2022-11-01 10:01:32 +01:00
nicolargo a62ea3d21e Reformat the code 2022-10-31 09:07:14 +01:00
nicolargo 1ed761c1aa Correct an issue when using autodiscover in unitary test 2022-10-31 08:58:16 +01:00
nicolargo 2b8ae361d1 Improve unitary test for client/server by using venv if possible 2022-10-31 08:40:46 +01:00
nicolargo 9758d18db1 Back to dev 2022-10-30 14:59:07 +01:00
nicolargo 53f74248cd version 3.3.0.2 2022-10-30 14:57:18 +01:00
nicolargo 76dd873ebe Since the last update, using Glances with a password fails with a Python error / Correct another issue with user_config_dir 2022-10-30 14:51:56 +01:00
nicolargo ffd275bafa Since the last update, using Glances with a password fails with a Python error #2159 2022-10-30 14:51:27 +01:00
nicolargo d6818c9c3a Solve issue with merge 2022-10-29 14:42:22 +02:00
nicolargo 5e983434a1 Use of a broken or weak cryptographic hashing algorithm (SHA256) on password storage #2175 2022-10-29 14:40:01 +02:00
Nicolas Hennion 71dcf0a1f8
Create SECURITY.md 2022-10-29 12:04:03 +02:00
nicolargo c5e138f698 Finalize the merge from develop 2022-10-29 11:24:03 +02:00
nicolargo 30f7dbc566 Solve conflicts 2022-10-29 11:13:13 +02:00
nicolargo 63292a54fc Merge branch 'develop' of github.com:nicolargo/glances into develop 2022-10-29 10:56:14 +02:00
nicolargo 6116c2cc44 Update Debian container to Python 3.11 2022-10-29 10:55:59 +02:00
Nicolas Hennion b64aa702ff
Merge pull request #2174 from nicolargo/renovate/docker-setup-qemu-action-2.x
Update docker/setup-qemu-action action to v2
2022-10-29 09:55:46 +02:00
Nicolas Hennion 98af7516f3
Merge pull request #2173 from nicolargo/renovate/docker-setup-buildx-action-2.x
Update docker/setup-buildx-action action to v2
2022-10-29 09:55:10 +02:00
Nicolas Hennion b290048437
Merge pull request #2172 from nicolargo/renovate/docker-build-push-action-3.x
Update docker/build-push-action action to v3
2022-10-29 09:54:49 +02:00
Nicolas Hennion 01932c954a
Merge pull request #2170 from nicolargo/renovate/crazy-max-ghaction-docker-meta-4.x
Update crazy-max/ghaction-docker-meta action to v4
2022-10-29 09:53:43 +02:00
Nicolas Hennion 1256f38b15
Merge pull request #2169 from nicolargo/renovate/actions-setup-python-4.x
Update actions/setup-python action to v4
2022-10-29 09:52:45 +02:00
Nicolas Hennion 4f2a1ffc88
Merge pull request #2168 from nicolargo/renovate/actions-checkout-3.x
Update actions/checkout action to v3
2022-10-29 09:52:06 +02:00
Nicolas Hennion 66f3a86e59
Merge pull request #2167 from nicolargo/renovate/actions-cache-3.x
Update actions/cache action to v3
2022-10-29 09:51:24 +02:00
nicolargo e0cc9710a4 Set minimal Python version to 3.7 for new version of influxdb-client 2022-10-29 09:50:43 +02:00
nicolargo 2a2576db98 Set minimal Python version to 3.7 for new version of zeroconf. Related to #2165 2022-10-29 09:44:50 +02:00
renovate[bot] efefd52e74
Update docker/setup-qemu-action action to v2 2022-10-26 10:31:09 +00:00
renovate[bot] 5187dfb9c4
Update docker/setup-buildx-action action to v2 2022-10-26 10:31:03 +00:00
renovate[bot] 68c37032bc
Update docker/build-push-action action to v3 2022-10-25 20:10:25 +00:00
renovate[bot] 2cda1b4a52
Update crazy-max/ghaction-docker-meta action to v4 2022-10-25 17:10:37 +00:00
renovate[bot] 7f3d847896
Update actions/setup-python action to v4 2022-10-25 17:10:32 +00:00
renovate[bot] 5b8db6b395
Update actions/checkout action to v3 2022-10-25 13:44:28 +00:00
renovate[bot] dd93f07c81
Update actions/cache action to v3 2022-10-25 13:44:22 +00:00
Nicolas Hennion d948d65db2
Merge pull request #2160 from nicolargo/renovate/configure
Configure Renovate
2022-10-25 09:16:34 +02:00
renovate[bot] aeefbf2c46
Add renovate.json 2022-10-25 07:07:15 +00:00
nicolargo fe1cf36688 Add password file path management in the Glances server mode 2022-10-23 16:36:14 +02:00
nicolargo 09224f1476 Since the last update, using Glances with a password fails with a Python error / Correct another issue with user_config_dir 2022-10-23 15:56:36 +02:00
nicolargo 018fc8ce4c Update docs 2022-10-23 11:33:23 +02:00
nicolargo b7641a18eb Since the last update, using Glances with a password fails with a Python error #2159 2022-10-23 11:27:06 +02:00
nicolargo 0e098407e1 First version. Container list and CPU ok, need others stats 2022-10-23 11:14:41 +02:00
nicolargo f5892af699 Another try for snap - Related to #1801 2022-10-22 12:25:41 +02:00
nicolargo facb436030 Another try for snap - Related to #1801 2022-10-22 11:53:39 +02:00
nicolargo a4105ee6e8 Correct minimatch ReDoS vulnerability 2022-10-22 09:46:11 +02:00
nicolargo 1697eca9bd The Docker hub repository nicolargo/glances is now a organization. Use a token instead of password to publish Glances images. 2022-10-22 09:29:19 +02:00
nicolargo bce94a8a7a On the road again, again... 2022-10-17 23:17:41 +02:00
nicolargo b6f56f416b Quick and dirty patch for #2155 2022-10-17 23:15:56 +02:00
nicolargo 967ad5fedd Merge branch 'develop' of github.com:nicolargo/glances into develop 2022-10-16 15:40:47 +02:00
nicolargo fba9c818f9 On the road to Glances version 3.3.1 2022-10-16 15:40:09 +02:00
nicolargo b2b7bf34be On the orad of Glances 3.3.1 2022-10-16 15:36:29 +02:00
nicolargo 7003616ea5 version 3.3.0 2022-10-16 15:30:33 +02:00
Nicolas Hennion 4cdd2d9f80
Merge pull request #2153 from fr4nc0is/2150-now-plugin
added now plugin
2022-10-16 12:17:10 +02:00
fr4nc0is 5b5db2aa38 bump dependencies 2022-10-16 12:00:28 +02:00
fr4nc0is bab9a1e572 bump dev dependencies 2022-10-16 11:58:43 +02:00
fr4nc0is 6c73885a7e added now plugin and updated layout 2022-10-16 11:57:47 +02:00
nicolargo a0006b4a05 Add Codespell to the CI pipeline #2148 2022-10-16 10:43:11 +02:00
nicolargo 0302cdcd57 Password files in same configuration dir in effect #2143 2022-10-16 10:32:35 +02:00
nicolargo 5947e9da36 glances.conf FS hide not applying #1666 2022-10-16 09:42:24 +02:00
nicolargo 0ac1bcb76b AMP: regex with special chars #2152 Remove example 2022-10-15 16:22:25 +02:00
nicolargo 1aa5596cc2 AMP: regex with special chars #2152 2022-10-15 16:20:30 +02:00
nicolargo 6ac163536d Merge branch 'develop' of github.com:nicolargo/glances into develop 2022-10-15 11:45:12 +02:00
nicolargo 5511bbfd83 Please add docker-compose example and document example. #2151 2022-10-15 11:45:01 +02:00
Nicolas Hennion a4067cd856
Merge pull request #2145 from fr4nc0is/2138-added-sortable-columns-docker-plugin
added sortable columns in docker plugin
2022-10-04 10:41:26 +02:00
Nicolas Hennion ffc4be019c
Merge pull request #2146 from matthewaaronthacker/patch-1
Update config.rst
2022-10-04 10:40:42 +02:00
Nicolas Hennion d68463b68e
Merge pull request #2144 from kianmeng/fix-typos
Fix typos
2022-10-04 10:38:20 +02:00
matthewaaronthacker c5ae552a10
Update config.rst
An escape backslash was missing from the Windows location for the glances conf, making it appear as glancesglances.conf.
2022-10-03 15:43:36 -04:00
fr4nc0is b6d23727c1 added sortable columns in docker plugin 2022-10-03 19:27:43 +02:00
Kian-Meng Ang 4046fbb18c Fix typos
Found via `codespell -S ./venv,./glances/outputs,*.svg -L hart,bu,te,statics`
2022-10-03 21:53:24 +08:00
nicolargo 94d1e00692 Add sort information on Docker plugin (console mode). Related to #2138 2022-10-02 12:46:23 +02:00
nicolargo 16832111ee :Merge branch 'ankostis-help-9' into develop 2022-09-28 19:10:40 +02:00
nicolargo 77133b8d9d Merge branch 'help-9' of https://github.com/ankostis/glances into ankostis-help-9 2022-09-28 19:09:13 +02:00
Kostis Anagnostopoulos bb2bbede09 fix(help) nice msg about admin-rights was reversed 2022-09-27 13:51:54 +03:00
Kostis Anagnostopoulos 8284f25051 fix(help,#976) was missing `9` shortcut for theme-white 2022-09-27 13:51:44 +03:00
Kostis Anagnostopoulos ae5779e3c9 FEAT(help) generate help-screen algorithmically >
fix: discovered x2 new key-strokes introduced by #2081 (nice-level) had been left out.
refact: store plugin's `view_data` (keystroke) in an ordered-dict.
2022-09-27 13:51:44 +03:00
Kostis Anagnostopoulos e0bb6ec647 doc(help): replace inner doc-strings with comments >
though it does not affect size of compiled-code.
2022-09-27 13:51:37 +03:00
nicolargo 7849b9b991 If the container name is lon, then display the start, not the end - Related to #1732 2022-09-25 17:52:20 +02:00
nicolargo 28c6589280 Correct issue with the regexp filter (use fullmatch instead of match) 2022-09-25 10:13:57 +02:00
nicolargo 068a7daac9 Errors when running Glances as web service #1702 2022-09-25 09:05:49 +02:00
nicolargo 6a1ca75aae Change issue template 2022-09-25 08:22:59 +02:00
nicolargo fee4696834 [DOC] Glances failed to start and some other issues - BSD #2106 (update doc) 2022-09-24 19:03:04 +02:00
nicolargo f0caf64837 [DOC] Glances failed to start and some other issues - BSD #2106 2022-09-24 19:01:42 +02:00
nicolargo c5246197da [REQUEST Docker image] Output log to stdout #2128 (for debian) 2022-09-24 18:57:19 +02:00
nicolargo 922610f837 [REQUEST Docker image] Output log to stdout #2128 2022-09-24 16:50:37 +02:00
nicolargo ef9a64cdd0 Update docs regarding Docker images 2022-09-24 16:24:22 +02:00
nicolargo e1a85a24f7 Refactor Docker file CI 2022-09-24 11:38:13 +02:00
nicolargo 265ed00129 Make the Web UI same than Console for CPU plugin 2022-09-18 15:05:29 +02:00
nicolargo e7d3c1a5f4 Correct dpc instead of dcp in WebUI 2022-09-18 14:43:11 +02:00
nicolargo ae4d44a821 [WINDOWS] Reorganise CPU stats display #2131 2022-09-18 14:33:36 +02:00
nicolargo 99554d99a4 [WINDOWS] Reorganise CPU stats display #2131 2022-09-18 14:29:11 +02:00
nicolargo acb50b70a1 [WINDOWS] Reorganise CPU stats display #2131 2022-09-18 09:54:43 +02:00
nicolargo bf27ed9e8f [WINDOWS] Reorganise CPU stats display #2131 2022-09-18 09:45:00 +02:00
nicolargo a629fdf336 Revert "Remove a except in the main display function. Replace it by a test on the screen size." - #2132 2022-09-18 08:56:42 +02:00
nicolargo 2532008162 Correct issue on the dev Docker 2022-09-15 11:02:11 +02:00
nicolargo fdbbf94b46 Remove multiple message in server/client mode concerning the extended proccesses 2022-09-11 18:09:07 +02:00
nicolargo 8a1d4ab53a Correct some minor artifact issue in the WebUI 2022-09-11 18:04:04 +02:00
nicolargo 5a1315130b Improve comment 2022-09-11 12:16:30 +02:00
nicolargo d8a00d73a2 Fix code scanning alert - Clear-text logging of sensitive information #2124 2022-09-09 20:29:01 +02:00
nicolargo 66870050c1 Update flame profiling 2022-09-09 20:14:04 +02:00
nicolargo 8d0d5ad8e6 Improve --issue output with the 'Total time to update all stats' 2022-09-09 19:51:23 +02:00
nicolargo bbc94568d6 Correct issue following merge with json and csv output 2022-09-09 18:25:37 +02:00
nicolargo 0a39988a5a Merge branch 'develop' into glancesv4 2022-09-09 18:23:43 +02:00
Nicolas Hennion a756b734e8
Merge pull request #2123 from fr4nc0is/2122-fix-memmore-display
fixed memmore section/plugin responsive display
2022-09-09 12:02:38 +02:00
nicolargo 42f25d3e38 Apply alias to Duplicate sensor name #1686 2022-09-09 11:59:04 +02:00
fr4nc0is a79598a149 fixed memmore section/plugin responsive display 2022-09-09 11:26:06 +02:00
nicolargo 3ed17fa8f6 Improve makefile 2022-09-09 10:20:38 +02:00
Nicolas Hennion 29e395b9e9
Merge pull request #2121 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/scss-tokenizer-0.4.3
Bump scss-tokenizer from 0.2.3 to 0.4.3 in /glances/outputs/static
2022-09-08 11:00:59 +02:00
dependabot[bot] b0cbddc5a9
Bump scss-tokenizer from 0.2.3 to 0.4.3 in /glances/outputs/static
Bumps [scss-tokenizer](https://github.com/sasstools/scss-tokenizer) from 0.2.3 to 0.4.3.
- [Release notes](https://github.com/sasstools/scss-tokenizer/releases)
- [Commits](https://github.com/sasstools/scss-tokenizer/compare/v0.2.3...v0.4.3)

---
updated-dependencies:
- dependency-name: scss-tokenizer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 08:49:26 +00:00
nicolargo a2e6e199d3 Re-apply patch for issue #1401 2022-09-08 10:31:24 +02:00
nicolargo 55b063c6b0 Resolve merge conflicts 2022-09-08 10:15:16 +02:00
nicolargo 5c60726035 Correct issue on WebUI (Network plugin not display correctly Related to #2100 2022-09-04 08:50:15 +02:00
nicolargo b2b173b159 buildx failed with: ERROR: failed to solve: python:3.10-slim-buster: no match for platform in manifest #2120 2022-09-04 08:16:21 +02:00
nicolargo 5c8370db2c Broken code-block sections in current Docs #2115 2022-09-03 10:55:03 +02:00
nicolargo 616caec911 Merge branch 'fr4nc0is-2100-vuejs-migration' into develop 2022-09-03 09:41:18 +02:00
fr4nc0is 1355c64573 added vuejs and remove angularjs 2022-08-31 16:02:05 +02:00
fr4nc0is 110594b06a added webpack-dev-server 2022-08-31 16:02:05 +02:00
nicolargo e9fe96af07 Refactor Bottle message 2022-08-29 15:06:44 +02:00
nicolargo 1bed69bc8a Make the hide function in sensors section compliant with lower/upercase #1590 2022-08-27 11:23:00 +02:00
nicolargo ef9917a9a8 [Update docs] Can I export only the fields I need in csv report? #2113 2022-08-24 19:32:42 +02:00
nicolargo 46f1745a6d Web UI truncates the days part of CPU time counter of the process list #2108 2022-08-24 19:14:16 +02:00
nicolargo 84f7b38841 Web UI truncates the days part of CPU time counter of the process list #2108 2022-08-21 18:05:37 +02:00
nicolargo 499288c108 Make the Makefile format target compliant with the future Glancesv4 branch 2022-08-20 10:04:28 +02:00
nicolargo 82bbd00b6c Lint the code 2022-08-20 10:01:37 +02:00
nicolargo 917f01a830 Update formater in the Makefile with flake8 and autopep8/autoflake 2022-08-20 09:39:49 +02:00
nicolargo ee3f43985e Update docs and Makefile 2022-08-20 09:00:19 +02:00
nicolargo 4ecbb61bb9 Windows Python 3 installation fails on dependency package "future" #2109 2022-08-20 08:45:00 +02:00
nicolargo faf633da77 Remove python3-glances.json file from Glances repo 2022-08-19 20:15:06 +02:00
nicolargo d954a0127c Distribute as Flatpak - First try #1374 2022-08-19 19:52:49 +02:00
nicolargo 52964dabec Correct merge issue 2022-08-15 18:21:38 +02:00
nicolargo 004288eac5 Improve code quality 2022-08-15 18:16:16 +02:00
nicolargo f1ebbcdcf2 Correct alignement issue with the diskio plugin (Console UI) 2022-08-15 17:31:16 +02:00
nicolargo ff5423e366 Correct unitest (again/again) 2022-08-14 11:24:08 +02:00
nicolargo 723f4f2d25 Correct unitest (again) 2022-08-14 10:57:37 +02:00
nicolargo 6ee41b22b7 Correct unitest 2022-08-14 10:44:01 +02:00
nicolargo e00bb4f336 Merge from develop 2022-08-14 10:39:32 +02:00
nicolargo 2ee2ffbd24 Add the public IP information to the WebUI #2105 2022-08-13 13:04:34 +02:00
nicolargo ed5254d2a0 Merge branch 'develop' of github.com:nicolargo/glances into develop 2022-08-08 11:29:40 +02:00
nicolargo 9adc934628 Improve the IP module with a link to Censys #2105 2022-08-08 11:29:27 +02:00
nicolargo 1caf77b5a9 Merge branch 'issue2105' into develop 2022-08-08 11:28:10 +02:00
nicolargo 5e01e20c01 Update main screenshot 2022-08-08 11:27:03 +02:00
nicolargo 4721bd9ebb Update docs. @TODO: WebUI 2022-08-08 11:24:23 +02:00
nicolargo 100395434d Correct display issue when screen size is too low 2022-08-08 11:11:46 +02:00
nicolargo 7c5bbe6c5a First version ok for both PY2 and PY3 2022-08-08 10:59:00 +02:00
nicolargo 296c3fd2a0 Only work for the first refresh... 2022-08-07 17:43:11 +02:00
nicolargo 712cd67581 Update FUNDING file 2022-08-07 09:16:24 +02:00
nicolargo 4634caf3a1 Add WebUI audit to the Makefile 2022-07-29 13:17:03 +02:00
nicolargo 5ce964bac3 Remove the static exportable_plugins list from glances_export.py #1556"
Limiting data exported for economic storage #1443
2022-07-29 12:49:47 +02:00
nicolargo 9b4afb84cf Merge branch 'develop' into glancesv4 2022-07-28 18:23:58 +02:00
nicolargo f7260fb0d2 On the road of version 3.3.0 2022-07-28 18:17:04 +02:00
nicolargo 8e443d342c Resolv conflict from master 2022-07-28 18:10:35 +02:00
nicolargo 709b4e904d version 3.2.7 2022-07-28 18:00:59 +02:00
nicolargo 0f226b2ba8 Update README for Debian package users 2022-07-28 10:30:55 +02:00
nicolargo 3af6cc01fb Update docs 2022-07-27 19:28:12 +02:00
Nicolas Hennion 948780a0c1
Merge pull request #2096 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/terser-5.14.2
Bump terser from 5.9.0 to 5.14.2 in /glances/outputs/static
2022-07-27 19:21:26 +02:00
dependabot[bot] 4f3aabb72b
Bump terser from 5.9.0 to 5.14.2 in /glances/outputs/static
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.9.0...v5.14.2)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-27 17:20:59 +00:00
nicolargo 144e26f6c3 Correct issue with CPU label 2022-07-27 11:21:05 +02:00
nicolargo bce5131c1b Merge branch 'issue2059' into develop 2022-07-27 10:25:18 +02:00
nicolargo 419c4475dc Container uptime wrong (timezone bug?) #2059 2022-07-27 10:25:04 +02:00
nicolargo ff4e8d8d1a Change the README header 2022-07-27 10:03:35 +02:00
nicolargo e71fbaf0b0 Correct typo with bat percent plugin (sensor) 2022-07-27 09:53:02 +02:00
nicolargo e1683854ce Correct an issue from the latest develop merge 2022-07-27 09:45:07 +02:00
nicolargo dfe0f642ea Resolv first conflict 2022-07-26 10:37:44 +02:00
nicolargo ca0aaed56c Drive names truncated in Web UI #2055 2022-07-26 10:32:53 +02:00
nicolargo d5efb63591 Config to disable all plugins by default (or enable an exclusive list) #2089 2022-07-24 10:37:42 +02:00
nicolargo 2fb2403405 Change the sponsor message 2022-07-16 10:48:23 +02:00
nicolargo 0e7fb3052e Update documentation for Docker 2022-07-15 19:25:53 +02:00
nicolargo 2fa8cfa093 Force -C in docker-compose file 2022-07-15 19:02:02 +02:00
nicolargo 177eff05a2 Improve error message when export error occures 2022-07-15 18:25:41 +02:00
nicolargo 17ff53d3a7 Default MQQT server port is 8883 (but 1883 for mosquito) 2022-07-15 11:43:47 +02:00
nicolargo cea2e777ef Improve error message when MQTT error occures 2022-07-15 11:42:20 +02:00
nicolargo b2052414b6 Merge branch 'develop' of github.com:nicolargo/glances into develop 2022-07-15 11:17:20 +02:00
nicolargo 9aaf620e2f Change exit message when export plugin init failed 2022-07-15 11:16:07 +02:00
Nicolas Hennion ddd91be318
Merge pull request #2088 from dbrennand/docs/prometheus-exporter-container-usage
Add note about `host` for Prometheus exporter in a container
2022-07-15 10:07:48 +02:00
dbrennand ad11702397 feat: add note about `host`
When using the Prometheus exporter inside a container: https://github.com/nicolargo/glances/issues/2087#issue-1305028667

refactor: place old note into note block
2022-07-14 18:25:20 +01:00
nicolargo 2ffb54a291 In the sensor plugin thresholds in the configuration file should overwrite system ones #2058 2022-07-14 10:33:52 +02:00
nicolargo 678f6da3a9 Disable Pyright on the Git actions pipeline 2022-07-10 18:52:23 +02:00
nicolargo fd9522d6ad Update docs for new shortcut 2022-07-10 18:42:34 +02:00
Nicolas Hennion 169468cd0b
Merge pull request #2084 from sylvainmouquet/chore--add-pyright
chore(ci): add pyright
2022-07-10 18:37:58 +02:00
Sylvain MOUQUET 3237d2aedf
chore: add pyright 2022-07-10 11:34:56 +02:00
Sylvain MOUQUET f798293474
chore(ci): add pyright 2022-07-10 11:29:50 +02:00
Sylvain MOUQUET 4b5ae8aded
chore(ci): add pyright 2022-07-10 11:22:47 +02:00
nicolargo 820007073f Keybind(s) for modifying nice level #2081 2022-07-09 19:10:40 +02:00
nicolargo bc9e2c1004 Merge branch 'issue2081' into develop 2022-07-09 19:01:33 +02:00
nicolargo 034bc69cd0 Keybind(s) for modifying nice level #2081 2022-07-09 19:01:16 +02:00
nicolargo 7080464766 Resolve conflict after develop merge 2022-07-09 14:03:12 +02:00
Nicolas Hennion e4437a59ee
Merge pull request #2083 from sylvainmouquet/feat/codeql-v2
chore(ci) : upgrade CodeQL Actions to version 2
2022-07-09 13:46:05 +02:00
Nicolas Hennion 3e82b79c92
Merge pull request #2082 from jiegec/develop
fix: fix unit testing on macOS
2022-07-09 13:45:16 +02:00
Sylvain MOUQUET da14a9bb1b
chore: wip 2022-07-09 13:19:23 +02:00
Sylvain MOUQUET cf7012841d
Merge pull request #1 from nicolargo/develop
Merge
2022-07-09 13:09:22 +02:00
Jiajie Chen c8f6e4d1bc fix: fix unit testing on macOS
In test_017_programs, the following exception may occur:

TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

This commit fixes this exception by giving a default value for None.
2022-07-09 16:34:00 +08:00
nicolargo 5a44de0080 Improve makefile help 2022-07-09 09:03:39 +02:00
Nicolas Hennion d65030b036
Merge pull request #2078 from sylvainmouquet/feat-make-help
chore(Makefile): add command make help
2022-07-09 08:53:46 +02:00
Sylvain MOUQUET 7c9d09029c
chore(Makefile): add command make help 2022-07-05 23:34:58 +02:00
nicolargo 8a617c5276 Add quote to the update command line (already ok for the installation). Related to #2073 2022-07-05 10:51:36 +02:00
nicolargo 533824dc7e [WEBUI] Reorganize help screen #2037 2022-07-05 10:36:12 +02:00
Nicolas Hennion ee223a0573
Merge pull request #2075 from FastThenLeft/issue#2037
Reformat help display
2022-07-05 09:00:38 +02:00
FastThenLeft 5ddf57e3f5 Reformat help display 2022-07-04 20:35:48 -04:00
nicolargo 5ec14a5be3 Upadte docs 2022-06-25 15:50:04 +02:00
nicolargo 5114231085 Make Glances (almost) compliant with REUSE #2042 2022-06-25 15:43:36 +02:00
Nicolas Hennion b6e4c3c8be
Merge pull request #2069 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/nanoid-3.3.4
Bump nanoid from 3.1.30 to 3.3.4 in /glances/outputs/static
2022-06-25 14:54:51 +02:00
Nicolas Hennion 55d118fe17
Merge pull request #2068 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/node-sass-7.0.0
Bump node-sass from 6.0.1 to 7.0.0 in /glances/outputs/static
2022-06-25 14:54:17 +02:00
dependabot[bot] 203b164405
Bump nanoid from 3.1.30 to 3.3.4 in /glances/outputs/static
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.4.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.3.4)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 12:52:30 +00:00
dependabot[bot] e41d888e17
Bump node-sass from 6.0.1 to 7.0.0 in /glances/outputs/static
Bumps [node-sass](https://github.com/sass/node-sass) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: node-sass
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 12:52:11 +00:00
Nicolas Hennion 8f559ca9c1
Merge pull request #2064 from ewuerger/fix-amp-config-ref
Fix reference link to configuration file in AMP
2022-06-25 14:44:35 +02:00
ewuerger 60ce10978d Fix reference link to configuration file
Link to the configuration heading in config.rst via its label.
See https://sublime-and-sphinx-guide.readthedocs.io/en/latest/references.html#use-custom-link-text
for details.
2022-06-19 12:21:24 +02:00
nicolargo e403b0e4c3 Add a Json stdout option #2060 2022-06-12 10:11:46 +02:00
nicolargo f24c8f4077 Update docs for JSON 2022-06-12 09:29:20 +02:00
nicolargo 7c6d402036 Change the way core are displayed 2022-05-29 18:45:34 +02:00
nicolargo d149a2f3a4 Merge from develop 2022-05-29 13:04:58 +02:00
nicolargo d2bbcfed8d Remove a except in the main display function. Replace it by a test on the screen size. 2022-05-29 13:02:21 +02:00
nicolargo 1292150478 Remove unused key in the process list 2022-05-28 17:50:59 +02:00
nicolargo 87d90987a8 Refactor top menu of the curse interface 2022-05-27 18:36:36 +02:00
nicolargo 586ebd7099 Refactor comment 2022-05-26 15:21:48 +02:00
nicolargo 165357f746 Refactor Load plugin msg_curse method 2022-05-26 14:58:35 +02:00
nicolargo b33417831e Update Flame profiling for version 3.2.6.4 2022-05-26 14:47:13 +02:00
nicolargo 5fb4187ae5 Improve Irix display for the load plugin 2022-05-26 11:41:56 +02:00
nicolargo b2f6040654 Remove : from the load 2022-05-26 11:25:38 +02:00
nicolargo 86da9b1bb0 Except datutil import error 2022-05-26 10:28:51 +02:00
nicolargo d0fde6904c Version 3.2.6.4 2022-05-26 10:27:21 +02:00
nicolargo 2d9bf175d0 Another dep issue solved in the Alpine Docker + issue in the outdated method 2022-05-26 09:37:56 +02:00
nicolargo d9b568c024 Another dep issue solved in the Alpine Docker + issue in the outdated method 2022-05-26 09:35:42 +02:00
nicolargo 2d4309c0eb Update Makefile 2022-05-25 23:12:09 +02:00
nicolargo 90082392de Resolve conflict 2022-05-25 22:51:12 +02:00
nicolargo 3d27c91556 Glances version 3.2.6.3 2022-05-25 22:48:18 +02:00
nicolargo 8012fe5546 Update the documentation conerning the Docker Gances conf file 2022-05-25 22:41:47 +02:00
nicolargo 472b1f8296 Update the documentation conerning the Docker Gances conf file 2022-05-25 22:40:38 +02:00
nicolargo 85c991ff56 Remove a log message 2022-05-25 16:58:23 +02:00
nicolargo c2a37fc72c version 3.6.2.2 2022-05-25 16:56:39 +02:00
nicolargo cd600f6f48 Remove a log message 2022-05-25 16:53:56 +02:00
nicolargo 82025891b3 Resolve merge conflicts from develop 2022-05-25 16:01:06 +02:00
nicolargo c0c66ea653 version 3.2.6.1 2022-05-24 12:23:52 +02:00
nicolargo ae0e01c7da On the road of Glances version 3.2.7 2022-05-24 12:23:10 +02:00
nicolargo 197c98077f Correct an issue with except 2022-05-24 12:14:45 +02:00
nicolargo ccd56bf10c version 3.2.6 2022-05-24 12:09:50 +02:00
nicolargo 9cc10fd33d Use glances.conf file inside docker-compose folder for Docker images 2022-05-24 11:57:06 +02:00
nicolargo 6f51c5fd43 Change a comment in the Docker plugin 2022-05-24 09:49:11 +02:00
nicolargo 39bd364b1c Merge branch 'issue2052' into develop 2022-05-22 16:28:04 +02:00
nicolargo 4d50e8cb57 Create a Show option in the configuration file to only show some stats #2052 2022-05-22 16:27:46 +02:00
Nicolas Hennion feed48aa8d
Merge pull request #2051 from aekoroglu/develop
unitary tests should run loopback interface
2022-05-15 11:09:47 +02:00
aekoroglu b3b012b177 tests runs on loopback interface 2022-05-08 22:01:40 +03:00
nicolargo de9dd6769a Add Reuse file 2022-05-07 09:09:48 +02:00
nicolargo ad24721ceb Init Reuse 2022-05-07 09:05:16 +02:00
nicolargo f6dfcac58f Add reuse as a dev requirement 2022-05-07 08:51:38 +02:00
nicolargo 013d320ce9 Add python-datutil dep for Focker plugin - Related to #2045 2022-05-07 08:24:19 +02:00
nicolargo c34479a996 Merge branch 'develop' into glancesv4 2022-05-03 08:27:15 +02:00
Nicolas Hennion 3dd6830e95
Merge pull request #2043 from SConaway/patch-1
add venv to list of .PHONY in Makefile
2022-05-03 08:26:07 +02:00
Steven Conaway 9c6cb6c5ba
add venv to list of .PHONY in Makefile 2022-05-02 23:22:43 -07:00
nicolargo 0bea6fd43b Glances API Documentation displays non valid json (Issue #2036) 2022-04-21 10:46:07 +02:00
nicolargo 7096c755aa Missing from glances.timer import getTimeSinceLastUpdate 2022-04-17 10:35:22 +02:00
nicolargo 22ea644778 Merge from develop 2022-04-17 10:32:45 +02:00
nicolargo 96c6faf473 Add an alias to get stats as json 2022-04-17 10:29:22 +02:00
Nicolas Hennion 9dbd0597f2
Update README.rst 2022-04-17 10:26:53 +02:00
Nicolas Hennion df7d8163e1
Add social icons 2022-04-17 10:21:13 +02:00
Nicolas Hennion cec1f78ebf
Merge pull request #2033 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6 in /glances/outputs/static
2022-04-15 15:50:30 +02:00
Nicolas Hennion 13e6ce37f3
Merge pull request #2030 from RazCrimson/optionally-disable-public-ip
Optionally disable public ip
2022-04-15 15:47:37 +02:00
Nicolas Hennion 909f893352
Merge pull request #2029 from RazCrimson/update-public-ip-at-intervals
Update public ip at intervals
2022-04-15 15:47:15 +02:00
dependabot[bot] 27b5db4d79
Bump minimist from 1.2.5 to 1.2.6 in /glances/outputs/static
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-15 13:44:38 +00:00
RazCrimson 2bbb3e49f7 plugin: ip - Optionally disable displaying public ip 2022-04-11 02:48:03 +05:30
RazCrimson 0a9b9f5f36 docs: header - update public address every `t` seconds 2022-04-11 02:47:06 +05:30
RazCrimson 4ea4e4bec5 plugin: ip - update public address every `t` seconds 2022-04-11 02:47:06 +05:30
nicolargo cd0b07d559 Merge branch 'develop' of github.com:nicolargo/glances into develop 2022-04-10 16:25:51 +02:00
nicolargo abb6f178fe On the road of Glances 3..2.6 2022-04-10 16:25:37 +02:00
nicolargo 128504097b Update release note for Glances 3.2.5 2022-04-10 16:14:09 +02:00
nicolargo 0d42dd9068 Update release note for Glances 3.2.5 2022-04-10 16:12:34 +02:00
nicolargo ed85bc43ed Glances reports different amounts of used memory than free -m or top #1924 2022-04-10 15:53:22 +02:00
nicolargo 7003028f9e Amp with pipe do not work #1976 2022-04-10 15:50:39 +02:00
nicolargo 320a1ffcae Clear-text logging of sensitive information 2022-04-10 15:41:23 +02:00
Nicolas Hennion a72cbde480
Merge pull request #2023 from RazCrimson/fix-n-key-wrong-behaviour
Fix N key wrong behavior
2022-04-08 08:56:12 +02:00
RazCrimson c74297ef9f add: `N` key description in help menu 2022-03-27 02:14:08 +05:30
RazCrimson 99da85906b fix: `N` key (un)freezing time instead show/hide 2022-03-27 02:14:08 +05:30
nicolargo b3c009b22e Correct unitary test failed 2022-03-20 09:26:06 +01:00
nicolargo 021ac4cea9 Format code thanks to Black 2022-03-20 09:13:02 +01:00
nicolargo 7dbe2ffd3d Format code thanks to Black 2022-03-20 09:12:23 +01:00
nicolargo 40864d35e1 Correct merge conflict 2022-03-20 09:09:00 +01:00
Nicolas Hennion 5b655be232
Merge pull request #2018 from tirkarthi/fix-threading
Use is_set instead of isSet for Python 3.10 compatibility.
2022-03-20 08:59:25 +01:00
Karthikeyan Singaravelan 7a0ca38ee6 Use is_set instead of isSet for Python 3.10 compatibility. 2022-03-20 12:31:50 +05:30
nicolargo f43ed60ce8 Correct an issue with the kill function 2022-03-13 14:31:41 +01:00
nicolargo aab36bbcd8 Kill is now compatible with Programs 2022-03-13 14:06:58 +01:00
nicolargo 5bf520f529 Update WebUI and docs 2022-03-13 11:38:56 +01:00
nicolargo f61d147354 Correct typo in documentation 2022-03-13 08:47:44 +01:00
nicolargo 6d9bac1867 First running version. Need more test. And WebUI 2022-03-12 15:21:21 +01:00
nicolargo 7e2af7bd63 Correct unitary test issue in Python 2 2022-03-06 11:22:55 +01:00
Nicolas Hennion cf2982d9ac
Merge pull request #2011 from LiamAEdwards/develop
Updated FreeBSD installation instructions
2022-03-06 08:36:28 +01:00
ledwards 14488f2dab Updated FreeBSD installation instructions 2022-03-06 06:05:53 +00:00
nicolargo 0c14e966a7 Merge branch 'issue2004' into develop 2022-03-05 14:38:35 +01:00
nicolargo 0c55ff1ecb Add uptime to the Docher plugin - #2004 2022-03-05 14:38:20 +01:00
nicolargo 899f814e3a Merge branch 'develop' into glancesv4 2022-02-26 15:53:10 +01:00
nicolargo 6404e08129 Correct issue on run 2022-02-26 15:52:45 +01:00
nicolargo 71a8b37dfb Merge develop 2022-02-26 15:50:56 +01:00
nicolargo be927fda3d Prepare memory leak test. Not active for the moment 2022-02-26 15:45:39 +01:00
nicolargo 5098ac009b Add memory leak target in makefile 2022-02-25 11:24:12 +01:00
nicolargo bc47db9924 Disable history when --memory-leak option is used 2022-02-25 11:20:15 +01:00
nicolargo 1d222ff8a0 Add --memory-leak option 2022-02-25 10:51:45 +01:00
nicolargo 74a2e6bbe8 Add a trace malloc test 2022-02-20 09:38:53 +01:00
nicolargo f7971620ee The gpu temperature unit are displayed incorrectly in web ui #2002 2022-02-20 08:45:11 +01:00
nicolargo 9d61dc3193 Merge branch 'issue1996' into develop 2022-02-19 15:56:45 +01:00
nicolargo 13ba034e92 Add line separators in the terminal output #1996 2022-02-19 15:56:07 +01:00
nicolargo a648b488d0 Update profiling flame file 2022-01-23 15:32:19 +01:00
nicolargo f112aaf19c Correct execution error 2022-01-23 10:50:49 +01:00
nicolargo aaf2c0e82d Solve conflict following issue #1049 2022-01-23 10:47:05 +01:00
nicolargo f9697e8b8e Including battery and AC adapter health in Glances #1049 2022-01-23 10:42:43 +01:00
Nicolas Hennion 19eea2a0c1
Merge pull request #1992 from myersg86/develop
Fix typo in CONTRIBUTING.md
2022-01-19 18:26:57 +01:00
myersg86 30c93b4a95
Fix typo in CONTRIBUTING.md
CONTRIBUTING.md:61: usefull -> useful
2022-01-15 12:40:46 -07:00
nicolargo 00c65933ae Update docs (again) for API. Related to issue #1988 2022-01-15 11:38:21 +01:00
nicolargo 2729bd767f Update docs for API. Related to issue #1988 2022-01-15 11:34:52 +01:00
nicolargo 8d4a20a6a8 Web server status check endpoint #1988 2022-01-15 11:33:14 +01:00
nicolargo a4d75fedaa Merge branch 'develop' into glancesv4 2022-01-02 09:35:38 +01:00
nicolargo 0659e59e3a Merge branch 'Jahenr-issue1973' into develop 2022-01-02 09:34:35 +01:00
Moldavite 1992eac0b0 Added missing options to help menu 2022-01-01 22:46:18 +00:00
nicolargo 0eb5dd211c Merge branch 'develop' into glancesv4 2021-12-28 09:41:52 +01:00
nicolargo b9b7e44ac0 Random numbers in Client mode #1979 2021-12-28 09:41:36 +01:00
nicolargo cec72149cb Merge branch 'develop' into glancesv4 2021-12-27 11:10:54 +01:00
nicolargo edb0b70efa --time parameter being ignored for client/server mode #1978 2021-12-27 11:10:23 +01:00
nicolargo 83b11e55d1 Merge branch 'develop' into glancesv4 2021-12-27 10:42:28 +01:00
nicolargo 0d61df50c8 glances_ip.py plugin relies on low rating / malicious site domain #1975 2021-12-27 10:42:11 +01:00
nicolargo 7d756db882 Correct issue in decorators names 2021-12-05 16:27:55 +01:00
nicolargo 56090c289c Resolv conflict while mergin develop for CPU optim in server mode 2021-12-05 16:21:46 +01:00
nicolargo c22037df3d Reduce CPU in server mode by disabling the processes extended stats 2021-12-05 16:20:04 +01:00
nicolargo b3b49b52e2 Run black on the branch 2021-12-05 09:24:27 +01:00
nicolargo b5bb57c4cd Correct conflict following black merge 2021-12-05 09:23:30 +01:00
Nicolas Hennion eb8857999c
Merge pull request #1971 from RazCrimson/readme-typo-fix
fix: Typo in docs
2021-12-05 09:07:45 +01:00
Nicolas Hennion 798d4c5922
Merge pull request #1970 from RazCrimson/fix-autodiscovery-failure
fix: autodiscover.py failure
2021-12-05 09:06:57 +01:00
Nicolas Hennion 6a1311c42c
Merge branch 'develop' into fix-autodiscovery-failure 2021-12-05 09:06:50 +01:00
Nicolas Hennion 170d92ec4a
Merge pull request #1968 from RazCrimson/fix-command-trimmed-incorrectly-1795
fix: Command trimmed incorrectly #1795
2021-12-05 09:04:56 +01:00
Nicolas Hennion dae001f1d4
Merge pull request #1967 from RazCrimson/add-code-formatter
Add Code formatter - black
2021-12-05 09:03:48 +01:00
RazCrimson 6d1b2f23e3 fix: Typo in docs 2021-11-30 22:00:05 +05:30
RazCrimson d00ef3c202 fix: autodiscover.py failure 2021-11-30 03:02:04 +05:30
RazCrimson 2589b54190 fix: Command trimmed incorrectly #1795 2021-11-30 01:54:12 +05:30
RazCrimson 78a903dbeb refactor: Reformat existing code to comply with black 2021-11-29 21:51:18 +05:30
RazCrimson 24636a544c add: Makefile entries for black formatting & testing 2021-11-29 21:51:18 +05:30
RazCrimson 79223b15cb add: pyproject.toml for black config 2021-11-29 21:51:18 +05:30
RazCrimson deb05ce31e add: black in dev-requirements.txt 2021-11-29 20:33:44 +05:30
nicolargo e4b4e702e6 Load plugin - OSError: [WinError 87] on Windows 10 #1965 2021-11-29 11:25:11 +01:00
nicolargo 7c4326e40e Merged from develeop 2021-11-29 09:01:15 +01:00
Nicolas Hennion a3d0dfc1e3
Merge pull request #1963 from RazCrimson/typo-fixes-and-standardize-doc-string
Typo fixes & Standardize doc string convention (contd.)
2021-11-29 08:44:37 +01:00
RazCrimson 37f9fb5270 refactor - Minor typo fixes in cleanup 2021-11-28 20:07:34 +05:30
RazCrimson ea8423d9a5 refactor - Core cleanup 2021-11-28 19:58:53 +05:30
RazCrimson b90aee053a refactor - Plugins cleanup 2021-11-28 19:58:13 +05:30
nicolargo d72f7b0928 Solve conflict with develop 2021-11-28 14:13:29 +01:00
nicolargo 056e9277df Merge branch 'RazCrimson-typo-fixes-and-standardize-doc-string' into develop 2021-11-28 14:08:03 +01:00
nicolargo 1b78481213 Merge branch 'typo-fixes-and-standardize-doc-string' of https://github.com/RazCrimson/glances into RazCrimson-typo-fixes-and-standardize-doc-string 2021-11-28 14:06:38 +01:00
nicolargo 524eacdc18 Update InfluxDB documentation 2021-11-28 14:06:08 +01:00
RazCrimson 88816ae785 refactor: Outputs cleanup 2021-11-28 16:37:37 +05:30
RazCrimson 2eae445e4d refactor: Exports cleanup 2021-11-28 16:37:37 +05:30
RazCrimson 1c9ae9a86e refactor: AMPs cleanup 2021-11-28 16:37:37 +05:30
nicolargo 1bbba2043c Grafana dashboards not displayed with influxdb2 #1960 2021-11-28 10:46:14 +01:00
Nicolas Hennion d95a64c570
Merge pull request #1961 from RazCrimson/docker-plugin-updates
Docker plugin updates
2021-11-28 10:09:04 +01:00
RazCrimson 14caec00b0 refactor: Docker Plugin - Remove legacy comments 2021-11-28 02:01:18 +05:30
RazCrimson 4a053b8499 refactor: Docker Plugin - Rename variables & Reformat code 2021-11-28 01:51:23 +05:30
RazCrimson 5c27ed5d2a refactor: Docker Plugin - Reorder imports 2021-11-28 01:38:07 +05:30
RazCrimson 946423222e refactor: Docker Plugin - Reduce computation for network and io stats 2021-11-28 01:38:07 +05:30
nicolargo ad3dacad82 Update docs 2021-11-22 11:55:47 +01:00
nicolargo 7e7379d637 Glances 3.2.4.2 2021-11-22 11:54:04 +01:00
nicolargo 2294e83a27 Resolve conflict during develop merge 2021-11-22 11:47:52 +01:00
nicolargo d3ac8a5647 Merge branch 'develop' of github.com:nicolargo/glances into develop 2021-11-22 11:41:22 +01:00
nicolargo 7b9fcc53d6 KeyError: 'syscalls' and terminal layout broken with Glances 3.2.4+ #1956 2021-11-22 11:41:11 +01:00
Nicolas Hennion 42f184d23a
Merge pull request #1957 from hugovk/add-3.10
Add support for Python 3.10
2021-11-22 09:05:06 +01:00
Hugo van Kemenade 246bfc94c8 Replace Travis CI badge with GitHub Action 2021-11-21 12:31:32 +02:00
Hugo van Kemenade 0fd55a43d2 Add support for Python 3.10 2021-11-21 12:29:02 +02:00
nicolargo 6bf417bab5 On the road again again 2021-11-21 08:46:55 +01:00
nicolargo b0ad670a21 Glances 3.2.4.1 2021-11-21 08:44:39 +01:00
nicolargo 9fa87cddf2 Merge branch 'develop' into glancesv4 2021-11-20 10:25:11 +01:00
nicolargo f47087a309 On the road of Glances v3.2.5 again 2021-11-20 10:24:46 +01:00
nicolargo d887d68e30 On the road of Glances v3.2.5 2021-11-20 10:24:25 +01:00
nicolargo 65b0d81710 Glances 3.2.4 2021-11-20 10:21:20 +01:00
Nicolas Hennion 199a5e290c
Merge pull request #1954 from NefixEstrada/patch-1
Fix Grafana CPU temperature panel
2021-11-20 09:54:57 +01:00
Néfix Estrada 55523167a7 Fix Grafana CPU temperature panel
It had a specific host, with this fix it will work for all hosts
2021-11-18 12:27:55 +01:00
nicolargo e0e4734659 is_disabled instead of is_disable for system and uptime 2021-11-14 15:56:47 +01:00
nicolargo 3d93926294 Resolve conflict with PR #1949 2021-11-14 12:26:07 +01:00
Nicolas Hennion e74ed67880
Merge pull request #1949 from H4ckerxx44/name_fix
Name fix
2021-11-14 12:23:26 +01:00
H4ckerxx44 b911a0adcc small oversights 2021-11-13 17:48:41 +01:00
H4ckerxx44 760c26fb6e missing d in function name:
is_enable() -> is_enabled()
2021-11-13 17:15:57 +01:00
H4ckerxx44 a21f9e15c2 missing d in function name:
is_disable() -> is_disabled()
2021-11-13 17:15:24 +01:00
nicolargo 2ccfae0779 Improve --issue by displaying the second update iteration and not the first one. More relevant 2021-11-12 10:08:18 +01:00
nicolargo 7c9040688e Improve --issue option with Python version and paths 2021-11-11 18:21:54 +01:00
nicolargo 0bdc1dbc53 Merge branch 'develop' into glancesv4 2021-11-11 18:03:01 +01:00
nicolargo 48e35fa98e Merge branch 'webpack-upgrade' into develop 2021-11-11 18:02:36 +01:00
nicolargo 54d937c93e Merge branch 'develop' into glancesv4 2021-11-11 10:47:16 +01:00
nicolargo 9af001c500 Update docs and correct make docs-server target in Makefile 2021-11-11 10:46:56 +01:00
Floran Brutel f0470761e4 Use npm ci instead of npm install 2021-11-11 10:46:29 +01:00
Floran Brutel d3560d403d Update to webpack 5 2021-11-11 10:44:20 +01:00
nicolargo 4e5be7e75a Merge branch 'develop' into glancesv4 2021-11-11 10:33:08 +01:00
nicolargo 74b820ebf1 Swith from black <> white theme with the '9' hotkey - Related to issue #976 2021-11-11 10:32:46 +01:00
Floran Brutel f55107f46c Upgrade Webpack to v4 2021-11-11 10:31:27 +01:00
nicolargo 511b25bb10 Merge branch 'develop' into glancesv4 2021-11-11 10:03:40 +01:00
Nicolas Hennion 2bf80fa44a
Merge pull request #1945 from RazCrimson/fix-docker-plugin-invalid-io-stats-for-arch-linux
Fix: Docker plugin - Invalid IO stats with Arch Linux
2021-11-11 10:02:13 +01:00
RazCrimson 71e3843764 Fix: Docker plugin - Invalid IO stats with Arch Linux 2021-11-08 21:07:57 +05:30
nicolargo 341f4b1ea4 Correct an conflict while merging Docker plugin 2021-11-06 16:10:51 +01:00
Nicolas Hennion 53b45eeab2
Merge pull request #1944 from RazCrimson/docker-plugin-network-stats-typo-bug-fix
Bug Fix: Docker plugin - Network stats not being displayed
2021-11-06 16:06:35 +01:00
RazCrimson d1e26b9211 Docker plugin - Minor changes and cleanup 2021-11-05 20:34:19 +05:30
RazCrimson eb500c39e6 Docker plugin - Remove unused imports 2021-11-05 20:34:18 +05:30
RazCrimson 7936bf44a0 Docker plugin - Fix typos in comments 2021-11-05 20:33:26 +05:30
RazCrimson 3e7fa12faf Fix: Docker plugin - Network stats typo bug 2021-11-05 20:06:45 +05:30
nicolargo 6e9cc89e4d Correct UT for real 2021-11-04 09:58:22 +01:00
nicolargo 5922ccebef Correct UT 2021-11-04 09:54:52 +01:00
nicolargo 51bab2d453 Update UI 2021-11-04 09:50:55 +01:00
nicolargo 9b25f76ee4 Remove unused view.py in the MEM plugin 2021-11-03 10:52:58 +01:00
nicolargo 2b28c3cab5 Correct unitary test 2021-11-03 10:39:04 +01:00
nicolargo ac4e4bee25 Merge branch 'develop' into glancesv4 2021-11-03 10:26:19 +01:00
nicolargo 3a96a9c607 Failure to start on Apple M1 Max #1939 2021-11-03 10:11:18 +01:00
nicolargo cc4f35419c Merge branch 'develop' into glancesv4 2021-10-08 17:42:23 +02:00
nicolargo baa5e5fbfa Influxdb2 via SSL #1934 2021-10-08 17:41:24 +02:00
Floran Brutel 9a58502989
Merge pull request #1932 from mohamadmansourX/develop
Fix typo
2021-10-02 07:45:16 +02:00
Mohamad Mansour 1e75f104e9 fixed typo 2021-10-01 15:39:35 +03:00
nicolargo 0b42429a63 First try for the view class 2021-09-26 18:47:21 +02:00
nicolargo 2eeab3c3a4 Merge branch 'develop' into glancesv4 2021-09-26 18:03:31 +02:00
nicolargo 518758dda7 Merge branch 'testrefactor' into glancesv4 2021-09-26 18:02:57 +02:00
nicolargo dd5bc83f1b Add default __init__.py file 2021-09-26 17:47:57 +02:00
nicolargo 3573c1a2df Refactor plugins as MVC (only M implement for the moment) 2021-09-26 17:47:09 +02:00
nicolargo 0d6a6eb92b Correct class name error in debug message 2021-09-26 09:03:23 +02:00
nicolargo 5e8cf29f27 Merge branch 'develop' of github.com:nicolargo/glances into develop 2021-09-25 10:14:51 +02:00
nicolargo 4b19831741 Correct an issue on idle display 2021-09-25 10:14:33 +02:00
nicolargo dc90c3f52f Correct an issue on idle display 2021-09-25 10:12:52 +02:00
nicolargo 1971965fa6 Add comment to change AMP in future release 2021-09-19 10:28:24 +02:00
Nicolas Hennion c12e0965ed
Merge pull request #1927 from zmanji/patch-1
Update Debian image to include `smartmontools`
2021-09-09 22:23:48 +02:00
Zameer Manji 605207f154
Update debian image to include `smartmontools`
This adds the `smartmontools` package to the debian based Docker image.

This package provides the `smartctl` binary which the `pySMART.smartx` package
requires.

Without this change, in the Docker container, with `--device=/dev/sda:/dev/sda` passed to `docker run`
```
# python3
Python 3.9.6 (default, Aug 17 2021, 02:38:04) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pySMART import DeviceList
>>> DeviceList()
<DeviceList contents:
>
```

With this change:
```
# python3
Python 3.9.6 (default, Aug 17 2021, 02:38:04) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> ifrom pySMART import DeviceList
KeyboardInterrupt
>>> from pySMART import DeviceList
>>> DeviceList()
<DeviceList contents:
<SCSI device on /dev/sda mod:None sn:AB202000000000001398>
>
```
2021-09-08 19:52:01 -04:00
nicolargo 9713b083ab Add README.rst for plugins and exports 2021-09-04 17:01:38 +02:00
nicolargo a0b5982f1d Refactor exports modules loading 2021-09-04 16:46:20 +02:00
nicolargo 23292675a3 Merge branch 'develop' into glancesv4 2021-09-04 09:39:31 +02:00
nicolargo 64eab612a3 Plugin sensors and main plugin OK 2021-09-04 09:39:17 +02:00
nicolargo c2da541c0a Refactor Mem + MemSwap Curse 2021-08-29 19:26:43 +02:00
nicolargo 73f091f2d2 Refactor CPU Curses code 2021-08-29 17:50:07 +02:00
nicolargo d80a9cf229 Remove future dep 2021-08-29 14:48:24 +02:00
nicolargo 750f33f5b1 Merge branch 'develop' into glancesv4 2021-08-29 10:37:44 +02:00
nicolargo 5b5cb1ceea distutils is deprecated in Python 3.10 #1923 2021-08-29 10:37:25 +02:00
nicolargo 32152d7ca5 Remove Python 3.4 test 2021-08-29 09:54:52 +02:00
nicolargo 7544c959e3 Avoid circular loop when init docker plugin 2021-08-28 11:08:16 +02:00
nicolargo cb68d216d2 Merge compat into globals 2021-08-28 10:56:04 +02:00
nicolargo 76ea71f256 Remove Python 2 in docs and README files 2021-08-28 10:23:19 +02:00
nicolargo 15173dd431 Correct unitests 2021-08-25 13:07:44 +02:00
nicolargo 83170d7da5 Plugins are classes 2021-08-24 10:04:02 +02:00
nicolargo a47cfafdaf Update documentation 2021-08-21 11:29:27 +02:00
nicolargo a0d7db5abb Separate battery percentages #1920 2021-08-21 11:20:06 +02:00
nicolargo b466356f3c Back on the road of the version 3.2.4 2021-08-21 08:40:14 +02:00
nicolargo b164e36497 version 3.2.3.1 2021-08-21 08:36:53 +02:00
nicolargo 9b90c14230 Merge branch 'issue1922' into develop 2021-08-21 08:26:47 +02:00
nicolargo 3796c3ca65 Incorrect processes disk IO stats #1922 2021-08-21 08:26:11 +02:00
nicolargo a43f24af16 DSM 6 docker error crash /sys/class/power_supply #1921 2021-08-17 17:33:56 +02:00
nicolargo 84914bc4d8 Update README file with containers images name again 2021-08-14 18:14:22 +02:00
nicolargo 7abb924381 Update README file with containers images name 2021-08-14 18:09:46 +02:00
nicolargo ec70ed6944 On the road of Glances 3.2.4 2021-08-14 17:08:53 +02:00
nicolargo 0e7919eaa0 version 3.2.3 2021-08-14 17:05:47 +02:00
nicolargo c4bb0af8fe Update Makefile 2021-08-14 12:45:53 +02:00
nicolargo b59a33ee0c Docker container monitoring only show half command? #1912 2021-08-14 12:37:14 +02:00
nicolargo ff4cfcd0c9 Processor name getting cut off #1917 2021-08-14 11:44:40 +02:00
nicolargo ed8cd9f8ad batinfo not in docker image (and in requirements files...) ? #1915 2021-08-14 11:24:10 +02:00
nicolargo ab3f849d0f Glances don't send hostname (tag) to influxdb2 2021-08-14 11:00:47 +02:00
nicolargo ea1812652a Merge branch 'develop' of github.com:nicolargo/glances into develop 2021-08-07 17:48:56 +02:00
nicolargo 530bc76f38 Update Flame profiling 2021-08-07 17:29:48 +02:00
Nicolas Hennion 62bf8bd8a3
Merge pull request #1911 from linduxed/patch-1
Fix typo in README
2021-08-03 19:42:47 +02:00
Mikael Muszynski c1f6954672
Fix typo in README 2021-08-03 11:19:16 +02:00
nicolargo bdeb414a4c Update process list doc 2021-08-01 10:21:32 +02:00
nicolargo 348ee629c0 Update process list doc 2021-08-01 10:08:06 +02:00
nicolargo be0c7f8c83 Merge branch 'issue1903' into develop 2021-08-01 10:06:03 +02:00
nicolargo a9ebdf185b Make the process sort list configurable through the command line #1903 2021-08-01 10:05:47 +02:00
nicolargo ba1af75e08 Public IP address doesn't display anymore #1910 2021-07-31 10:22:42 +02:00
Nicolas Hennion fe37342ccc
Merge pull request #1907 from nicolargo/webui-network-name
[WebUI] Better truncate of network name
2021-07-28 11:25:07 +02:00
Floran Brutel fd6e19854d Display full interface name of network for big screen in the webui 2021-07-28 08:01:20 +02:00
Nicolas Hennion 42d56426c8
Merge pull request #1906 from Poeschl/fix-alpine-and-debian-python-lib-path
Fix alpine path
2021-07-26 13:13:23 +02:00
Markus Pöschl b347ce277c
Fix alpine path 2021-07-25 14:40:42 +02:00
nicolargo 0eb8973626 Debian Docker images broken with version 3.2.2 #1905 2021-07-25 10:09:03 +02:00
nicolargo aec87540e2 On the road to Glances 3.2.3 2021-07-24 18:11:13 +02:00
nicolargo 1c2b073e6b Glances version 3.2.2 2021-07-24 18:08:18 +02:00
nicolargo 90ba099c6f InfluxDB/InfluxDB2 Export object has no attribute hostname #1899 2021-07-24 18:01:27 +02:00
nicolargo 1b549041fc [3.2.0/3.2.1] keybinding not working anymore #1904 2021-07-24 17:56:50 +02:00
nicolargo 5c0540ee9a Merge branch 'fieldsdescription' into develop 2021-07-17 18:55:44 +02:00
nicolargo 39faa7f2d0 Reformat API doc 2 2021-07-17 09:49:28 +02:00
nicolargo 9c4fe9ca0c Reformat API doc 2021-07-17 09:44:21 +02:00
Nicolas Hennion 66094b904f
Update api.rst 2021-07-17 09:37:48 +02:00
nicolargo a9d5c0c1ac Add limits 2021-07-17 09:31:07 +02:00
nicolargo a24fab1b64 Add history 2021-07-16 19:41:42 +02:00
nicolargo 2726522b1e Add the all request, with warnings 2021-07-16 16:51:48 +02:00
nicolargo 01d0846212 Rename stdout fields to apidoc 2021-07-16 16:47:27 +02:00
nicolargo 10ae52bea6 Rename stdout fields to apidoc 2021-07-16 16:44:11 +02:00
nicolargo 2c92670771 Add field == value 2021-07-16 16:43:39 +02:00
nicolargo 04bad352e6 Get specific item 2021-07-16 15:39:24 +02:00
nicolargo a0aa5b479d Merge branch 'develop' into fieldsdescription 2021-07-16 09:58:29 +02:00
nicolargo 11908c6a9f Add core docs 2021-07-16 09:57:33 +02:00
Nicolas Hennion 9add1fe731
Merge pull request #1896 from Poeschl/fix-alpine-images
Fix python lib path in alpine images
2021-07-16 09:51:40 +02:00
nicolargo 1865384954 Add network 2021-07-15 11:16:29 +02:00
nicolargo dad4d2846d Add load and memswap 2021-07-15 10:49:57 +02:00
Markus Pöschl 5e4b21f816
Fix python lib path in alpine images 2021-07-14 22:46:33 +02:00
nicolargo 9a3b3b6ac3 Add API doc for MEM 2021-07-14 19:16:09 +02:00
nicolargo 2bae8cb79f Add API doc for CPU 2021-07-14 19:00:11 +02:00
nicolargo e798fb4f63 Add API doc for CPU (not completed) 2021-07-13 19:32:38 +02:00
nicolargo d650913c59 Update docs 2021-07-11 18:55:11 +02:00
Nicolas Hennion 6526013567
Create codeql-analysis.yml 2021-07-10 09:57:06 +02:00
nicolargo 17cabc654e Corect release note for version 3.2.0 2021-07-10 09:14:21 +02:00
nicolargo 74519added Roadtrip to version 3.2.2 2021-07-10 09:10:33 +02:00
nicolargo d1c39b1bd0 Glances version 3.2.1 2021-07-10 09:01:51 +02:00
nicolargo 9d6051be4a Security audit - B411 #1025 2021-07-09 10:03:37 +02:00
nicolargo 5daa2a8282 Glances 3.2.0 and influxdb export - Missing network data #1893 2021-07-09 09:06:16 +02:00
nicolargo 4d1ec281a3 Update README concerning Docker files 2021-07-04 16:11:37 +02:00
nicolargo 2d6ca13542 Update contribution file 2021-07-04 15:48:28 +02:00
nicolargo 3739e057df Update contribution file 2021-07-04 15:46:29 +02:00
nicolargo e3fab78968 Also search glances.conf file in /usr/share/doc/glances/glances.conf #1862 Correct an issue in last commit 2021-07-04 09:55:58 +02:00
nicolargo 2e1b55e3e9 Also search glances.conf file in /usr/share/doc/glances/glances.conf #1862 2021-07-04 09:48:58 +02:00
nicolargo 03db71ce10 Also search glances.conf file in /usr/share/doc/glances/glances.conf #1862 2021-07-04 09:47:45 +02:00
nicolargo 4c8b6d7f0e Update NEWS file 2021-07-03 10:58:16 +02:00
nicolargo 428b8d586c On the road to Glances 3.2.1 2021-07-03 10:53:05 +02:00
nicolargo e7fa0a4cdd version 3.2.0 2021-07-03 10:39:30 +02:00
nicolargo 4ed7375a7f Update issue template 2021-07-03 10:29:35 +02:00
nicolargo 2d62e92ca6 Spelling correction in docs #1886 2021-07-03 10:19:29 +02:00
nicolargo 0230683550 Starting an alias with a number causes a crash #1885 2021-07-03 10:10:49 +02:00
nicolargo 655b472628 Remove test in conf file 2021-06-27 09:41:06 +02:00
nicolargo 7dd70a93a6 Network interfaces not applying in web UI #1884 2021-06-27 09:39:44 +02:00
nicolargo 26ce4e5d48 Change except in Zeroconf 2021-06-20 08:44:31 +02:00
nicolargo 4873f06387 Reindent audodiscover.py file 2021-06-19 08:34:41 +02:00
nicolargo 4522a236b6 Update docs for sparklines 2021-06-19 08:05:06 +02:00
nicolargo d915a64fa3 Sparkline not working in server/client mode #1881 - For the moment disable sparkline in client mode 2021-06-19 08:03:37 +02:00
nicolargo 153ce376bd Docker containers information missing with Docker 20.10.x #1878 2021-06-14 19:34:12 +02:00
nicolargo d4339de57e Add some tools to the Makefile 2021-06-13 10:49:01 +02:00
nicolargo 4b87e979af Add NEWS file and improve Makefile 2021-06-12 19:15:31 +02:00
nicolargo 28c980142d Add no pager to release note 2021-06-12 18:39:09 +02:00
nicolargo b4a3aae04d Update Makefile 2021-06-12 09:48:17 +02:00
nicolargo 55a3a13d89 Add release-note in the Makefile 2021-06-12 09:42:02 +02:00
nicolargo 5d918cd794 # Quit from help should return to main screen, not exit #1874 2021-06-12 08:53:24 +02:00
Nicolas Hennion 1f90393a03 Correct unitary test following PR #1873 2021-06-11 17:12:07 +02:00
Nicolas Hennion 0e9e5e9512 Correct an issue in last commit for #1875 2021-06-11 17:07:29 +02:00
Nicolas Hennion 7e8243baf8 AttributeError: 'NoneType' object has no attribute 'current' #1875 2021-06-11 16:52:24 +02:00
Nicolas Hennion 054597be84
Merge pull request #1873 from metayan/fix-history-add
Fix history_add, so it allows history_max_size to be zero
2021-06-11 08:22:07 +02:00
Yan 9d64cafaa4 Fix history_add, so it allows history_max_size to be zero
It was trying to pop from an empty list when history_max_size was zero.
2021-06-07 16:39:31 +02:00
nicolargo 2207e9be81 Add some comments in cpu_percent 2021-06-05 19:30:48 +02:00
nicolargo 06186ec6ad Update Glances Flame 2021-06-05 17:40:47 +02:00
nicolargo 7f5c5e7dee Get system sensors temperatures thresholds #1864 2021-06-05 17:24:06 +02:00
nicolargo c022aa9501 Corrtec an issue with sensors 2021-06-05 10:58:42 +02:00
nicolargo f354d1a2b6 Correct issue with bad key for AMPS 2021-06-05 09:06:10 +02:00
Nicolas Hennion e135dc339f Add some comments to the processlist.py 2021-06-01 18:22:13 +02:00
Nicolas Hennion d6cdf7485e Grab sensors temperature threshold 2021-05-31 14:17:36 +02:00
nicolargo 75b5718a33 Update Flame profiling 2021-05-30 17:59:19 +02:00
nicolargo ad14969d06 Default refresh time for sensors is refresh rate * 2 2021-05-30 17:52:33 +02:00
nicolargo 39631d0b09 Add profiling tools 2021-05-29 18:48:27 +02:00
nicolargo 190defc430 Correct refresh time method 2021-05-29 16:14:17 +02:00
nicolargo ada1490a78 Update documentation 2021-05-29 10:43:26 +02:00
nicolargo 50d214edb5 Merge branch 'issue1871' into develop 2021-05-29 10:39:15 +02:00
nicolargo a27715b28f Generate specific tag from stats' key for InfluxDB and InfluxDB2 export #1871 2021-05-29 10:38:53 +02:00
nicolargo 1f41d1084c Merge branch 'develop' into issue1871 2021-05-29 09:29:28 +02:00
Nicolas Hennion 99814a8ca8 Set the dafault refresh rate of system stats to 60 seconds 2021-05-28 17:54:34 +02:00
Nicolas Hennion b85c1aba82 Improve curses loop. Avoid checking keypressed if it return -1. 2021-05-28 17:35:05 +02:00
Nicolas Hennion 8f6830a2bb Change main curses loop 2021-05-28 17:18:52 +02:00
Nicolas Hennion 49908fe11a Improve history perf 2021-05-28 14:20:14 +02:00
Nicolas Hennion bd6e682aa7 Improve history perf 2021-05-28 14:19:49 +02:00
Nicolas Hennion 525ab5728c Correct filter 2021-05-28 09:41:06 +02:00
nicolargo fcf7f31a28 Correct an issue while getting Core number 2021-05-27 17:40:03 +02:00
nicolargo 5f034972cd Generate specific tag for every docker container on influxdb export #1871 2021-05-27 17:33:14 +02:00
nicolargo 23dabffd77 Put CPU improvement in test 2021-05-27 10:49:58 +02:00
nicolargo b0dce2c6a1 Improve Docker client connection 2021-05-27 09:39:04 +02:00
Nicolas Hennion 7275143318 Set minimal version for PSUtil 2021-05-26 15:54:11 +02:00
Nicolas Hennion 8086e1033c Update docs 2021-05-26 15:51:43 +02:00
Nicolas Hennion 38448dcbfb Make the Docker API connection timeout configurable, update doc 2021-05-26 14:19:31 +02:00
Nicolas Hennion 3a9ec4e4a8 Make the Docker API connection timeout configurable 2021-05-26 14:18:27 +02:00
Nicolas Hennion 487a758edf Update GraphFlame 2021-05-26 13:57:31 +02:00
Nicolas Hennion ca246a1ae5 Add coment to defaullt glances.conf file 2021-05-26 11:40:26 +02:00
Nicolas Hennion 87336db3fd Add caching for processing username and cmdline 2021-05-26 11:17:58 +02:00
Nicolas Hennion 4665727e72
Add files via upload 2021-05-25 14:31:01 +02:00
Nicolas Hennion 2a306ca912
Merge pull request #1872 from jatin837/develop
fixed typo in comments
2021-05-25 14:16:39 +02:00
Blake 1ba9ec0d8d fixed typo in comments 2021-05-25 14:47:14 +05:30
Nicolas Hennion 960dea5479 Set refresh rate for global CPU percent 2021-05-25 08:42:08 +02:00
Nicolas Hennion b246f05c19 Merge branch 'issue1834' into develop 2021-05-24 18:35:16 +02:00
Nicolas Hennion 04c61576ad Replace py-cpuinfo by PsUtil and home made methods 2021-05-24 18:34:48 +02:00
Nicolas Hennion 783e6e988b Filter data exported from Docker plugin 2021-05-24 15:28:15 +02:00
Nicolas Hennion 4f133b025c Make the refresh rate configurable per plugin #1870 2021-05-24 14:55:25 +02:00
Nicolas Hennion a874ea8ddc Correct issue in stdout cvs header field 2021-05-24 14:37:48 +02:00
Nicolas Hennion e40f5555b4 CPU is OK, but not diskio and others plugins 2021-05-24 13:46:02 +02:00
Nicolas Hennion 788ad374ec
Add files via upload 2021-05-24 09:34:00 +02:00
nicolargo 958225051a Not all field in CPU export. Had to investigate 2021-05-24 08:05:02 +02:00
nicolargo ab7948c47a Correct an issue when stats use old stats (example network). Had also to deal with the export CSV module not working. 2021-05-23 23:09:32 +02:00
nicolargo 90b28dc633 Correct an issue when stats use old stats (example network). Had also to deal with the export CSV module not working. 2021-05-23 23:07:06 +02:00
nicolargo 0417762d96 Update documentation 2021-05-23 19:17:14 +02:00
nicolargo abb97d5286 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... 2021-05-23 18:54:42 +02:00
nicolargo 0c7e3bca5f Add shortcut to run Glances in dev environment 2021-05-23 09:04:41 +02:00
Nicolas Hennion 4e95911622
Merge pull request #1868 from cliffordwhansen/DockerPsUtil
Docker ps util
2021-05-20 19:08:17 +02:00
Clifford W. Hansen 410264c33b Fixed python library path 2021-05-20 16:55:02 +02:00
Clifford W. Hansen 6be4d3ba63 Fixed docker copy issue 2021-05-20 16:54:36 +02:00
Nicolas Hennion 35fe3e57d1
Update quicklook.rst 2021-05-20 13:19:26 +02:00
Nicolas Hennion fe29162dce
Update hddtemp.rst 2021-05-18 08:34:39 +02:00
Nicolas Hennion 5a05500929
Add files via upload 2021-05-18 08:33:55 +02:00
Nicolas Hennion cb53521d6f
Update hddtemp.rst 2021-05-18 08:32:44 +02:00
Nicolas Hennion cdbf70359c
Update hddtemp.rst 2021-05-18 08:32:28 +02:00
Nicolas Hennion 16c3840c10
Update hddtemp.rst 2021-05-18 08:31:52 +02:00
Nicolas Hennion ebd3869bfc
Update hddtemp.rst 2021-05-18 08:31:36 +02:00
Nicolas Hennion 3bfc7fafdf
Update hddtemp.rst
Coorect type
2021-05-18 08:06:52 +02:00
Nicolas Hennion 78fef7d8c0
Merge pull request #1860 from Poeschl/fix-docker-tag
Fix missing docker image name
2021-05-17 15:02:09 +02:00
Markus Pöschl 5141d75684
Fix missing docker image name 2021-05-15 22:28:31 +02:00
nicolargo fadb75e04f Correct Flake8 issue in pkugins 2021-05-15 19:01:46 +02:00
nicolargo 97b36d0ba3 Merge branch 'develop' of github.com:nicolargo/glances into develop 2021-05-15 18:26:40 +02:00
Nicolas Hennion ccee17e4eb
Merge pull request #1859 from Poeschl/versioned-minimal-full-images
Docker images overhaul
2021-05-15 18:26:05 +02:00
nicolargo 3c10606692 Add virtualenv venv to gitignore file 2021-05-15 18:25:28 +02:00
Markus Pöschl e93adf5cad Apply os on image tag 2021-05-15 16:09:20 +02:00
Markus Pöschl 4295f6ee90 Change cache specific to Dockerfile, not commit. 2021-05-15 15:44:43 +02:00
Markus Pöschl 44a917a2c6 Move to plain alpine image to build pip dependencies successfully 2021-05-15 15:44:43 +02:00
Markus Pöschl 3ab59b833a Add alpine multi-staged build 2021-05-15 15:44:43 +02:00
Markus Pöschl d00e680c4d Install build-essentials instead of just the gcc on debain build images 2021-05-15 15:44:43 +02:00
Markus Pöschl b2506777b5 Adjust dev images for caching and add workdir again 2021-05-15 15:44:43 +02:00
Markus Pöschl 4794c2b6ab Install dependencies before installing from pypi for better layer caching 2021-05-15 15:44:43 +02:00
Markus Pöschl cec2c453bc Change docker build to matrix 2021-05-15 15:44:43 +02:00
Markus Pöschl da9c056964 Ensure correct version inside docker container 2021-05-15 14:39:26 +02:00
Markus Pöschl 76a89d2675 Add opencontainers label metadata 2021-05-15 14:39:26 +02:00
Markus Pöschl 77d902bbc1 Change the actions to build both of the versioned variants 2021-05-15 14:39:26 +02:00
Markus Pöschl 281382c030 Migrate the dev image also in the multi-stage build 2021-05-15 14:39:24 +02:00
Markus Pöschl 781c9961cb Migrate to multistaged Dockerfile for debian images. 2021-05-15 14:38:37 +02:00
nicolargo e1c4769567 Pressing Q to get rid of irq not working #1792 2021-05-14 16:07:42 +02:00
nicolargo 89d3cb09d8 Improve code quality #820 2021-05-14 12:12:54 +02:00
nicolargo fc9fd0b93f 3.1.8 Beta 3 2021-05-13 15:09:50 +02:00
nicolargo 0c269a2b02 Merge branch 'issue1857' into develop 2021-05-13 15:09:11 +02:00
nicolargo e4ee9f88dc Correct test before using cache 2021-05-13 14:12:47 +02:00
nicolargo 3411065d94 Correct issue with latest version of Docker API (1.41) - See details in issue - #1857 2021-05-13 13:39:29 +02:00
nicolargo 042e7fc201 Add --issue to Github issue template 2021-05-13 10:39:59 +02:00
nicolargo e8e0343759 Merge branch 'issue1854' into develop 2021-05-12 07:24:38 +02:00
nicolargo deccc887c0 Merge branch 'develop' into issue1854 2021-05-11 18:09:03 +02:00
nicolargo 0448e3432f Update WebUI for security vuln 2021-05-11 09:19:00 +02:00
Nicolas Hennion b210d3b493
Merge pull request #1856 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/hosted-git-info-2.8.9
Bump hosted-git-info from 2.7.1 to 2.8.9 in /glances/outputs/static
2021-05-11 09:17:24 +02:00
Nicolas Hennion 9d6a14c89a
Merge pull request #1855 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21 in /glances/outputs/static
2021-05-11 09:17:01 +02:00
dependabot[bot] 9642c7f3b2
Bump hosted-git-info from 2.7.1 to 2.8.9 in /glances/outputs/static
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 07:17:01 +00:00
dependabot[bot] cf28bf0b2b
Bump lodash from 4.17.19 to 4.17.21 in /glances/outputs/static
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 07:16:22 +00:00
nicolargo 8d094d5ac8 Implemented but test is KO: only a part of the stats are exported... Same behavor with both client Graphyte and GraphiteSender. Perhaps the issue came from the server (docker-graphite-grafana) 2021-05-11 08:52:03 +02:00
nicolargo af6f0245e8 Correct default Graphite port to 2003 2021-05-11 08:46:15 +02:00
nicolargo 560b989f17 Connection to Graphite Server should be done before releasing the feature 2021-05-10 09:12:23 +02:00
nicolargo 6bceeef43f Export to graphite #1854 2021-05-09 18:17:14 +02:00
nicolargo 4c4b2f319e Correct ypo in InfluxDB doc sample 2021-05-06 22:03:03 +02:00
nicolargo 4558e95678 On the road of Glances 3.1.8 2021-05-02 16:39:36 +02:00
nicolargo 69b6390f45 Resolve conflict with master branch 2021-05-02 16:36:10 +02:00
nicolargo 43dbb43745 Glances version 3.1.7 2021-05-02 16:27:52 +02:00
nicolargo a2c0357898 Manage multiple commands (&&) in the secure popen 2021-04-25 09:42:23 +02:00
nicolargo 29d4662fd2 Update docs 2021-04-25 09:09:46 +02:00
nicolargo 5ffebc12d0 Process short name (without the path is the default behavor). Addd a new --process-long-name option to force the previous behavor 2021-04-25 09:09:05 +02:00
nicolargo 85d5a6b4af Security audit - B411 #1025 2021-04-24 16:14:35 +02:00
nicolargo 62efd67e36 Switch to normalize beta version (not use _ anymore) 2021-04-24 11:30:43 +02:00
nicolargo a155500b79 GPU temperature not shown in webview #1849 2021-04-24 10:54:39 +02:00
nicolargo 2baf73ff0e Catch adress already in use message more propely 2021-04-24 10:34:29 +02:00
nicolargo 2e3b47eb2e Another unsuccess try for SNAP 2021-04-23 09:58:56 +02:00
nicolargo 30bee74d28 Remove travis because now all *should* be done via Github actions 2021-04-22 14:44:01 +02:00
nicolargo b597acf19c Remove shell=True for actions (following Bandit issue report) #1851 2021-04-21 10:47:47 +02:00
nicolargo fe7e3dff4e Update dep module list 2021-04-21 10:32:44 +02:00
nicolargo 2e56ccac42 Add Bandit to test 2021-04-20 19:25:41 +02:00
nicolargo ca3695ca4d Correct Flake8 issue for config.py file 2021-04-20 18:59:59 +02:00
nicolargo 15ba40f456 Correct Flake8 issue on unitest file 2021-04-20 18:52:02 +02:00
nicolargo a78da548f4 Let only build and test pipelines 2021-04-20 16:14:52 +02:00
nicolargo d27c75bf88 Correct Pypi CI pipeline 2021-04-20 15:55:39 +02:00
nicolargo 6f50664eaf Correct Pypi CI pipeline 2021-04-20 11:00:32 +02:00
nicolargo 834b2412cf Correct issue with non existing PermissionError in Python 2 2021-04-20 10:51:12 +02:00
nicolargo a244cd3dfc Correct Pypi CI pipeline 2021-04-20 10:19:37 +02:00
nicolargo c80772a160 Replace Travis by Github action #1850 2021-04-20 10:09:31 +02:00
nicolargo a0f24a3b45 Merge branch 'issue1847' into develop 2021-04-19 09:24:27 +02:00
nicolargo 49029112c2 Add Glances and PsUtil version 2021-04-19 09:23:58 +02:00
nicolargo 877f31cbad Add update stats time 2021-04-18 18:24:15 +02:00
nicolargo 6f8bfd3193 First version but should be optimize to display plugin grab time 2021-04-17 12:14:16 +02:00
nicolargo a33d1eee5f First version but should be optimize to display plugin grab time 2021-04-17 12:14:08 +02:00
nicolargo b8dade991c Add webui in Makefile 2021-04-11 10:39:30 +02:00
nicolargo 122c92be15 Update Web UI dep 2021-04-11 09:47:56 +02:00
Nicolas Hennion 2295abb4c2
Merge pull request #1843 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/y18n-3.2.2
Bump y18n from 3.2.1 to 3.2.2 in /glances/outputs/static
2021-04-11 09:40:03 +02:00
Nicolas Hennion e22f97d69b
Merge pull request #1844 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/elliptic-6.5.4
Bump elliptic from 6.5.3 to 6.5.4 in /glances/outputs/static
2021-04-11 09:39:39 +02:00
Nicolas Hennion 1c3d1aee79
Merge pull request #1845 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/yargs-parser-5.0.1
Bump yargs-parser from 5.0.0 to 5.0.1 in /glances/outputs/static
2021-04-11 09:39:12 +02:00
dependabot[bot] f873b26c8a
Bump yargs-parser from 5.0.0 to 5.0.1 in /glances/outputs/static
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/v5.0.1/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs-parser/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-11 07:38:40 +00:00
dependabot[bot] 21b299dcd0
Bump elliptic from 6.5.3 to 6.5.4 in /glances/outputs/static
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-11 07:38:36 +00:00
dependabot[bot] 53f9c21e22
Bump y18n from 3.2.1 to 3.2.2 in /glances/outputs/static
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-11 07:38:26 +00:00
nicolargo b9a7547843 '/api/3/processlist/pid/3936'use this api can't get right info,all messy code #1828 2021-04-03 18:00:22 +02:00
Nicolas Hennion 9f88f5faef
Merge pull request #1833 from mjc/patch-1
Fix typo in documentation
2021-04-01 11:02:03 +02:00
Michael J. Cohen 1de1a7adbd
Fix typo 2021-03-30 20:16:56 -06:00
nicolargo 2d20e5967c Add a new decision tree (not used for the moment) 2021-03-21 18:29:56 +01:00
nicolargo c96fee907e Refactor the way importants stats are displayed #1826 2021-03-21 17:11:47 +01:00
nicolargo c5e70b7ccf Correct one of the issue of #1822 (get_bool_value error) 2021-03-17 15:00:13 +01:00
nicolargo 2592077eaa Correct launch issue in Snapcraft another try again... 2021-03-13 11:35:12 +01:00
nicolargo 3076e816f6 Correct launch issue in Snapcraft another try... 2021-03-13 11:26:49 +01:00
nicolargo e6512ff2e8 Correct launch issue in Snapcraft 2021-03-13 11:19:15 +01:00
nicolargo 6a82592664 Add debug message for snap packaging again 2021-03-13 09:42:23 +01:00
nicolargo 6962bc425f One more try for snapcraft 2021-03-13 09:31:57 +01:00
nicolargo 67d050cedc Add debug message for snap packaging 2021-03-13 09:16:09 +01:00
nicolargo 72c0d09665 Correct typo in documentation 2021-03-13 08:53:50 +01:00
nicolargo 15eba5d4ae Update documentation for HDDTemp plugin 2021-03-13 08:46:40 +01:00
nicolargo 871b4c32b2 Reaplly the Add hide option to sensors plugin #1596 PR 2021-03-13 08:36:48 +01:00
nicolargo d201e647aa Smart plugin error while start glances as root #1806 2021-03-05 14:04:20 +01:00
nicolargo adbad550cd Plugin quicklook takes more than one seconds to update #1820 2021-03-03 11:52:20 +01:00
nicolargo a1f11a72d2 Add perf stats for processcount 2021-03-03 11:35:26 +01:00
nicolargo 691367c9ef Replace Pystache by Chevron 2/2 See #1817 2021-03-03 11:27:10 +01:00
nicolargo e427b840e9 Merge branch 'issues1817' into develop 2021-02-28 10:21:16 +01:00
nicolargo 829174bbf0 Remove pystache by chevron (mustache implementation) #1817 2021-02-28 10:19:33 +01:00
Nicolas Hennion 20ea485a1f
Merge pull request #1818 from stesser/develop
Update README.rst
2021-02-28 10:03:53 +01:00
Nicolas Hennion ac0cc04947
Merge pull request #1815 from Hierosme/develop
Fixe issue #1814
2021-02-28 10:01:50 +01:00
Stefan Eßer 376375c10d
Update README.rst
Change package install command for FreeBSD

Python-2.7 is EOL and no longer supported in FreeBSD - the new default version is Python-3.7 and the package name has to be adjusted to refer to that Python version.
2021-02-27 21:49:31 +01:00
Tuux 060ecb4674 Fixe issue #1814 2021-02-17 15:09:48 +01:00
nicolargo 551bdbfe85 Correct an issue if section did not exist 2021-02-07 16:16:20 +01:00
nicolargo aea9942361 Correct an issue if section did not exist 2021-02-07 16:15:29 +01:00
nicolargo 040528aab2 Glances version 3.1.6.2 2021-02-07 15:34:55 +01:00
nicolargo 7bcf1f3bae Disable hide zero function by default because it is under developement... 2021-02-07 15:32:31 +01:00
nicolargo d82376230d Merge branch 'issue1714' into develop 2021-02-07 14:36:01 +01:00
nicolargo 7821292920 Update docs 2021-02-06 12:01:31 +01:00
nicolargo 8af9eb5684 Merge branch 'develop' into issue1714 2021-01-30 09:38:32 +01:00
nicolargo 10c885093d Typo in RAIDS docs 2021-01-30 09:35:48 +01:00
nicolargo 893438f8be Doc. No SMART screenshot. #1799 2021-01-30 09:29:09 +01:00
Nicolas Hennion 1428dc0f2d
Merge pull request #1803 from chenrui333/py-3.9
ci: add python 3.9
2021-01-30 08:42:44 +01:00
nicolargo b87ceb06bf Update docs following PR #1798 2021-01-30 08:42:13 +01:00
Nicolas Hennion 14c3566316
Merge pull request #1804 from deosrc/mqtt-json-output
Add option for alternate MQTT topic structure
2021-01-30 08:32:45 +01:00
Deosrc e6273ef69b Fix omitted config value causing error 2021-01-29 23:46:01 +00:00
Deosrc e2da7734d4 Rename parameter for topic structure 2021-01-25 15:18:05 +00:00
Rui Chen 0d8c464537 ci: add python 3.9 2021-01-24 19:07:36 -05:00
nicolargo 4c6c3d78d9 Resolve SNAP conflict 2021-01-24 21:52:32 +01:00
nicolargo 025ee1d77d Resolve SNAP conflict 2021-01-24 21:51:58 +01:00
nicolargo 04befb47c7 Force Ubuntu 20.01 for SNAP 2021-01-24 21:01:10 +01:00
nicolargo 102a6fb9a4 Force Ubuntu 20.01 for SNAP 2021-01-24 20:59:03 +01:00
nicolargo e23ee5c19c Merge branch 'develop' into issue1714 2021-01-24 14:46:22 +01:00
nicolargo a2915213ad On teh second road of 3.1.7 2021-01-24 14:36:55 +01:00
nicolargo 3a116ddeb9 Merge branch 'master' into develop 2021-01-24 14:33:22 +01:00
nicolargo a8fd757d47 Glances crash after installing module for shown GPU informations on Windows 10 #1800 Update docs 2021-01-24 14:32:33 +01:00
nicolargo 9957363ab7 Glances crash after installing module for shown GPU informations on Windows 10 #1800 2021-01-24 14:31:50 +01:00
nicolargo 13657c8814 Test ok with ELK 7.1.10. To be tweaked. 2021-01-24 14:23:20 +01:00
nicolargo a676c875e5 On the road of the version 3.1.7 2021-01-23 17:53:58 +01:00
nicolargo 0d35d5477b version 3.1.6 2021-01-23 11:10:27 +01:00
nicolargo 1b36ed92a2 version 3.1.6 2021-01-23 11:07:36 +01:00
nicolargo fe0204a585 Unusual characters in cmdline cause lines to disappear and corrupt the display #1692 2021-01-23 10:21:04 +01:00
nicolargo b8d5da6387 Merge branch 'issue1787' into develop 2021-01-23 09:08:51 +01:00
nicolargo 18394fa72d Optimize plugins space by not displaying 0 stats in Curse interface #1787 2021-01-23 09:08:24 +01:00
Deosrc 6eaf0cb940 Reformat JSON output into hierarchy structure 2021-01-22 22:33:36 +00:00
Deosrc 63f0375362 Add mqtt output in JSON format 2021-01-22 21:45:11 +00:00
nicolargo c3ef20c361 First try. Have to be optimized 2021-01-17 12:23:14 +01:00
Nicolas Hennion 74a499b578
Update Dockerfile
Add docker-py for Alpine
2021-01-11 18:19:32 +01:00
nicolargo dfeb348a50 The last PR break the compatibilty with Python 2 2021-01-10 16:33:29 +01:00
nicolargo f22c3d4f34 The last PR break the compatibilty with Python 2 2021-01-10 16:33:07 +01:00
Nicolas Hennion 5330d03077
Merge pull request #1785 from meganomic/strftime
Add option to set the strftime format
2021-01-10 16:19:42 +01:00
meganomic eea6e46edc Add commandline option for strftime_format. Set check_updates in config because otherwise outdated fails since it isn't set even though there is a 'global' 2021-01-04 11:57:22 +01:00
meganomic 54e8e7b8dc Add strftime config option 2021-01-03 21:11:19 +01:00
Nicolas Hennion 627ef431f9 Update issue templates 2021-01-02 12:30:48 +01:00
Nicolas Hennion 77568e0546
Merge pull request #1783 from BlackDark/armv6
Readd armv6 docker image
2021-01-02 12:11:05 +01:00
Eduard Marbach 23c927bb2b feat: readd armv6 to docker images
- See #1762, thanks to @eifinger
2021-01-01 17:27:07 +01:00
Eduard Marbach 353c2f5fdb ci: fix pushing for develop branch 2021-01-01 17:27:07 +01:00
Nicolas Hennion 31c13d889a Update issue templates 2020-12-31 11:18:45 +01:00
Nicolas Hennion 7b2d411f82
Merge pull request #1782 from BlackDark/fix/ci-builds
ci: fix release process and improve build speeds
2020-12-31 11:13:28 +01:00
nicolargo 400190c79f Update doc 2020-12-31 11:12:31 +01:00
nicolargo cf7c202890 Merge branch 'develop' of github.com:nicolargo/glances into develop 2020-12-31 11:12:13 +01:00
nicolargo c9d83ee817 REsolv conflict 2020-12-31 11:12:08 +01:00
Nicolas Hennion 6d46fc5399
Merge pull request #1781 from altsalt/docker_password
Documentation to password protect Dockerized Glances
2020-12-31 11:10:25 +01:00
Eduard Marbach 3901174b10 ci: fix release process and improve build speeds 2020-12-30 23:44:47 +01:00
Wm Salt Hale b45095591c fixed code-block formatting 2020-12-29 12:49:58 -08:00
Wm Salt Hale 238b8d16b7 removed mode from secrets block, expanded docker-compose entry
Docker Compose's version of Secrets does not yet support ``uid`, ``guid``, or ``mode``.
2020-12-29 12:49:58 -08:00
Wm Salt Hale 3cca1d7982 Add instructions about password protecting Docker 2020-12-29 12:49:58 -08:00
Nicolas Hennion 6e6c7e6114
Merge pull request #1779 from BlackDark/fix/docker-dev
fix: docker dev build contains all optional requirements
2020-12-29 18:12:56 +01:00
Eduard Marbach 28f1143976 fix: dev build contains all optional req
- requires base image to be full fledged python -> results in bigger image size for dev.
2020-12-28 16:47:12 +01:00
nicolargo 228818ee55 Update readme file 2020-12-24 10:06:17 +01:00
nicolargo 8aaaa65929 Improve dep 2020-12-24 10:04:06 +01:00
nicolargo 0eb297027a Unable to connect to Influxdb 2.0 #1776 2020-12-24 09:54:09 +01:00
nicolargo 29ba48d286 Merge branch 'issue1776' into develop 2020-12-24 09:52:45 +01:00
nicolargo db342d2c70 Merge branch 'develop' into issue1776 2020-12-24 09:52:07 +01:00
Nicolas Hennion cdb6bfbb70
Merge pull request #1777 from altsalt/patch-1
Add documentation about password protecting Docker
2020-12-24 09:50:27 +01:00
nicolargo 6ce88cffd3 Improve log message 2020-12-24 09:49:45 +01:00
Wm Salt Hale df15da73c8
removed mode from secrets block, expanded docker-compose entry
Docker Compose's version of Secrets does not yet support ``uid`, ``guid``, or ``mode``.
2020-12-23 14:18:08 -08:00
Wm Salt Hale 3f6febc0d1
Add instructions about password protecting Docker 2020-12-23 13:18:58 -08:00
nicolargo 80d5479466 First version of the new influxdb2 exporter 2020-12-23 10:56:02 +01:00
Nicolas Hennion c24c1ca5af
Merge pull request #1774 from timgates42/bugfix_typo_optional
docs: fix simple typo, optionnal -> optional
2020-12-23 09:11:26 +01:00
Nicolas Hennion 8b9c173ea5
Merge pull request #1773 from notFloran/webui-fix-gpu
[WebUI] Fix display of null values for GPU plugin
2020-12-23 09:09:57 +01:00
Tim Gates a6dbea1e25
docs: fix simple typo, optionnal -> optional
There is a small typo in glances/static_list.py.

Should read `optional` rather than `optionnal`.
2020-12-22 08:15:43 +11:00
Floran Brutel 198ad8b9cb
Display N/A only if gpu values are null 2020-12-20 17:40:56 +01:00
nicolargo 042a5cd235 Correct issue with #1767 2020-12-13 22:20:53 +01:00
nicolargo f7f4670302 crash on startup on Illumos when no swap is configured #1767 2020-12-13 16:15:45 +01:00
nicolargo 930d5174dd crash on startup on Illumos when no swap is configured #1767 2020-12-12 10:42:11 +01:00
Nicolas Hennion bf681f6737 Error with IP Plugin : object has no attribute #1528 2020-12-05 10:03:07 +01:00
Nicolas Hennion 38fcc24e65 Reverse the last PR #1762 because it breaks the CI pipeline 2020-12-05 09:55:22 +01:00
Nicolas Hennion 903fa844f4
Merge pull request #1762 from eifinger/develop
(ci): Add linux/arm/v6 docker platform
2020-12-05 09:24:19 +01:00
Kevin Eifinger 7f97e23a59 (ci): Add linux/arm/v6 docker platform 2020-11-23 11:52:18 +01:00
nicolargo 5d75484ba7 Update the donation section 2020-11-21 18:34:32 +01:00
Nicolas Hennion 27081a37bf
Merge pull request #1760 from qq547057827/develop
提交docker-compose文件
2020-11-21 18:08:04 +01:00
Nicolas Hennion 26f191a208
Merge pull request #1759 from nicolargo/webui-sort-by-disk-io
[WebUI] Fix sort by disk io
2020-11-21 18:05:31 +01:00
qq547057827 b51b1f971a 提交docker-compose文件 2020-11-21 17:26:15 +08:00
Floran Brutel 5fbcf94ca7 Fix sort by disk io in the web ui 2020-11-20 18:48:00 +01:00
nicolargo 566f55d7ae Add sponsors badged 2020-11-20 07:46:10 +01:00
nicolargo 00357bd4b3 Filter docker containers #1748 2020-11-15 09:51:53 +01:00
nicolargo 7c1e039e3a Filter docker containers #1748 2020-11-15 09:50:53 +01:00
nicolargo bc0cf31a12 Add hide filter to Docker list (first part of #1748) 2020-11-15 09:36:32 +01:00
nicolargo 5f037bb833 Make the popup box use the insert mode (no change...) 2020-11-14 12:22:40 +01:00
nicolargo a9502af99b Merge branch 'issue1444' into develop 2020-11-14 12:04:13 +01:00
nicolargo cbcba97ab0 Solve conflict with refresh 2020-11-14 11:59:44 +01:00
nicolargo 357c5afa5d Add docker pull badge 2020-11-07 09:42:08 +01:00
nicolargo 1fc8c26c64 Merge branch 'Rattenkrieg-manual-refresh-1616' into develop 2020-11-07 09:30:05 +01:00
nicolargo b6469c6262 Update documentation for F5 2020-11-07 09:29:50 +01:00
Sergey Prytkov ac50de81bd manual refresh on F5 2020-11-02 01:04:44 +03:00
nicolargo 08ce8e8c15 Alpine image is broken #1744 2020-10-21 09:14:14 +02:00
nicolargo f600209757 RIP Alpine? #1741 2020-10-11 12:06:26 +02:00
Nicolas Hennion fffefe13c6
Merge pull request #1742 from nicolargo/webui-amp-disable-number-matching-processes
WebUI : Hide the process count of amp if regex is not defined
2020-10-10 10:23:49 +02:00
nicolargo 46355bd672 Merge branch 'issue1743' into develop 2020-10-10 10:22:50 +02:00
nicolargo bfc3e9257e Manpage improvement #1743 2020-10-10 10:22:31 +02:00
nicolargo 763788686d Merge branch 'issue1740' into develop 2020-10-10 10:12:32 +02:00
nicolargo 57a804eb3c Make build reproducible #1740 2020-10-10 10:12:13 +02:00
Floran Brutel dd4460c4b5 WebUI : Hide the process count of amp if regex is not defined 2020-10-08 08:40:26 +02:00
nicolargo 44d7a806e5 Update doc for multi arch Docker images 2020-10-03 10:12:56 +02:00
nicolargo 8d713ccb2c Merge branch 'BlackDark-develop' into develop 2020-10-03 09:20:30 +02:00
Eduard Marbach 82821ec585 ci: implement github actions for builds
* includes build of docker files for multiple arch versions
2020-10-01 16:06:32 +02:00
Floran Brutel 47b7dc9d5d
Merge pull request #1728 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/angular-1.8.0
Bump angular from 1.7.9 to 1.8.0 in /glances/outputs/static
2020-09-14 13:24:04 +02:00
Floran Brutel d1c5ee1595 Build the WebUI and remove yarn.lock 2020-09-14 13:11:05 +02:00
dependabot[bot] 26aaf2e9ce Bump angular from 1.7.9 to 1.8.0 in /glances/outputs/static
Bumps [angular](https://github.com/angular/angular.js) from 1.7.9 to 1.8.0.
- [Release notes](https://github.com/angular/angular.js/releases)
- [Changelog](https://github.com/angular/angular.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/angular/angular.js/compare/v1.7.9...v1.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-13 12:21:47 +02:00
Floran Brutel 2410610910
Merge pull request #1726 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/sshpk-1.16.1
Bump sshpk from 1.13.1 to 1.16.1 in /glances/outputs/static
2020-09-13 12:19:59 +02:00
dependabot[bot] 9d424f5c46 Bump sshpk from 1.13.1 to 1.16.1 in /glances/outputs/static
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.1 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.1...v1.16.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-13 11:35:33 +02:00
Floran Brutel 899612550b
Merge pull request #1727 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/stringstream-0.0.6
Bump stringstream from 0.0.5 to 0.0.6 in /glances/outputs/static
2020-09-13 11:34:54 +02:00
Floran Brutel c8def83d0a Build WebUI after npm package update 2020-09-13 11:23:06 +02:00
dependabot[bot] 86181f0297 Bump stringstream from 0.0.5 to 0.0.6 in /glances/outputs/static
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-13 11:22:32 +02:00
Floran Brutel 686de75c85
Merge pull request #1725 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/fstream-1.0.12
Bump fstream from 1.0.11 to 1.0.12 in /glances/outputs/static
2020-09-12 15:50:35 +02:00
Floran Brutel aa53cbebe2
Build webui 2020-09-12 15:29:24 +02:00
dependabot[bot] bcf2d44e9f
Bump fstream from 1.0.11 to 1.0.12 in /glances/outputs/static
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 09:48:55 +00:00
nicolargo 0cc59ce3a3 Do not shorten container names #1723 2020-09-12 11:01:48 +02:00
nicolargo b1f6c24cfb Update document datapack following #1724 2020-09-12 10:44:15 +02:00
nicolargo 58e43aedd7 fixing command in json.rst #1724 2020-09-12 10:43:35 +02:00
Floran Brutel bfd0ae06c6
Merge pull request #1722 from anjz/fix_container_rss_value
Fix container rss value
2020-09-09 18:03:05 +02:00
Anartz Nuin 191aed8885 update static assets 2020-09-09 11:54:02 +01:00
Anartz Nuin 7002fe7e39 Fix container rss value reported as memory value 2020-09-09 11:00:31 +01:00
nicolargo ed95142104 Correct Python path in the devel-apline Docker File 2020-09-08 22:15:41 +02:00
nicolargo 6c1d7316df Correct Docker Alpine Dockerfile 2020-09-06 11:35:58 +02:00
Nicolas Hennion 00830c19aa
Merge pull request #1715 from codecakes/feature/optional-requirement
added optional requirements
2020-09-05 09:24:10 +02:00
codecakes b286ac59af added optional requirements 2020-08-28 12:17:39 +05:30
nicolargo dae111efcb merge conflict in manpage? #1712 2020-08-26 10:01:47 +02:00
nicolargo de7dff2b4e merge conflict in manpage? #1712 2020-08-26 10:01:14 +02:00
nicolargo e803152260 Update develop Dockerfile to use test.pypi.org 2020-08-22 14:34:00 +02:00
nicolargo c819dee87b Publish develop branch to test.pypi.org correct version 2020-08-22 14:03:12 +02:00
nicolargo 2569523dff Publish develop branch to test.pypi.org correct provider name 2020-08-22 13:56:03 +02:00
nicolargo 9ce381dc76 Publish develop branch to test.pypi.org 2020-08-22 13:48:27 +02:00
nicolargo c23586b6e9 Do not display zsh share twice 2020-08-22 12:26:05 +02:00
Nicolas Hennion 2bbb8f7749
Merge pull request #1709 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/elliptic-6.5.3
Bump elliptic from 6.4.0 to 6.5.3 in /glances/outputs/static
2020-08-22 11:34:33 +02:00
nicolargo 4322c99782 Set cpuinfo version to 4.0.0 until issue https://github.com/workhorsy/py-cpuinfo/issues/155 is analysed 2020-08-22 11:26:42 +02:00
nicolargo ca8e2c3a94 Add compatibility for Py-cpuinfo 7.0.0 or higher 2020-08-22 11:21:19 +02:00
nicolargo cce7d6a439 As said in the issue #1700, new version od cpuinfo (7.0.0) is very slow (ok with 4.0.0)... 2020-08-20 18:23:41 +02:00
nicolargo e76ae7b10c As said in the issue #1700, new version od cpuinfo (7.0.0) is very slow... 2020-08-20 18:05:28 +02:00
nicolargo 70e7c997a1 Update DockerFile 2020-08-20 15:48:38 +02:00
nicolargo d95ec00cf5 Fix gpu plugin to handle multiple gpus with different reporting capabilities #1634 2020-08-20 11:03:48 +02:00
dependabot[bot] aa59bd38fc
Bump elliptic from 6.4.0 to 6.5.3 in /glances/outputs/static
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-20 08:52:55 +00:00
nicolargo ee2054d502 Merge branch 'develop' of github.com:nicolargo/glances into develop 2020-08-20 10:49:23 +02:00
nicolargo 6036de666f Rebuild Web UI 2020-08-20 10:49:19 +02:00
Nicolas Hennion 51e54a879e
Merge pull request #1708 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19 in /glances/outputs/static
2020-08-20 10:48:50 +02:00
dependabot[bot] 22d59aa138
Bump lodash from 4.17.15 to 4.17.19 in /glances/outputs/static
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-20 08:38:39 +00:00
Nicolas Hennion cc72ad0c94
Merge pull request #1707 from nicolargo/dependabot/npm_and_yarn/glances/outputs/static/macaddress-0.2.9
Bump macaddress from 0.2.8 to 0.2.9 in /glances/outputs/static
2020-08-20 10:37:44 +02:00
dependabot[bot] f01416fe64
Bump macaddress from 0.2.8 to 0.2.9 in /glances/outputs/static
Bumps [macaddress](https://github.com/scravy/node-macaddress) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/scravy/node-macaddress/releases)
- [Commits](https://github.com/scravy/node-macaddress/compare/0.2.8...0.2.9)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-20 08:27:46 +00:00
nicolargo adcc67e38e Update NEWS file 2020-08-20 10:18:31 +02:00
nicolargo 791d946fd0 Update NEWS file 2020-08-20 10:17:11 +02:00
nicolargo 19fe44d58e On the road of version 3.1.6 2020-08-20 10:09:32 +02:00
nicolargo 43df8a887a Resolve conflict 2020-08-19 10:47:35 +02:00
nicolargo 3e299249a5 Update doc 2020-08-19 10:44:30 +02:00
nicolargo 3e3dc77e46 Glances 3.1.5 2020-08-19 10:42:38 +02:00
nicolargo f68915265a Merge develop conflict 2020-08-19 10:28:20 +02:00
nicolargo b6d3a29b9d Change pre-requisite 2020-08-19 10:11:57 +02:00
nicolargo 4b7681a1ce Merge branch 'issue1663' into develop 2020-08-19 10:10:10 +02:00
nicolargo 67bf6681d0 Can't start server: unexpected keyword argument 'address' #1693 2020-08-19 10:09:50 +02:00
Nicolas Hennion e13cf7e5d7
Merge pull request #1695 from anjz/feature/containers-rss
Add RSS metric for containers
2020-08-13 18:10:44 +02:00
Anartz Nuin c6e6042014 Add RSS column for containers in web UI
Since Resident Set Size is available for containers, an additional column has been added to display this value.
2020-07-21 12:10:31 +01:00
Anartz Nuin d0739342f6 Bring back 'rss' and 'cache' memory stats in docker plugin
Looks like the stats were removed because they where gone in Docker 1.11. This change put them back since they've been available again for a while now.
2020-07-21 12:06:52 +01:00
nicolargo 9f8a812081 Unusual characters in cmdline cause lines to disappear and corrupt the display #1692 2020-07-21 11:26:18 +02:00
nicolargo aa73127d2e Merge branch 'issue1691' into develop 2020-07-21 10:42:02 +02:00
nicolargo 5fbbb3b2fe Regex fix for hide conf key #1691 2020-07-21 10:41:47 +02:00
nicolargo 51e00f23f3 Update docs 2020-07-21 10:29:00 +02:00
nicolargo 05897a61dd Enhancement Request: .conf parameter for AMP #1690 2020-07-21 10:26:40 +02:00
nicolargo 219c4de08f class AmpsList method _build_amps_list() Windows fail (glances/amps_list.py) #1689 2020-07-20 10:52:54 +02:00
nicolargo ea838f0e61 Merge branch 'issue1685' into develop 2020-07-20 10:46:01 +02:00
nicolargo b2f499fed4 Quick Look missing CPU Infos #1685 2020-07-20 10:45:38 +02:00
nicolargo 5646379bd7 Make the kill feature works while in filtered mode 2020-07-20 10:19:50 +02:00
nicolargo 492db136d9 Display 'k' kill process help message in the Curses UI 2020-07-20 09:55:03 +02:00
nicolargo 16016598ad Update documentation for 'k' hotkey (kill process) 2020-07-20 09:15:50 +02:00
nicolargo c149a1b921 Merge branch 'develop' into issue1444 2020-07-20 08:59:32 +02:00
Nicolas Hennion fc7ed91761
Merge pull request #1688 from bantl23/issue#1687
Add amqps protocol suppport for rabbitmq export
2020-07-20 08:57:55 +02:00
Nicolas Hennion 9dc133d5ae
Merge pull request #1684 from pfsmorigo/fix_grafana_json
Fix grafana json
2020-07-20 08:56:15 +02:00
Nicolas Hennion 95facc4984
Merge pull request #1681 from calebmarchent/sensors_grammar_fix
Fix grammar in sensors documentation
2020-07-20 08:54:54 +02:00
Nicolas Hennion 64b85c32f0
Merge pull request #1680 from HamiltonFintech/develop
Reflect "used percent" user disk space for [fs] alert
2020-07-20 08:53:29 +02:00
Deepak Kaul 3d5490b6c4 Needed to handle case where no protocol was specified in configuration. So added in an if clause to check if the protocol was present 2020-07-06 21:54:36 +00:00
Deepak Kaul f162020eae Adding in optional protocol variable for rabbitmq export which adds in support for amqps protocol 2020-07-06 20:42:58 +00:00
Paulo Flabiano Smorigo 3e24bcf215
Fix grafana json
The current json only works if the prefix is localhost.

Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@gmail.com>
2020-06-29 20:27:11 -03:00
Gaspard d'Hautefeuille 09cfa64596
pystache requirement to render the mustache syntax 2020-06-22 20:35:45 +01:00
Gaspard d'Hautefeuille 4d032cf798
Add email action for space trigger critical 2020-06-22 20:19:36 +01:00
Caleb Marchent 01b11f1b2f Fix grammar in sensors documentation 2020-06-22 00:44:26 +01:00
Gaspard d'Hautefeuille bf1aa0256e
Add user disk space usage
Depends of PR https://github.com/nicolargo/glances/pull/1680 to be merged
2020-06-18 18:30:59 +01:00
Gaspard d'Hautefeuille cdab656112
Reflect "used percent" user disk space
`psutill` [says the following](https://github.com/giampaolo/psutil/blob/master/psutil/_psposix.py):

>  Note: UNIX usually reserves 5% disk space which is not accessible
    by user. In this function "total" and "used" values reflect the
    total and used disk space whereas "free" and "percent" represent
    the "free" and "used percent" user disk space.

To fix the alert value that has been notified in this issue https://github.com/nicolargo/glances/issues/1658 where the alert has not been fixed.
The issue https://github.com/nicolargo/glances/issues/644 has fixed it one way, this PR is completing the fix for the alert feature of the `fs` plugin.
2020-06-18 17:51:18 +01:00
nicolargo f7abdea9d8 Selected process is now undelined 2020-06-13 16:54:38 +02:00
nicolargo 591ae02f8e First working version of the kill feature 2020-06-13 16:25:23 +02:00
Nicolas Hennion b0dc3ff54e
Merge pull request #1673 from Tommatheussen/patch-1
Fixed formatting on FS example
2020-06-12 14:42:29 +02:00
Tom Matheussen db7727fb72
Fixed formatting on FS example 2020-06-07 17:14:51 +02:00
nicolargo ea3dc43fd2 Missing temperature #1664 2020-05-21 14:41:41 +02:00
nicolargo f45147ca60 Use Ubuntu 20.04 as default Docker image 2020-05-17 12:26:16 +02:00
nicolargo 4157671225 Use Ubuntu 20.04 as default Docker image 2020-05-17 12:19:58 +02:00
nicolargo c57dca709d First version when click on K 2020-05-17 12:16:16 +02:00
Nicolas Hennion 77437de576
Merge pull request #1663 from guillaumelamirand/dockerfile-last-ubuntu
Update master dockerfile for Ubuntu 20.04
2020-05-17 11:14:32 +02:00
Guillaume L 07d3b6defc
Update master dockerfile for Ubuntu 20.04 2020-05-17 10:56:09 +02:00
Nicolas Hennion 0c9a8acc65
Merge pull request #1659 from orena1/patch-1
Not need for python-dev anymore
2020-05-16 09:54:07 +02:00
Oren Amsalem 7932d79217
Not need for python-dev anymore
https://github.com/termux/termux-packages/issues/4151
2020-05-14 01:38:32 +03:00
nicolargo e3c8fd66c9 Merge branch 'develop' of github.com:nicolargo/glances into issue1444 2020-05-12 18:45:03 +02:00
nicolargo b0e21de611 Update documentation for server protection #1657 2020-05-12 18:44:28 +02:00
nicolargo 38621f6c0f First version of processus selector (no action for the moment) 2020-05-12 18:36:27 +02:00
nicolargo 6e7bd2560c Tests using /etc/glances/glances.conf from already installed version #1654 2020-05-10 15:14:05 +02:00
nicolargo baa7e7f574 Update view.html #1636 2020-04-26 16:46:51 +02:00
nicolargo 924864f9d0 Asymetric, cluttered configuration: Some options only accessible via CLI or keyboard or config file #1650 (correct IRQ) 2020-04-26 16:36:45 +02:00
nicolargo bdca7d019b Glances should not phone home #1646 (on master branch only) 2020-04-26 16:03:36 +02:00
nicolargo b573712f29 View by CPU is only showing 6 of 12 cores #1640 (only update docs) 2020-04-26 15:00:20 +02:00
nicolargo b2c40e8934 x
Merge branch 'develop' of github.com:nicolargo/glances into develop
2020-04-26 14:39:47 +02:00
nicolargo 4b191b9688 Undefined name 'i' in plugins/glances_gpu.py #1635 2020-04-26 14:39:34 +02:00
Nicolas Hennion 148df693b2
Merge pull request #1629 from chenrui333/python-3.8
Add python 3.7 and 3.8 into CI
2020-04-06 15:14:44 +02:00
Rui Chen 46b5429dd3
pypy -> pypy3 2020-03-25 21:03:46 -04:00
Rui Chen 6f9365bb24
Add python 3.7 and 3.8 into CI 2020-03-25 18:55:18 -04:00
nicolargo ce26453be0 Minor release for Debian package 2020-03-25 17:43:47 +01:00
nicolargo c85b6459c8 Convert JPEG to PNG images (for documentation) 2020-03-25 17:40:29 +01:00
nicolargo 6f284cc97a Convert JPEG to PNG images (for documentation) 2020-03-23 16:23:43 +01:00
nicolargo 8ebade84d5 On the road to Glances 3.1.5 2020-03-10 21:56:43 +01:00
nicolargo 8b5b19501b Glances 3.1.4 ready to be released 2020-03-10 21:52:01 +01:00
nicolargo 13b1d4303a Merge branch 'develop' of github.com:nicolargo/glances into develop 2020-03-10 21:51:36 +01:00
nicolargo e5e52e71fb Merge remote-tracking branch 'origin/master' into develop 2020-03-10 21:51:08 +01:00
Nicolas Hennion 054f8e3553
Merge pull request #1621 from bartlomiejcieszkowski/timezone_too_long
Timezone too long
2020-03-10 21:17:31 +01:00
Bartlomiej Cieszkowski a7eb105989 dont remove comment 2020-03-05 23:00:40 +01:00
Bartlomiej Cieszkowski 5d5973abec Merge branch 'develop' into timezone_too_long
# Conflicts:
#	glances/plugins/glances_now.py
2020-03-05 22:49:47 +01:00
nicolargo 547062750b Update doc 2020-03-03 22:29:39 +01:00
Nicolas Hennion a473d0e2b3
Merge pull request #1598 from bartlomiejcieszkowski/enable-windows-console
glances can work in console mode on windows - windows-curses
2020-03-03 22:23:09 +01:00
nicolargo 105aa65f21 Correct an issue on Windows, time zone not display correctly. Skip it for the moment 2020-03-03 22:19:23 +01:00
nicolargo 2c9e80b4a5 [diskio] Aliases Display Incorrectly/Not at All, and Glances Throws Error on Exit #1618 2020-03-03 22:10:42 +01:00
nicolargo 62dbeb369e Kafka key name needs to be bytes #1593 2020-02-27 15:28:28 +01:00
nicolargo f6533272a5 Feature request: Include hostname in all (e.g. kafka) exports #1594 2020-02-27 15:17:24 +01:00
nicolargo 1e8bf7bd5f Glances don't want to run on Crostini (LXC Container, Debian 10, python 3.7.3) #1600 2020-02-27 14:59:52 +01:00
nicolargo 4369cd7662 Debug message for issue #1604 2020-02-27 14:33:06 +01:00
nicolargo 10965a1a7c NameError: name logger is not defined in net plugin #1602 2020-02-27 14:15:03 +01:00
nicolargo d19f9c002e Merge branch 'issue1606' into develop 2020-02-27 13:56:24 +01:00
nicolargo 76c8492832 FS filtering can be done on device name #1606 2020-02-27 13:56:06 +01:00
Bartlomiej Cieszkowski f9c13723c8 unused import 2020-02-17 07:52:20 +01:00
Bartlomiej Cieszkowski e4594829f3 tz 2020-02-17 07:50:00 +01:00
Bartlomiej Cieszkowski 26cce71222 text wrap was due to size of screen being different than subwindows size, use term_window sizing 2020-02-16 19:20:31 +01:00
Nicolas Hennion 0cdf91ba53
Merge pull request #1599 from fcalvet/develop
Specify precision to seconds for influxDB output
2020-02-16 11:25:16 +01:00
fcalvet 97916d2126
fix GPU memory consumption reporting
Reverting changes in d434333dfe which displayed something else than memory usage.
Old calculation with new py3nvml module still aligns with nvidia-smi output
2020-02-11 09:11:33 +01:00
fcalvet b6727ad42e
Requirement for elasticsearch library for export 2020-02-10 18:42:25 +01:00
fcalvet f42ff86f64
Correcting diskio write units in grafana dashboard 2020-02-10 18:00:37 +01:00
fcalvet 3190a9fd70
Update grafana example for diskio
Taking into account time_since_update in a similar manner to networks
2020-02-10 17:53:04 +01:00
fcalvet 84c3549aad
Slight glances/README.txt update
* Updated link to docs
* Added export base class
* Added AMPs
2020-02-10 17:08:53 +01:00
fcalvet c66f874e8d
Reduced precision to seconds in influxdb export
"To significantly improve compression, use the coarsest precision possible for timestamps." see documentation: https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_reference/#syntax-description
2020-02-10 17:00:34 +01:00
Bartlomiej Cieszkowski 4969c19065 glances can work in console mode on windows - windows-curses 2020-02-09 20:34:32 +01:00
Nicolas Hennion 3e5ec443ce
Merge pull request #1586 from tirkarthi/fix-python-39
Fix warnings and improve Python 3.9 compatibility.
2020-01-22 18:28:01 +01:00
Karthikeyan Singaravelan 2e00997e33 Use is_alive instead of isAlive for Python 3.9 compatibility. 2020-01-22 18:36:00 +05:30
Karthikeyan Singaravelan 51c7e763e5 Fix DeprecationWarning regarding invalid escape sequence. Fix SyntaxWarning regarding literal comparison. 2020-01-22 18:35:41 +05:30
Nicolas Hennion b55d4925b0
Merge pull request #1580 from notFloran/webui-amp-nl2br
[WEBUI] AMP plugins and \n
2020-01-15 07:36:38 +01:00
nicolargo a7a4203641 Can start glances with MQTT export #1581 2020-01-11 11:30:06 +01:00
Floran Brutel d388476230
Replace \n by br in amp result 2020-01-02 20:17:37 +01:00
nicolargo ecb9db9c86 Merge branch 'issue1575' into develop 2019-12-26 11:09:14 +01:00
nicolargo 9a10c92178 log file under public/shared tmp/ folders must not have deterministic name #1575 2019-12-26 11:08:57 +01:00
nicolargo 57ffb712f8 Merge branch 'develop' of github.com:nicolargo/glances into develop 2019-12-17 21:28:33 +01:00
nicolargo 48cb5ef805 Correct an issue while init IP plugin (issue #1528) again... 2019-12-17 21:28:05 +01:00
Nicolas Hennion d7a39721f8
Merge pull request #1571 from qubidt/develop
Fix broken method call when config is None
2019-12-17 21:19:14 +01:00
Bao Trinh 545a7ff20a
Fix broken method call when config is None 2019-12-14 12:39:53 -06:00
Nicolas Hennion 9525853fba
Create FUNDING.yml 2019-12-07 09:40:19 +01:00
Nicolas Hennion 08fcc2ce73
Merge pull request #1564 from nicolargo/issue1547
[WebUI] Add a new TCP connections status plugin
2019-12-07 09:20:44 +01:00
Floran Brutel 4eb17467d0
Finish connection plugin of the webUi 2019-12-01 19:13:01 +01:00
nicolargo b037e914be
First try to eable the connections plugin in the WebUI... (it's a fail) 2019-12-01 19:12:29 +01:00
nicolargo 8dbc862352 Update docs 2019-11-24 17:41:06 +01:00
nicolargo 3b11856926 Feature request: HDD S.M.A.R.T. reports #1288 (only terminal UI) 2019-11-24 17:40:02 +01:00
nicolargo 7bd6351bf2 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2019-11-21 21:52:13 +01:00
nicolargo bf52d754c4 Merge branch 'issue1561' into develop 2019-11-21 21:51:39 +01:00
nicolargo 2677448081 Glances writing lots of Docker Error message in logs file #1561 2019-11-21 21:50:53 +01:00
Nicolas Hennion c84f89f57e
Merge pull request #1558 from notFloran/fix-1555
Display gpu and mem more plugin on small devices
2019-11-16 10:24:38 +01:00
Nicolas Hennion 9eb48336a7
Merge pull request #1559 from yoganandc/patch-1
Bug fix for UTF-8 check
2019-11-16 10:24:12 +01:00
Yoganand Chandrasekhar 3752f1fed3
Update glances_sparklines.py 2019-11-13 21:31:41 -08:00
Floran Brutel cd82f1d6a8
Display gpu and mem more plugin on small devices 2019-11-13 20:15:03 +01:00
nicolargo 7228a915bb Update dep in setup file 2019-11-13 10:28:15 +01:00
nicolargo 590c9d75ed Merge branch 'issue1523reset' into develop 2019-11-11 16:33:23 +01:00
nicolargo d434333dfe NVIDIA GPU temperature #1523 2019-11-09 18:01:39 +01:00
nicolargo e7cc51fab9 Add a comment for future export enhancement 2019-11-09 10:54:39 +01:00
nicolargo 2c34d463c9 Prevent exporting empty data to InfluxDB 2019-11-09 10:20:23 +01:00
nicolargo 4be7c630a1 Merge branch 'issue1554' into develop 2019-11-06 09:15:48 +01:00
nicolargo 043e574626 Display load as percentage when Irix mode is disable #1554 2019-11-06 09:15:09 +01:00
nicolargo cc856941a8 Update documentation. 2019-11-02 13:42:24 +01:00
Nicolas Hennion c71bef2cd7
Merge pull request #1549 from jugmac00/develop
Modernize travis config file.
2019-11-02 10:38:22 +01:00
nicolargo a1c63f4003 Merge branch 'issue1536' into develop 2019-11-02 10:34:48 +01:00
nicolargo 83bc9deb2a Improve sort key management 2019-11-02 10:31:49 +01:00
nicolargo 62132c16e2 Make processes.sort_key configurable #1536 2019-11-02 09:42:28 +01:00
nicolargo 9943c3071b Ignore .idea folder 2019-10-31 11:47:02 +01:00
nicolargo 6d76daaeca KeyError: b'Rss:' in memory_maps #1551 2019-10-27 11:44:11 +01:00
nicolargo 2ebd227bfe Add update duration in the plugin decorator 2019-10-27 11:20:38 +01:00
nicolargo 1d6be6ceab Correct an issue if IP plugin is not available in the Curses UI 2019-10-27 11:04:32 +01:00
Jürgen Gmach 00c88f559c Do not use "python setup.py install" any more.
Usage is deprecated.

modified:   .travis.yml
2019-10-21 09:33:37 +02:00
Jürgen Gmach 357123cb73 Remove deprecated keyword "sudo" from travis config.
cf.
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

modified:   .travis.yml
2019-10-21 09:26:36 +02:00
nicolargo bceadb3ddd [ports] ICMP does not work #1538 2019-10-20 21:32:16 +02:00
nicolargo 1d11513af6 Update doc and conf file 2019-10-13 11:18:00 +02:00
nicolargo 793552ea86 Correct unitest 2019-10-13 09:59:51 +02:00
nicolargo abf64ffde3 Correct unitest 2019-10-12 11:45:36 +02:00
nicolargo 560490be62 On the road on the version 3.1.4 or higher 2019-10-12 11:35:23 +02:00
nicolargo e29a153d93 version 3.1.3 2019-10-12 11:32:05 +02:00
nicolargo 16a9ce3ad1 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2019-10-12 11:22:07 +02:00
nicolargo 1f8e6efe8c Add --enable-plugin options from the command line 2019-10-12 11:21:47 +02:00
nicolargo a61c91b111 Correct an issue when a plugin is disabled from the cconf file 2019-10-12 11:10:52 +02:00
Nicolas Hennion 26e6a75b66
Merge pull request #1548 from notFloran/fix-webui-refreshtime
Fix custom refresh time in the web UI
2019-10-12 11:08:03 +02:00
nicolargo 7c5d332aa3 Remove debug message 2019-10-08 22:18:28 +02:00
nicolargo 0d1a1d852e Add shortcut to show / hide TCP connections (k) 2019-10-08 22:14:39 +02:00
nicolargo 29e3c5bfd5 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2019-10-08 21:50:51 +02:00
nicolargo f4b5153e75 Harden Connections plugin 2019-10-08 21:50:26 +02:00
Floran Brutel 77fa78e411
Fix custom refresh time in the web UI 2019-10-08 21:49:55 +02:00
Nicolas Hennion 3e70800920
Merge pull request #1546 from notFloran/webui-docker
🐛 Fix issue in WebUI with empty docker stats
2019-10-08 21:26:24 +02:00
Floran Brutel 7ef79c8a48
🐛 Fix issue in webui with empty docker stats 2019-10-07 21:16:08 +02:00
Floran Brutel 89f836958a
Merge pull request #1545 from notFloran/webui-vendor-upgrade
[WebUI] Upgrade JS packages
2019-10-07 21:03:14 +02:00
Floran Brutel c200a98dfa
⬆️ webui packages 2019-10-07 20:24:55 +02:00
nicolargo d8713aa183 Update docs 2019-10-07 13:09:28 +02:00
nicolargo c7bcf26db5 Update docs 2019-10-07 13:08:53 +02:00
nicolargo 7e60799129 Resolve issue during merge 2019-10-07 13:07:57 +02:00
nicolargo 0f22ba723d Add screenshot for connections plugins 2019-10-07 13:04:57 +02:00
nicolargo e212292ff6 Update doc for new connections plugin 2019-10-07 13:01:58 +02:00
nicolargo f5ea9e8f4d Add color to nf_conn-track' 2019-10-07 13:01:18 +02:00
nicolargo 7c87d343eb Add conntrack 2019-09-28 18:16:26 +02:00
nicolargo dcd28b778d Add a new TCP connections status plugin #1526 RC1 2019-09-28 17:27:06 +02:00
nicolargo 66c9fff716 Quicklook plugin not working on Systemd #1537 2019-09-28 15:30:38 +02:00
nicolargo faa4bd715d Merge branch 'issue1535' into develop 2019-09-11 21:21:48 +02:00
nicolargo fe086a0062 Glances fails without network interface #1535 2019-09-11 21:21:28 +02:00
nicolargo d7cf39f751 On the road of the next version. 3.1.3 or 3.2.0 2019-08-27 16:41:17 +02:00
nicolargo 77731465ae Glances version 3.1.2 2019-08-27 16:35:40 +02:00
nicolargo b229d0a531 Merge branch 'issue1534' into develop 2019-08-27 16:25:18 +02:00
nicolargo 377d039dcb Add debug message for init and update duration (grep duration in log file when debug mode is on) 2019-08-27 16:24:58 +02:00
nicolargo f0e8ef44f2 Refactor all the way config file is loaded (now by each plugin). Should solve issues #1508. 2019-08-17 11:21:20 +02:00
nicolargo 504450ca3a Cannot restart glances with --export influxdb after update to 3.1.1 #1530 2019-08-14 11:46:18 +02:00
nicolargo 848740e5b3 HDDTEMP config IP? #1508 2019-08-13 10:50:10 +02:00
nicolargo 55752a9788 Update quicklook plugin doc 2019-08-12 10:09:19 +02:00
nicolargo d3cc726729 Update docs 2019-08-12 10:02:40 +02:00
nicolargo c4ec6ecb8f Correct error in SMART unitest 2019-08-12 09:57:28 +02:00
nicolargo 0be5c24ae9 Make CSV export append instead of replace #1525 2019-08-11 20:11:13 +02:00
nicolargo 7208bd3df7 [Feature Request] Option in config to change character used to display percentage in Quicklook #1511 2019-08-11 11:13:47 +02:00
nicolargo 2ec1adb17e Glances Snap doesn't run on Orange Pi Zero running Ubuntu Core 16 #1517 2019-08-11 10:40:08 +02:00
nicolargo 5c195a1c6c Error with IP Plugin : object has no attribute #1528 2019-08-11 10:06:22 +02:00
Nicolas Hennion 370a002b1d
Merge pull request #1520 from netbuddy/develop
repair the problem that when running 'glances --stdout-csv amps',repo…
2019-08-11 09:56:27 +02:00
Nicolas Hennion b4ffa5927a
Merge pull request #1516 from sinclairpaul/protocol-typo
🚑 Fix typo for protocol, fixes #1514
2019-08-01 09:19:12 +02:00
netbuddy e9a9c381b1 repair the problem that when running 'glances --stdout-csv amps',report KeyError of amp plugin. 2019-07-30 21:08:41 +08:00
Paul Sinclair cb19ccc8b2
🚑 Fix typo for protocol, fixes #1514 2019-07-27 18:47:55 -04:00
nicolargo 3286e83ee0 Read player 3.1.2 2019-07-17 17:54:01 +02:00
nicolargo 91d406dd55 Glances 3.1.1 2019-07-17 17:48:24 +02:00
Nicolas Hennion f682ede403
Merge pull request #1507 from Chris-V/fix_dockerfile_pip
Fix missing future in devel-arm Dockerfile
2019-07-17 17:37:31 +02:00
Nicolas Hennion 84dfb5c626
Merge pull request #1505 from h3xx/fix-doc-install
Fix missing file during install
2019-07-17 17:37:06 +02:00
Christopher Viel 61d47fbd1c Fix missing future in devel-arm Dockerfile 2019-07-14 18:39:00 -04:00
Dan Church 438455eb50
Fix missing file during install 2019-07-09 14:31:52 -05:00
nicolargo 89cb007bdf Fan speed and voltages section? #1398 2019-07-07 10:04:08 +02:00
nicolargo b43b5007a9 Glances 3.1.1RC1 2019-07-06 18:56:53 +02:00
Nicolas Hennion e8a8b4666f
Merge pull request #1502 from notFloran/webui-per-cpu
Better display of per-cpu plugin with a lot of cpus
2019-07-06 18:43:35 +02:00
Floran Brutel e8ae7e3d86
Better display of per-cpu component with a lot of cpus 2019-07-05 19:27:01 +02:00
nicolargo 2340881dde Add support to detect WSL 2019-07-03 23:02:20 +02:00
nicolargo 22676c6a21 Glances PsUtil ValueError on IoCounter with TASK kernel options #1440 2019-07-03 22:58:48 +02:00
nicolargo ec108fb61b docker glances container shows container's own network traffic #1435 2019-07-03 22:41:54 +02:00
nicolargo c5670e97c4 IP plugin displays incorrect subnet mask #1417 2019-07-03 22:37:50 +02:00
nicolargo b4036670e2 "sorted by ?" is displayed when setting the sort criterion to "USER" #1407 2019-07-03 22:31:16 +02:00
nicolargo bfcf212c2c Prometheus integration broken with latest prometheus_client #1397 2019-07-03 22:25:33 +02:00
nicolargo 7edb99923a Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2019-07-03 22:14:15 +02:00
nicolargo d32cf5bdaa Merge branch 'issue1487' into develop 2019-07-03 22:13:33 +02:00
nicolargo 78032b2600 Can't connect to influxdb with https enabled #1497 2019-07-03 22:13:16 +02:00
Nicolas Hennion 4ff7dc7f37
Merge pull request #1495 from boneskull/intersphinx
add intersphinx inventory
2019-07-03 21:50:37 +02:00
Nicolas Hennion d1b65a85f7
Merge pull request #1496 from joeabbey/docker-error-handling
Improve error handling when docker restarts
2019-07-03 21:50:12 +02:00
Joe Abbey d8f7109182 Improve error handling when docker restarts 2019-07-02 13:22:18 -04:00
Christopher Hiller f8fa2024ed
add intersphinx inventory 2019-06-20 11:46:07 -07:00
nicolargo f8e036ee25 Merge branch 'issue1491' into develop 2019-06-12 23:14:52 +02:00
nicolargo 1d1a6d9922 Performance issue with large folder #1491 2019-06-12 23:14:21 +02:00
nicolargo bdd557437a Allow comma separated commands in AMP 2019-05-31 16:35:24 +02:00
nicolargo f7f78f7d1c UnicodeEncodeError: 'ascii' codec can't encode character u'\u25cf' - Raspbian stretch #1483 2019-05-19 13:42:42 +02:00
nicolargo cbb924d54c Remove debug message 2019-05-19 13:26:29 +02:00
nicolargo d751c0521d Correct an issue introduced in latest commit 2019-05-19 13:25:05 +02:00
nicolargo 14350c5f4c A simple hask to disable plugin if a an error occurs on load 2019-05-19 11:09:42 +02:00
nicolargo 5bd4d587a7 Add Future lib 2019-04-27 11:02:04 +02:00
nicolargo 555f3b8654 Glances crash on startup with a KeyError:u'docker' #1477 2019-04-27 10:47:12 +02:00
nicolargo b9d37ecaf2 xMerge branch 'develop' of https://github.com/nicolargo/glances into develop 2019-04-22 17:19:45 +02:00
nicolargo 422d3dea01 Correct an issue with Loag plugin on Windows OS 2019-04-22 17:19:36 +02:00
Nicolas Hennion 424bbb5853
Merge pull request #1476 from notFloran/fix-1465
[WebUI] Fix empty list of processes for Windows
2019-04-22 17:13:55 +02:00
Floran Brutel 6d9cbe831f
🐛 Fix username handling when is null 2019-04-22 12:59:55 +02:00
nicolargo 47b2983f28 Improve string encodeing/deconding 2019-04-22 10:40:29 +02:00
Nicolas Hennion bf7267ba2a
Merge pull request #1473 from notFloran/webui-rewrite-refresh-time
Better method to pass "refresh time" from glances to the WebUI
2019-04-21 10:02:10 +02:00
nicolargo d8da35319e Regression. Curses interface issue with Python 3. #1475 2019-04-20 16:25:10 +02:00
nicolargo 7ed5e8d295 Quicklook is broken #1474 (for both Python 2 and 3) 2019-04-20 15:40:35 +02:00
nicolargo 094f09eb0d Quicklook is broken #1474 2019-04-20 14:50:26 +02:00
Floran Brutel e408a2a202
Better handling of refresh time in the web ui 2019-04-20 11:53:01 +02:00
Nicolas Hennion 68d10873bb
Merge pull request #1472 from notFloran/webui-fix-isLinux
[WebUI] Fix use of isLinux
2019-04-20 11:23:32 +02:00
Nicolas Hennion 66f742c09c
Merge pull request #1471 from mendelgusmao/duplicate-pub-ip
Filter duplicate public IP addresses in IP plugin
2019-04-20 11:22:34 +02:00
Floran Brutel cd40aede14
🐛 Fix use of isLinux in the web ui 2019-04-20 10:42:49 +02:00
MendelGusmao f08abbfb6c Filter duplicate public IP addresses in IP plugin 2019-04-18 21:25:01 -03:00
nicolargo f68da86493 Update sparkline with current % 2019-04-18 09:34:02 +02:00
nicolargo a5b46a9db1 Update doc 2019-04-18 09:03:21 +02:00
nicolargo 03e0866b50 Stack trace when starts Glances on CentOS #1470 2019-04-18 08:53:01 +02:00
nicolargo dbc7b96e51 Merge branch 'issue1469' into develop 2019-04-18 08:47:26 +02:00
nicolargo a55092e760 Getting an error when running with prometheus exporter #1469 2019-04-18 08:47:09 +02:00
nicolargo 727042042a Too less data using prometheus exporter #1462 (update doc and NEWS file) 2019-04-12 11:55:51 +02:00
nicolargo f9f7bf2f36 Too less data using prometheus exporter #1462 2019-04-12 11:50:47 +02:00
Nicolas Hennion c645ef81ae
Merge pull request #1467 from Lin-Buo-Ren/patch/snap/general-improvements
snap: general improvements
2019-04-12 10:55:51 +02:00
林博仁(Buo-ren Lin) 6fdf37ef89 snap: Incorporate selective-checkout to ensure a revision for stable channel is always available
Refer-to: Selective-checkout: Check out the tagged release revision if it isn't promoted to the stable channel - doc - snapcraft.io <https://forum.snapcraft.io/t/selective-checkout-check-out-the-tagged-release-revision-if-it-isnt-promoted-to-the-stable-channel/10617>
Refer-to: Releasing your app - Documentation for snaps: Universal Linux packages <https://docs.snapcraft.io/releasing-your-app/6795>
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-12 01:08:58 +08:00
林博仁(Buo-ren Lin) 15a9925d2a snap: Unify sequence indentation style
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-12 00:45:47 +08:00
林博仁(Buo-ren Lin) 2401523cb4 snap: Migrate to `core` base
This patch allows the snap to use the latest Snapcraft features.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-12 00:40:28 +08:00
Nicolas Hennion b9dacd1e98
Merge pull request #1466 from sentriz/webintfsensorsalias
show sensors alias in web interface
2019-04-11 13:32:21 +02:00
Nicolas Hennion 9b7e7f1ba7
Merge pull request #1464 from Lin-Buo-Ren/patch/snap/support-canonical-config-paths
snap: Support canonical config paths, fixes #1403
2019-04-11 13:31:21 +02:00
Nicolas Hennion a5fc4fda45
Merge pull request #1463 from Lin-Buo-Ren/patch/snap/add-gitignore
snap: Add packaging-specific gitignore rules
2019-04-11 13:30:55 +02:00
Nicolas Hennion bc9c0a4591
Merge pull request #1461 from Lin-Buo-Ren/patch/snap/fix-server
snap: Fix broken --webserver due to missing network-bind plug
2019-04-11 13:30:28 +02:00
Nicolas Hennion 5550289fe7
Merge pull request #1453 from riadvice/fix-docs
Update cmds.rst
2019-04-11 13:29:55 +02:00
Nicolas Hennion 707e793153
Merge pull request #1452 from Bengt/patch-1
Ignore loop back file systems under Ubuntu
2019-04-11 13:29:31 +02:00
nicolargo f73ec13c8f PsUtil 5.6.1. Bring load on Windows OS 2019-04-11 13:27:53 +02:00
nicolargo 57e07faf02 Merge branch 'issue344' into develop 2019-04-11 13:24:35 +02:00
nicolargo b7f684e81f Add Load Average (similar to Linux) on Windows #344 2019-04-11 13:24:17 +02:00
sentriz fa5170d0e0
show sensors alias in web interface
sensor aliases currently work in the curses interface, but not in the
web one

fixes #1456
2019-04-11 11:59:48 +01:00
林博仁(Buo-ren Lin) 2249251895 snap: Support canonical config paths, fixes #1403
This patch supports canonical config paths by the help of the
`personal-files` and the `system-files` security confinement interfaces.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-10 17:35:42 +08:00
林博仁(Buo-ren Lin) ddeb8d1b79 snap: Add packaging-specific gitignore rules
This should drop the -dirty tag in the snap version string.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-10 16:43:08 +08:00
nicolargo d31805232b Ctach CertificateError in outdated plugin 2019-04-08 14:51:57 +02:00
nicolargo 0c0adb35cf Merge branch 'issue1446' into develop 2019-04-08 14:43:44 +02:00
nicolargo c3f04f2cca Update documentation for sparklines. 2019-04-08 14:39:18 +02:00
林博仁 c05dd8a05d snap: Fix broken --webserver due to missing network-bind plug
Signed-off-by: 林博仁 <Buo.Ren.Lin@gmail.com>
2019-04-05 18:40:43 +08:00
Ghazi Triki 5d4faa206b
Update cmds.rst
Fix `--modules-list`
2019-03-31 20:05:21 +01:00
nicolargo a35a7d547b Version to be tested. All feature are implemented. Documentation to be done. 2019-03-31 18:27:03 +02:00
Bengt Lüers 96825c7eac
Ignore loop back file systems under Ubuntu
This hides about a dozen loop back file systems on my Ubuntu 18.04 machine, cleaning up the side bar tremendously.
2019-03-31 17:57:40 +02:00
nicolargo 20ca58d5a4 Merge branch 'develop' into issue1446 2019-03-31 16:59:31 +02:00
nicolargo f9ae1eb7dc Merge branch 'issue1449' into develop 2019-03-31 11:43:05 +02:00
nicolargo 624d8c0204 `l` keypress (hide alert log) not working after some time #1449 2019-03-31 11:41:45 +02:00
nicolargo a5eee3405c Change NEWS file 2019-03-31 11:05:38 +02:00
nicolargo 96bfd95e4b Merge branch 'issue1450' into develop 2019-03-31 11:02:53 +02:00
nicolargo 2030adf58a Connection to MQTT server failed : getaddrinfo() argument 2 must be integer or string #1450 2019-03-31 11:02:36 +02:00
nicolargo 2853f54ee6 Size is now ok 2019-03-27 23:07:57 +01:00
nicolargo 0c2f3acbd2 First commit with basic function. The plugin is to large. The default bahavor should be bar. Sparkline should be activated uppon --sparklines tag 2019-03-24 19:30:09 +01:00
Nicolas Hennion 6f5ea9592d
Merge pull request #1441 from genevera/elasticsearch-fix-fix
switch back to timestamp el name, clean up verbiage
2019-03-14 21:40:47 +01:00
genevera 536f04ae90
switch back to timestamp el name, clean up verbiage 2019-03-14 12:46:00 -04:00
nicolargo 06867c9f19 Add NEWS file for ElasticSearch: add date to index, unbreak object push (thanks to @genevera) # 1438 2019-03-13 22:08:14 +01:00
Nicolas Hennion 57597aa0cc
Merge pull request #1438 from genevera/elasticsearch-fix
add date to index, unbreak object push
2019-03-13 22:06:04 +01:00
genevera 65e748a15c
make _id more precise 2019-03-13 05:42:16 -04:00
genevera b24ad72557
remove extra time field 2019-03-13 05:37:34 -04:00
genevera b7041b3acb
use dynamic templating for values, clean up fields some more 2019-03-13 05:28:06 -04:00
genevera 5bf7069053
add date to index, unbreak object push 2019-03-13 05:24:49 -04:00
nicolargo be696ec8c5 Fixes a typo in command-line options docs #1425 2019-03-02 08:54:18 +01:00
nicolargo b21074d33d Merge branch 'issue1415' into develop 2019-01-29 06:55:42 +01:00
nicolargo 70085b9dc5 Issue #1514 already corrected by issue #1348. Nevertheless, this commit improve code quality off the network plugin 2019-01-29 06:55:23 +01:00
Nicolas Hennion e10dbe86c4
Merge pull request #1410 from Lin-Buo-Ren/patch/fix-snap-version
Improve snap version generation and introducing metadata sharing with setuptools
2019-01-26 07:55:04 +01:00
Nicolas Hennion 9eb1310a6e
Merge pull request #1411 from Lin-Buo-Ren/patch/pin-deps
Patch/pin deps
2019-01-26 07:54:51 +01:00
林博仁(Buo-ren Lin) c9bc0b38f9 Minimize history fetch depth to cut down pull time
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 11:26:22 +08:00
林博仁(Buo-ren Lin) cf670d2eaa Pin release of the runtime dependencies in snap
This patch specifies the exact release of the dependencies to pull in,
this avoids regressions and incompatibilities from the new upstream
changes.

The maintainer should check and bump the dependency version once in a
while and check for breakage.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 11:26:22 +08:00
林博仁(Buo-ren Lin) f541e9215b Use new metadata extracting feature in snaps
This patch replaces the deprecated `version-script` key with new
Snapcraft metadata extracting features based on the `adopt-info` and
`parse-info` keys and the `snapcraftctl set-version` command.

This allows metadata sharing with Setuptools setup.py file.

Refernce:

    Extracting information from sources in snapcraft parts - doc - snapcraft.io
    https://forum.snapcraft.io/t/extracting-information-from-sources-in-snapcraft-parts/4642

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 06:04:44 +08:00
林博仁(Buo-ren Lin) 044fd14137 Implement custom snap version string generation
The snap version string generated by the `git` value of the `version`
key isn't mimicing the previous versioning style due to the prefixing
`v` in the git tag, this patch replace it with a custom implementation
based on the `version-script` key.

Note the `version` key is still required to exist due to schema
requirements, but has no effect when the `version-script` key is
defined.

Reference:

    Snapcraft version scripts - snapcraft - snapcraft.io
    https://forum.snapcraft.io/t/snapcraft-version-scripts/106

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 04:44:03 +08:00
nicolargo 38706c975b Add Snap packager 2019-01-25 20:16:41 +01:00
Nicolas Hennion 42d1142c2d
Merge pull request #1408 from Lin-Buo-Ren/patch/improve-snap-packaging
Patch/improve snap packaging
2019-01-25 20:00:23 +01:00
林博仁(Buo-ren Lin) 7a8330aa07 ReReRevert Permission denied: '/etc/glances/glances.conf' #1403
The snapd version that supports the interface hasn't released to the
stable channel yet, and the Snap Store autoconnection isn't granted,
hold back the patch until both conditions are met.

This reverts commit c904a8a and (parts of) 108dc7b.
2019-01-26 02:57:28 +08:00
林博仁(Buo-ren Lin) 988c9a7613 Switch to automatic git versioning for snap version
Snapcraft supports `git describe` style snap version string generation
this patch exploits it.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 02:51:44 +08:00
林博仁(Buo-ren Lin) 665626e44b Use local source tree for glances part
This avoids the additional time to clone the already existing repository

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 02:51:44 +08:00
林博仁(Buo-ren Lin) cd096cc8a8 Fix locale error due to missing compiled data
This patch hardcoded the locale variables to use the `C.UTF-8` locale
which is the only locale that is available in the Ubuntu Core.

Additional information:

* The gettext-launch remote part - doc - snapcraft.io
  https://forum.snapcraft.io/t/the-gettext-launch-remote-part/9111
* The locales-launch remote part - doc - snapcraft.io
  https://forum.snapcraft.io/t/the-locales-launch-remote-part/8729
* Python cannot determine the locale used when inside a snap - snapcraft - snapcraft.io
  https://forum.snapcraft.io/t/python-cannot-determine-the-locale-used-when-inside-a-snap/9492

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 02:51:41 +08:00
nicolargo 2529c66fe4 Fan speed always high CPU consuming on my laptop... 2019-01-24 22:27:17 +01:00
nicolargo 203dd28794 Fan speed and voltages section? #1398 2019-01-24 22:20:26 +01:00
nicolargo 6ca31c947a Add an unitest for issue #1401 2019-01-24 21:43:50 +01:00
nicolargo c904a8a3fe ReRevert Permission denied: '/etc/glances/glances.conf' #1403 2019-01-24 21:38:18 +01:00
nicolargo f4e80561df Revert Permission denied: '/etc/glances/glances.conf' #1403 because Snapbuild fail 2019-01-23 22:24:50 +01:00
nicolargo 91a96edd58 500 Internal Server Error /api/3/network/interface_name #1401 2019-01-23 21:47:50 +01:00
Nicolas Hennion c35a7dacfc
Merge pull request #1405 from tdeckers/develop
Allow use of configuration files when installed as snap.
2019-01-23 21:32:12 +01:00
Nicolas Hennion 871a0d1405
Merge pull request #1402 from EmilienMottet/develop
fix tablename cassandra export and variabilize the cassandra table-name
2019-01-23 21:30:21 +01:00
Tom Deckers 108dc7babe Allow use of configuration files when installed as snap.
Closes #1403
2019-01-23 20:30:27 +01:00
Emilien Mottet 1dcc3d07b6 fix tablename cassandra export and variabilize the cassandra table-name 2019-01-23 10:13:49 +01:00
nicolargo 62debf21b4 Documentation is unclear how to get Docker information #1386 and also add a all target to the Pip install in order to install all dependencies 2019-01-20 10:56:30 +01:00
nicolargo fede502478 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2019-01-20 10:15:06 +01:00
nicolargo 0a948d8799 Update docs and NEWS file 2019-01-20 10:14:45 +01:00
Nicolas Hennion 15fba1b81d
Merge pull request #1396 from limfreee/develop
Curses's browser server list sorting added.
2019-01-20 10:07:25 +01:00
Nicolas Hennion 067e1981c2
Merge pull request #1395 from EmilienMottet/add-auth-provider-cassandra
add authprovider for cassandra export
2019-01-20 10:06:40 +01:00
Emilien Mottet c17a530a76 update example conf for connect cassandra with username and password 2019-01-19 17:48:36 +01:00
Emilien Mottet f5e53e4566 add authprovider for cassandra export 2019-01-19 17:45:15 +01:00
nicolargo 74ef264d90 On the orad of Glances 3.1.1 2019-01-19 16:48:21 +01:00
nicolargo b668b0bf4c Resolve merge conflict with master branch 2019-01-19 16:43:35 +01:00
nicolargo 316d693c97 Glances 3.1.0 2019-01-19 16:41:03 +01:00
nicolargo ebb8c8adeb 'chart' extra not provided #1389 2019-01-19 16:24:09 +01:00
nicolargo 9508300d54 Cannot get stats in Cloud plugin (404) #1384 2019-01-19 16:18:05 +01:00
Nicolas Hennion e2d7f61eac
Merge pull request #1390 from apjanke/say-docker-works-on-Mac
README: note that docker plugin works on Mac
2019-01-19 15:55:32 +01:00
Nicolas Hennion c5efa0bf9a
Merge pull request #1391 from limfreee/develop
Client Browser's thread management added.

@limfreee Very nice ! Thanks for the enhancement !
2019-01-19 15:54:38 +01:00
Nicolas Hennion 156eb61752
Merge pull request #1394 from EmilienMottet/develop
fix mistake in comment
2019-01-19 15:53:49 +01:00
Emilien Mottet 353e75f510 fix typo in comment 2019-01-19 15:26:20 +01:00
sangoh.hong d4f06b3e0c improved server list sorting. 2019-01-18 22:45:25 +09:00
sangoh.hong 61dbe609c1 Sorting Condition check added. 2019-01-17 23:37:53 +09:00
sangoh.hong ac978176b9 Server list sorting added.
Sort by server status.
Using key 1,2,3
2019-01-17 23:34:14 +09:00
sangoh.hong 43d51513f8 server status count added. 2019-01-16 22:32:56 +09:00
sangoh.hong 7ba5dbf659 Merge branch 'develop' into feature/curses-browser-paging 2019-01-16 20:56:49 +09:00
sangoh.hong e594b56414 modify proxies argument. 2019-01-14 22:22:28 +09:00
sangoh.hong f73ac23b7b added web['ssl_verify'] & web['proxies'] 2019-01-14 22:22:28 +09:00
sangoh.hong 3bbe637154 Merge branch 'develop' into feature/curses-browser-paging
# Conflicts:
#	.gitignore
#	glances/outputs/glances_curses_browser.py
2019-01-11 22:35:20 +09:00
sangoh.hong 41f4826522 Client Browser's thread management added.
Curses Browser's key bug fixed.
2019-01-11 21:30:44 +09:00
Andrew Janke 789ee8ff15 README: note that docker works on Mac 2019-01-11 07:04:49 -05:00
sangoh.hong e608921992 Page down key bug fixed.
Duplicate code reduced.
2019-01-08 20:55:06 +09:00
nicolargo 8aecac8f21 Update NEWS file with latest PR 2019-01-05 21:40:35 +01:00
Nicolas Hennion 5fbc914f95
Merge pull request #1385 from limfreee/develop
curses-browser's server list paging added.
2019-01-05 21:37:30 +01:00
sangoh.hong f7e24b2233 curses-browser's server list paging added.
Browsing with Up/Down/PageUp/PageDown key.
2019-01-05 00:09:23 +09:00
nicolargo 1d3961a96c Remove Circle.yml 2018-12-31 12:26:33 +01:00
Nicolas Hennion 63fd7fbec6
Update README.rst 2018-12-31 11:55:20 +01:00
Nicolas Hennion 0ec877d24b
Update README.rst 2018-12-31 11:52:47 +01:00
Nicolas Hennion 624522c9a5
Update README.rst 2018-12-31 11:40:49 +01:00
Nicolas Hennion 7a7845097b
Update README.rst 2018-12-31 11:37:29 +01:00
nicolargo 3021bd6f06 Update README 2018-12-31 11:36:08 +01:00
nicolargo 457efd2496 Drive name with special characters causes crash (correct) #1383 2018-12-31 11:27:31 +01:00
nicolargo 1e42fe4f9d Drive name with special characters causes crash #1383 2018-12-31 11:07:32 +01:00
nicolargo 1ddb9e9cd9 Missing kernel task names when the webui is switched to long process names #1371 2018-12-30 15:25:27 +01:00
Nicolas Hennion d061d52eba
Merge pull request #1382 from notFloran/webui-empty-cmd-line
[WebUI] Use process name when cmd line is empty
2018-12-30 15:21:09 +01:00
Floran Brutel 357494b826
Use process name when cmd line is empty 2018-12-30 11:39:55 +01:00
nicolargo d4f808c21b Add download/month badge 2018-12-29 23:22:39 +01:00
nicolargo 0ecbb12444 Correct an issue with unitest on Python 3.x 2018-12-29 22:18:18 +01:00
nicolargo 8cf364212e Create an option to set the username to use in Web or RPC Server mode #1381 2018-12-29 19:10:48 +01:00
nicolargo bd5b12d521 Update installation documentation for Mac OS X 2018-12-28 17:54:33 +01:00
nicolargo 43db8c75ae Add a simple Makefile 2018-12-27 10:10:26 +01:00
nicolargo ab5e7247d3 Disable plugin from Glances configuration file #1378 2018-12-27 09:58:21 +01:00
nicolargo 28fa73cdff Disable Wifi plugin for Python 3 2018-12-23 15:57:11 +01:00
nicolargo aa3ac9ed0d Update documentation 2018-12-23 15:08:18 +01:00
nicolargo f0917c0c62 Standard output misbehaviour (need to flush) #1376 2018-12-23 15:03:08 +01:00
nicolargo 162ed83986 Correct NoneType issue on Wifi signal (related to issue #1973) 2018-12-23 14:40:24 +01:00
nicolargo 229710d60e TypeError on opening (Wifi plugin) #1373 2018-12-18 21:30:36 +01:00
nicolargo c76a5f0537 Some field name are incorrect in CSV export #1372 and Prohibit some plug-in data from being exported to influxdb #1368 2018-12-18 09:53:18 +01:00
nicolargo cec62a45f6 Add some comments 2018-12-09 09:52:42 +01:00
Nicolas Hennion 0922d2430e
Merge pull request #1357 from EmilienMottet/develop
`pwd`.conf instead of ./glances.conf for docker run command
2018-12-08 22:12:03 +01:00
nicolargo bdefb8cbaf Update documentation 2018-12-08 22:09:19 +01:00
nicolargo cd06e045c2 Add a CSV output format to the STDOUT output mode #1363 2018-12-08 22:08:14 +01:00
nicolargo e2b61d9446 Implementation of the CSV format for the STDOUT plugin done. Had to update the documentation 2018-12-08 17:54:44 +01:00
nicolargo 2653d5a0ba Support for monochrome (serial) terminals e.g. vt220 #1362 2018-12-08 10:27:42 +01:00
nicolargo e5439abe8b Correct folders alert 2018-12-07 22:47:58 +01:00
nicolargo c6ddc13acb Ok for Web and Port 2018-12-03 21:12:56 +01:00
Emilien Mottet 71d210aef7 `pwd`.conf instead of ./glances.conf 2018-11-27 23:09:39 +01:00
nicolargo c3d6b1b10f Recompute refresh after a key pressed 2018-11-25 21:54:31 +01:00
nicolargo cab0e868ae Replace the wait method by a default timeout on getch 2018-11-25 21:41:00 +01:00
nicolargo 27230bfb5c Add CPU profiling page 2018-11-25 10:04:28 +01:00
nicolargo dda9dd3b8f ERROR -- Can not grab extended stats (invalid attr name 'num_fds') #1351 2018-11-18 21:23:13 +01:00
nicolargo e1e5af5c1c Configure Python 3.6 in Tox 2018-11-11 16:31:19 +01:00
nicolargo 912df26ed4 Compare issue with Process.cpu_times() #1339 2018-11-11 16:09:08 +01:00
Nicolas Hennion f220f22893
Merge pull request #1347 from jakirkham/require_requests_on_windows
Require `requests` on Windows
2018-11-10 15:41:11 +01:00
nicolargo 0575f1cbd5 wMerge branch 'issue1348' into develop 2018-11-06 21:09:09 +01:00
nicolargo 22db708dce KeyError: 'eth0' when interface is not connected #1348 2018-11-06 21:08:49 +01:00
John Kirkham 460bbed931 Require `requests` on Windows
As the web interface is needed on Windows (as there is no Curses
interface), make sure all of the web requirements are included on
Windows. This includes `bottle` (already listed) and `requests` (now
added).
2018-11-04 04:18:51 -05:00
nicolargo 96a05bec73 error type host : AWS EC2 on VM public OVH ;( #1340 2018-11-03 19:05:35 +01:00
nicolargo 82d61e88ba remove duplicate JSON in help page 2018-11-01 08:49:46 +01:00
nicolargo 91c266f4c9 Add Docker doc to the index 2018-10-20 10:47:30 +02:00
Nicolas Hennion 1119593bef
Merge pull request #1336 from rgarrigue/patch-1
Create docker.rst
2018-10-20 10:40:27 +02:00
nicolargo 9e92afc0b1 Update NEWS file 2018-10-20 10:37:48 +02:00
nicolargo eb10f350bd Timezone listed doesn’t match system timezone, outputs wrong time #1337 2018-10-20 10:36:19 +02:00
Rémy G 9686fa35ba
Create docker.rst
Providing docker-compose example in the doc following #1334
2018-10-18 09:56:57 +02:00
nicolargo d75aef3703 Crash after running fine for several hours #1335 2018-10-17 21:27:23 +02:00
nicolargo d53a31f51b GPU plugin not exported to influxdb #1333 2018-10-14 21:08:55 +02:00
nicolargo 9441ebbf1d Correct Pep issue on string 2018-10-14 10:51:45 +02:00
Nicolas Hennion 7947c9a115
Merge pull request #1328 from cricket007/fix-docker-arm
Fix Docker ARM build
2018-10-01 08:36:21 +02:00
Jordan Moore 76b73d807d Fix Docker ARM build 2018-09-30 23:48:00 -05:00
nicolargo 661f8fb486 Add link to repology web site 2018-09-29 10:55:58 +02:00
nicolargo 06a8a0399b Change NEWS file followinf release of Glances 3.0.2 2018-09-29 10:37:00 +02:00
nicolargo 6e3424b6e0 Glances 3.0.2 (Hotfix version) 2018-09-29 10:33:45 +02:00
nicolargo 6b05640452 Glances IO Errorno 22 - Invalid argument #1326 2018-09-29 10:32:17 +02:00
nicolargo 409c0167f8 Merge branch 'issue1326' into develop 2018-09-29 10:20:15 +02:00
nicolargo 6904214823 Glances IO Errorno 22 - Invalid argument #1326 2018-09-29 10:19:32 +02:00
Nicolas Hennion 4467e10d23
Merge pull request #1325 from notFloran/update-js
[WebUI] Update javascript packages
2018-09-26 21:25:50 +02:00
Floran Brutel 810ae11e62
Clean README of the WebUI 2018-09-23 17:35:40 +02:00
Floran Brutel 02991016ed
⬆️ Update javascript vendors 2018-09-23 17:33:00 +02:00
Nicolas Hennion d72da28869
Merge pull request #1324 from notFloran/fix-bytes-filter
[WebUI] Fix display of memory and used space in Safari
2018-09-23 17:07:41 +02:00
Nicolas Hennion d1c1b8bbb0
Merge pull request #1323 from notFloran/fix-alert-round
Fix rounding of alert pourcent in the WebUI
2018-09-23 16:02:28 +02:00
Floran Brutel ec77636d9f
Fix bug in bytes filter with Safari 2018-09-23 11:47:24 +02:00
Floran Brutel 107c14c163
Fix rounding of alert pourcent in the web interface 2018-09-23 10:58:52 +02:00
nicolargo eaaaae294e Change the way cpu_times (per processes) is computed 2018-09-18 22:56:08 +02:00
nicolargo 82848384da Add Alpine based container 2018-09-15 22:47:08 +02:00
nicolargo f5eede0c26 Correct issue on ARM Docker file 2018-09-15 22:07:40 +02:00
nicolargo 5a7dd4489a Add Docker container for ARM 2018-09-15 12:10:01 +02:00
nicolargo 6d1c0ccce0 Add history to GPU stats. Allowing user to export stats (see #1319) 2018-09-12 21:17:55 +02:00
Nicolas Hennion 812db6b76f
Merge pull request #1318 from sbadia/debian-manpage
docs: manpage - Fix spelling typo
2018-09-09 18:31:28 +02:00
nicolargo eb9f0803fa Merge branch 'issue1317' into develop 2018-09-09 18:29:27 +02:00
nicolargo 4a42f729de Disable automatic sorting between cpu_percent, io_counters and memory_percent #1317 2018-09-09 18:29:05 +02:00
Sebastien Badia 78ce8d6f7b
docs: man - Fix spelling typo (separed → separated) 2018-09-09 18:16:48 +02:00
nicolargo ea84db45ae Rename Glances logs to Glances events 2018-09-09 10:22:43 +02:00
nicolargo dce2f6a5f6 Correct lint error in MQTT exporter 2018-09-09 08:41:19 +02:00
nicolargo 11bd5575ca Merge branch 'issue1276' into develop 2018-09-08 16:08:43 +02:00
nicolargo 50fb9c70a4 Sort docker stats #1276 2018-09-08 16:08:17 +02:00
nicolargo 2caac3803a Update NEWS file 2018-09-08 15:20:31 +02:00
nicolargo 11672d86f6 Merge branch 'issue1315' into develop 2018-09-08 15:19:52 +02:00
nicolargo 12a5853a8f TypeError: '<' not supported between instances of 'float' and 'str' #1315 2018-09-08 15:19:30 +02:00
nicolargo 53039c6e98 Add smart lib in README file 2018-09-05 17:46:35 +02:00
nicolargo bcea4d1cdc Add smart lib in dep 2018-09-05 17:42:19 +02:00
nicolargo 68328c7b75 Correct some coding style in the HDD smart plugin 2018-09-05 17:34:32 +02:00
nicolargo 8852ee4d1b Resolve issue in init file 2018-09-05 08:00:28 +02:00
nicolargo 8f2bf5f49e Merge hotfix/issue1314 2018-09-04 23:20:49 +02:00
nicolargo 9b29f15130 Merge branch 'hotfix/issue1314' 2018-09-04 23:15:55 +02:00
nicolargo ccd83bf1ff AMPs error if no output are provided by the system call #1314 2018-09-04 23:15:30 +02:00
nicolargo cee0caf771 Update NEWS file with 3.1 section 2018-09-01 13:12:16 +02:00
Nicolas Hennion 8d8e15a732
Merge pull request #1307 from tnibert/smartplugin
Hard disk SMART monitoring plugin
2018-09-01 13:06:20 +02:00
nicolargo 43c194b77a On the road of the next release. 3.0.1 or 3.1 ??? 2018-09-01 13:02:52 +02:00
nicolargo 7903295f2a Update screenshot 2018-09-01 12:46:58 +02:00
nicolargo 64d9e65ad0 Ready for Glances 3.0 2018-09-01 12:39:52 +02:00
nicolargo cb643e4eb4 Merge branch 'issue1292' into develop 2018-09-01 10:22:14 +02:00
nicolargo 963924be02 Never starts in a server on Google Cloud and FreeBSD #1292 2018-09-01 10:21:57 +02:00
nicolargo a814caedc9 Add documentation about Curses on Microsoft Windows (see issue #1312) 2018-09-01 10:09:25 +02:00
Tim Nibert 30b441aa34 fixed test for appveyor 2018-08-25 17:55:23 +10:00
Tim Nibert 4259f78eda Removed pySMART version hack, now using pySMART.smartx from pip 2018-08-22 20:36:36 +10:00
Tim Nibert c15a970937 Hard disk SMART plugin, includes python3 patched pySMART 2018-08-20 18:18:21 +10:00
nicolargo 1d2add1248 Reduce the left column max size and remove the RAID test file 2018-08-16 12:28:08 +02:00
nicolargo dc346cdcde Update AUTHOR page 2018-08-16 11:45:56 +02:00
Nicolas Hennion 67c3eee9a7
Merge pull request #1306 from molobrakos/sleep
Don't use 100% CPU in quiet mode
2018-08-16 11:41:50 +02:00
Erik Eriksson 3f42e6e027 Don't use 100% CPU in quiet mode 2018-08-16 11:35:05 +02:00
nicolargo f687900edc Rebuild docs for #1305 2018-08-16 11:33:25 +02:00
Nicolas Hennion 7aea0ecae4
Merge pull request #1305 from molobrakos/develop
Support for exporting data to a MQTT server.

Thanks for the contrib @molobrakos
2018-08-16 11:30:32 +02:00
Erik Eriksson a83c74e613 Support for exporting data to a MQTT server 2018-08-13 13:00:42 +02:00
nicolargo d608ef3e4d Correct issue with RAID0 2018-08-06 16:48:46 +02:00
nicolargo b7dd2340ac Glances shows mdadm RAID0 as degraded when chunksize=128k and the array isn't degraded. #1299 2018-08-06 10:40:15 +02:00
nicolargo 00d9f6ae8d Upgrade RestFul API to api/3 2018-08-05 17:29:08 +02:00
nicolargo 172fc2ca2c Add documentation about deps 2018-08-05 17:08:05 +02:00
nicolargo a7646b6499 Improve documentation concerning disk IO 2018-08-05 10:37:37 +02:00
nicolargo 0989d73e64 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2018-08-05 09:53:15 +02:00
nicolargo caf0b28f2b Pin zeroconf dependency on 0.19 to maintain python 2 compatibility #1293 2018-08-05 09:52:52 +02:00
Nicolas Hennion 44750a6bff
Merge pull request #1294 from cheezeburger/installation
Added alternative Python installation method
2018-08-05 09:45:59 +02:00
cheezeburger 00c3f77323 Added alternative Python installation method 2018-07-30 19:43:17 +08:00
nicolargo fa323bb181 Add a F.A.Q in the documentation. Add respond for encoding issue 2018-07-28 14:49:34 +02:00
nicolargo fa58150db6 Merge branch 'issue1275' into develop 2018-07-28 14:32:30 +02:00
nicolargo 4d7b798f34 Terminal window stuck at the last accessed *protected* server #1275 2018-07-28 14:32:14 +02:00
nicolargo 237d22b160 Merge branch 'issue1283' into develop 2018-07-07 21:41:02 +02:00
nicolargo d5cf490f83 Glances crash with extended process stats #1283 2018-07-07 21:40:24 +02:00
Nicolas Hennion eee4ee701e
Merge pull request #1285 from SConaway/patch-1
Update fs.rst
2018-07-07 21:33:29 +02:00
Steven Conaway 5c6ac8fca5
Update fs.rst 2018-07-07 09:45:42 -07:00
nicolargo dc434bab98 xMerge branch 'issue1203' into develop 2018-07-02 21:16:43 +02:00
nicolargo e7eff89137 Arch linux package (2.11.1-2) psutil (v5.4.1): RuntimeWarning: ignoring OSError #1203 2018-07-02 21:16:18 +02:00
nicolargo 49fafb6db4 Arch linux package (2.11.1-2) psutil (v5.4.1): RuntimeWarning: ignoring OSError #1203 2018-07-02 21:15:30 +02:00
Nicolas Hennion b1e6ad909c
Merge pull request #1274 from gdahlm/issue#1273
Use nvidia-ml-py3 for python3 compatibility
2018-06-17 20:55:20 +02:00
Greg Dahlman 1cf84dfcef Use nvidia-ml-py3 for python3 compatibility 2018-06-14 22:02:28 -07:00
nicolargo b016d508f0 Solve some encoding issue 2018-06-12 22:28:41 +02:00
nicolargo 3cc7174dc9 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2018-06-09 10:26:15 +02:00
nicolargo 630b6e004d Force UTF-8 encoding for Web server response 2018-06-09 10:25:20 +02:00
Nicolas Hennion d92bcdeda4
Merge pull request #1269 from notFloran/webui-empty-values
Handle empty values in the webUI
2018-06-06 19:43:03 +02:00
Floran Brutel 8e170e4c00
Handle empty values in the webUI (see #1251) 2018-06-06 19:10:44 +02:00
Floran Brutel 6d421e3db2
Rebuild assets after update 2018-06-06 18:40:50 +02:00
nicolargo 4669650afc Try to update WebUI lib. To be checked by @notFloran 2018-06-05 22:02:20 +02:00
nicolargo 4675fff26d Correct Probable insecure usage of temp file/directory #820 2018-06-03 16:25:49 +02:00
nicolargo 7d3c085d72 Enhance code quality: Arguments number differs from overridden 'update' method 2018-06-03 16:18:57 +02:00
nicolargo 6c5b01d3a3 Align left for thread and IOw in the WebIU 2018-06-03 16:04:48 +02:00
nicolargo d9b3e73da8 Correct duplicate process numeber for kernel processes in AMPS (issue #1261) 2018-06-02 17:10:11 +02:00
nicolargo 8b3aaac72d Improve debug messages for AMP 2018-05-27 09:48:23 +02:00
nicolargo 8069133fe9 Remove error message if the server is not running 2018-05-27 09:37:42 +02:00
nicolargo ef9157849e Merge branch 'enhance-process-curse' into develop 2018-05-26 17:52:15 +02:00
nicolargo 53305cb110 Add secondary sort key for processes 2018-05-26 17:51:50 +02:00
nicolargo c62d09f282 Remove dirty work arround for issue #1192 because PsUtil issue #1179 is now solved on PSUtil 5.4.2 and higher 2018-05-26 17:31:14 +02:00
nicolargo d2af2e06f6 Add human readable sort message for processes 2018-05-26 17:29:43 +02:00
nicolargo 551bdb03e6 Change test for GPU 2018-05-20 10:12:23 +02:00
nicolargo 74ebc9bff8 Enhance PerCpu/Cpu switch 2018-05-20 10:06:04 +02:00
nicolargo 5ce6a40645 Remove debug message 2018-05-19 16:40:20 +02:00
nicolargo c4c0a2d5d3 AMP for kernel process is not working #1261 2018-05-19 16:36:08 +02:00
nicolargo 3db4e105d3 Merge branch 'issue1265' into develop 2018-05-19 10:38:01 +02:00
nicolargo c4f4a5cd2d Overlap in Web UI when monitoring a machine with 16 cpu threads #1265 2018-05-19 10:37:31 +02:00
Nicolas Hennion 5302da3f4a
Merge pull request #1263 from notFloran/webui-threads
Add threads number in the process list of the webui
2018-05-19 08:51:13 +02:00
Floran Brutel db95edad3f
Add threads number in the process list of the webui 2018-05-16 18:47:32 +02:00
nicolargo a0a6e3de69 Merge branch 'influxdb-export-reduce-error' into develop 2018-05-16 17:47:14 +02:00
nicolargo 39c9f77a0b Reduce the number of log message during InfluxDB export 2018-05-16 17:46:18 +02:00
nicolargo 24476712fc Crashes when influxdb option set #1260 2018-05-15 22:07:45 +02:00
nicolargo fdd22cfb94 Try a patch for issue #1260 2018-05-15 21:48:32 +02:00
nicolargo 67a13ae53a Optimize process display 2018-05-12 23:02:28 +02:00
nicolargo 33d20ab36f Change copyright year to 2018 2018-05-12 18:38:37 +02:00
nicolargo 0d7dd3df7f Remove debug code 2018-05-12 10:27:30 +02:00
nicolargo 47a0fece80 Correct an issue to split the command line path and arguments 2018-05-11 17:19:27 +02:00
nicolargo 462f8c0b9b OSX - Python 3 and empty percent and res #1251 - To be tested 2018-05-11 17:09:10 +02:00
nicolargo 27c8c82933 Update docs 2018-05-08 17:59:10 +02:00
nicolargo 7f15c34206 Merge branch 'issue1259' into develop 2018-05-08 17:44:54 +02:00
nicolargo eb57669d35 Add threads number in the process list #1259 Done for Curses UI. Need to be done in WebUI 2018-05-08 17:44:36 +02:00
nicolargo 1c324efada Merge branch 'issue1256' into develop 2018-05-08 11:18:21 +02:00
nicolargo 818b7bfb31 glances --browser crashed when more than 40 glances servers on screen 78x45 #1256 2018-05-08 11:17:31 +02:00
nicolargo 4d0119ded4 Merge branch 'issue1255' into develop 2018-05-06 22:16:40 +02:00
nicolargo 2c6be49e13 Add labels support to Promotheus exporter #1255 2018-05-06 22:15:55 +02:00
nicolargo 8b6b0d3bd0 Use https URLs for checking external IP #1253 2018-04-29 22:24:55 +02:00
nicolargo 723e820e6d Merge branch 'issue1250' into develop 2018-04-29 22:15:35 +02:00
nicolargo 4d32e07087 Stats updated during export (thread issue) #1250 2018-04-29 22:15:12 +02:00
nicolargo e3e1aaf303 Add time zone to the current time #1249 2018-04-08 14:28:39 +02:00
nicolargo aafcb63b29 Fixing horizontal scrolling #1248 2018-04-05 20:57:21 +02:00
nicolargo 7b7962f771 Grafana Dashboard is now fully dynamic 2018-04-03 21:47:15 +02:00
nicolargo 5266a62d0c New Grafana Dashboard 2018-04-02 21:54:47 +02:00
nicolargo 80db8225c4 Catch error message in Docker plugin 2018-04-02 16:41:18 +02:00
nicolargo f8f53ffc0f Correct issue on Python 3 2018-04-02 15:13:59 +02:00
nicolargo 982054becd Correct an subsampling issue on Python 3 2018-04-02 14:18:19 +02:00
nicolargo 376ce7a8e9 Glances 3.0.rc2 (with new graph generation export module 2018-04-02 14:08:48 +02:00
nicolargo 156cfbcf1a Merge branch 'issue697' into develop 2018-04-02 14:07:48 +02:00
nicolargo da75b97047 Add auto generation refresh time function 2018-04-02 14:07:23 +02:00
nicolargo 476d441c0e Subsample data for graph generation 2018-04-02 13:23:06 +02:00
nicolargo a7944969ce Add Pygal option in the configuration file 2018-03-31 15:14:38 +02:00
nicolargo 368cfd562e Graph are generated when the 'g' key is pressed 2018-03-25 10:55:52 +02:00
nicolargo 9bba5d3a8b Some change on the look and feel but CPU consumption is high... 2018-03-24 18:30:28 +01:00
nicolargo 08af7718ba Ok but too high CPU consumption 2018-03-24 17:09:10 +01:00
nicolargo 23f44c34e8 Add long (but unused) log format 2018-03-15 21:00:57 +01:00
nicolargo 37eaeed55e Merge branch 'issue1244' into develop 2018-02-25 16:22:01 +01:00
nicolargo aca953ec8f [Glances 3.0 RC1] Client/Server is broken #1244 2018-02-25 16:21:47 +01:00
nicolargo f82eb4a151 Glances 3.0 RC1 2018-02-25 15:20:48 +01:00
Nicolas Hennion 4b3e54293f
Merge pull request #1243 from notFloran/fix-webui-issues
[WebUI] fix issues with folders/port plugins
2018-02-25 15:15:19 +01:00
Floran Brutel 5ef44390fa
Support web url monitoring in web ui 2018-02-25 15:05:07 +01:00
nicolargo 2387e05bb2 Update unitest from gzip to deflate 2018-02-25 14:09:06 +01:00
nicolargo 856652a5c8 Glances crashes when mountpoint with non ASCII characters esists #1201 2018-02-25 13:41:02 +01:00
nicolargo 1bc7450e90 Merge branch 'issue1182' into develop 2018-02-25 13:05:37 +01:00
nicolargo 3d593f63fa Gzip ==> Defalte 2018-02-25 13:05:11 +01:00
nicolargo f5fbd65996 Correct Gzip compression issue on Python 3.5 2018-02-25 10:06:39 +01:00
nicolargo 15bbf22339 Merge develop branch 2018-02-24 16:34:04 +01:00
nicolargo 7dcb753015 Resolve merge issues 2018-02-24 16:32:52 +01:00
nicolargo c870195a59 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2018-02-22 21:00:01 +01:00
nicolargo 8dcc53f800 Add NEWS file concerning #1239 2018-02-22 20:59:37 +01:00
Nicolas Hennion 2aec485a39
Merge pull request #1242 from notFloran/fix1241
Fix WebUI when refresh_time is negative
2018-02-22 20:56:47 +01:00
Floran Brutel 18c8006e7b
Check refresh time, if value < 1 then use the default value 2018-02-21 13:31:14 +01:00
Floran Brutel 448dbfc4a9
Merge pull request #1239 from spike008t/feature/webpack
Migrate from gulp & bower to webpack & yarn (2)
2018-02-21 12:45:25 +01:00
Tieu-Philippe KHIM d54c5a8179 adding missing directives.js 2018-02-21 00:46:10 +01:00
Tieu-Philippe KHIM fda53bc73c remove public subfolder in public 2018-02-20 22:17:01 +01:00
Tieu-Philippe KHIM 4ee8873427 add public folder with generated assets 2018-02-20 22:08:57 +01:00
Tieu-Philippe KHIM 9e4ea4ae79 on webpack adding favicon.ico file to copy to public folder 2018-02-20 22:04:52 +01:00
Tieu-Philippe KHIM d56be12853 cleanup public folder 2018-02-20 21:51:59 +01:00
Tieu-Philippe KHIM a68e824a2b remove .gitignore on glances/output/static 2018-02-20 21:51:14 +01:00
Tieu-Philippe KHIM 50fa49eab8 on favicon.js, move the export default to the end and update simple quote to double quote 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 22d855a182 convert functions filter name to camelcase 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 6158e4f522 replace simple quote by double quote 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM f98ba66b4d remove public/favicon.ico, webpack handle the copy from image 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 73c5b61931 adding clean webpack plugin to cleanup public folder on build 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM b7db70c166 on webpack.config replace simple quote by double quote and remove angular plugin 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM bbcc1fd5d1 adding import angular, remove use strict and update simple quote to double quote 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM b08caf552d update readme.md to add yarn in build instruction 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM d7f45bfaff add package-lock.json in case of using npm 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 022751bf86 import bootstrap configuration on app 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 97a8397348 adding webpack configuration to support less 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 298e39c332 keep only needed modules on bootstrap 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 6fdc87c0a5 update quicklook-plugin with nested class 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 8ebfe2d2e1 adding bootstrap less files & variables 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 2278957c2a move style.css to style.scss 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 36dc489ee7 remove static bootstrap.css 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM e6391a20a9 adding scss and less loaders 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 55d483ff89 remove gulp stuff 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM e903a0c279 add missing export default on favicon 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 0cf6b1642a ignoring public folder 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM ac344ef66f adding package-lock.json 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 20244b0f93 update template to use glances.js file, and remove older bower stuff 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 1227b8f752 update root js 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 8032034f4b update services 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM b7c2db0e85 update components for webpack 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 87af8f1459 remove normalize because bootstrap provide it 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM bc583c0760 adding webpack.config.js 2018-02-20 21:48:48 +01:00
Tieu-Philippe KHIM 75a420ac8d remove bower and use webpack 2018-02-20 21:48:48 +01:00
nicolargo eb2566013a Add Ansible role 2018-02-20 21:32:51 +01:00
Nicolas Hennion 0117faa797
Merge pull request #1238 from nicolargo/revert-1237-feature/webpack
Revert "Migrate from gulp & bower to webpack & yarn"
2018-02-20 21:01:03 +01:00
Nicolas Hennion 13f6a57fef
Revert "Migrate from gulp & bower to webpack & yarn" 2018-02-20 21:00:45 +01:00
Nicolas Hennion 847bd63a01
Merge pull request #1237 from spike008t/feature/webpack
Migrate from gulp & bower to webpack & yarn
2018-02-20 20:58:09 +01:00
Tieu-Philippe KHIM b0adb138e7 on favicon.js, move the export default to the end and update simple quote to double quote 2018-02-19 17:25:45 +01:00
Tieu-Philippe KHIM 1ecf31c30f convert functions filter name to camelcase 2018-02-19 17:25:19 +01:00
Tieu-Philippe KHIM 3e1a369aee replace simple quote by double quote 2018-02-19 17:24:59 +01:00
Tieu-Philippe KHIM 25a08d554c remove public/favicon.ico, webpack handle the copy from image 2018-02-19 15:19:31 +01:00
Tieu-Philippe KHIM 31f434aca9 adding clean webpack plugin to cleanup public folder on build 2018-02-19 15:19:09 +01:00
Tieu-Philippe KHIM 5981dea49f on webpack.config replace simple quote by double quote and remove angular plugin 2018-02-19 15:15:31 +01:00
Tieu-Philippe KHIM bba7ea1f70 adding import angular, remove use strict and update simple quote to double quote 2018-02-19 15:15:05 +01:00
Tieu-Philippe KHIM 86adef6fbc update readme.md to add yarn in build instruction 2018-02-19 11:35:27 +01:00
Tieu-Philippe KHIM 7a0b677ae6 add package-lock.json in case of using npm 2018-02-19 11:25:15 +01:00
Tieu-Philippe KHIM befc506957 import bootstrap configuration on app 2018-02-19 10:48:13 +01:00
Tieu-Philippe KHIM 02301c6201 adding webpack configuration to support less 2018-02-19 10:47:56 +01:00
Tieu-Philippe KHIM 3ff3640cba keep only needed modules on bootstrap 2018-02-19 10:47:05 +01:00
Tieu-Philippe KHIM edefecda01 update quicklook-plugin with nested class 2018-02-19 10:42:22 +01:00
Tieu-Philippe KHIM 812b9e1599 adding bootstrap less files & variables 2018-02-19 10:26:46 +01:00
Tieu-Philippe KHIM 650dd23121 move style.css to style.scss 2018-02-19 10:26:27 +01:00
Tieu-Philippe KHIM e639fa6969 remove static bootstrap.css 2018-02-19 10:26:11 +01:00
Tieu-Philippe KHIM e310277ff5 adding scss and less loaders 2018-02-19 10:25:44 +01:00
Tieu-Philippe KHIM f460873109 remove gulp stuff 2018-02-19 09:52:07 +01:00
Tieu-Philippe KHIM 1eee8985b9 add missing export default on favicon 2018-02-19 09:52:07 +01:00
Tieu-Philippe KHIM bbaee4b478 ignoring public folder 2018-02-19 09:52:07 +01:00
Tieu-Philippe KHIM 3738ebce9f adding package-lock.json 2018-02-19 09:52:07 +01:00
Tieu-Philippe KHIM c3dc03820f update template to use glances.js file, and remove older bower stuff 2018-02-19 09:52:07 +01:00
Tieu-Philippe KHIM ca6fd5faf1 update root js 2018-02-19 09:52:07 +01:00
Tieu-Philippe KHIM 3e33056e7c update services 2018-02-19 09:52:07 +01:00
Tieu-Philippe KHIM e298c91ac6 update components for webpack 2018-02-19 09:52:07 +01:00
Tieu-Philippe KHIM 2360c0223b remove normalize because bootstrap provide it 2018-02-19 09:52:06 +01:00
Tieu-Philippe KHIM f29a75a7c9 adding webpack.config.js 2018-02-19 09:52:06 +01:00
Tieu-Philippe KHIM 46a1f7fba1 remove bower and use webpack 2018-02-19 09:52:06 +01:00
Alessio Sergi fc7af715a2 Add python_requires to setup.py
This allows pip to figure out the last compatible version with a
particular Python version before attempting to install. See
https://packaging.python.org/tutorials/distributing-packages/#python-requires.
2018-02-16 18:18:18 +01:00
Alessio Sergi ca1e27ab2e Add AppVeyor testing for Python 3.6 2018-02-16 15:56:35 +01:00
Alessio Sergi 8ecea8a6ea Enable pip cache in Travis CI
See https://docs.travis-ci.com/user/caching/#pip-cache.
2018-02-16 15:18:16 +01:00
Alessio Sergi 33bc23b490 Drop upgrade of both pip and setuptools on Travis 2018-02-16 15:06:15 +01:00
Alessio Sergi f69261f206 Use Travis container-based infrastructure
See https://docs.travis-ci.com/user/reference/overview/.
2018-02-16 14:57:13 +01:00
Alessio Sergi ee2b6154fb requirements.txt: psutil 5.4.3 2018-02-16 14:36:56 +01:00
Alessio Sergi fb20b664be Pypi -> PyPI 2018-02-15 19:50:13 +01:00
Alessio Sergi 780812d943 RESTful 2018-02-15 19:45:45 +01:00
Alessio Sergi 7364b6d4d0 's/P[Ss][Uu]til/psutil/g'
Hey, I'm just trying to be consistent.
2018-02-15 19:23:50 +01:00
Alessio Sergi 83d47a8bc9 Drop support for psutil < 5.3.0
Issue #1055 has been fixed in psutil 5.3.0 (see giampaolo/psutil#1074).
2018-02-15 18:38:25 +01:00
Nicolas Hennion 2cdc9b0b3d
Merge pull request #1236 from spike008t/fix/develop-python3-macos
fix on macOS when value is NoneType when compute the max values
2018-02-15 08:17:47 +01:00
Tieu-Philippe KHIM d9c9cfe911 fix on macOS when value is NoneType when compute the max values 2018-02-14 23:32:53 +01:00
nicolargo fe1f85b839 Resolv merge isse on NEWS file 2018-02-14 22:47:23 +01:00
Nicolas Hennion 91647bb5d1
Merge pull request #1235 from Thomaash/develop
Add a unit test for plugin's sorted stats method
2018-02-14 22:18:15 +01:00
Tomáš Vyčítal 7bd0cff0aa
Add a unit test for plugin's sorted stats method 2018-02-14 21:08:44 +01:00
nicolargo 5819b72682 Avoid Glances to crash with a IOError if duration <= 0 in the stdout display module (see https://stackoverflow.com/questions/36226054/strange-ioerror-when-time-sleep-in-python) 2018-02-13 21:38:35 +01:00
nicolargo 6096abaef9 Merge branch 'issue1168' into develop 2018-02-13 21:30:04 +01:00
nicolargo 5aa2adc3c6 Correct help message 2018-02-13 21:29:31 +01:00
Nicolas Hennion 85f5e6c8d2
Merge pull request #1232 from Thomaash/develop
Use alias aware sorting also for network devices
2018-02-13 21:27:42 +01:00
Tomáš Vyčítal 9e46e4bfaa
Use get_key instead of hardcoded names in sorted_stats 2018-02-13 21:19:40 +01:00
Tomáš Vyčítal 3a68e85d5b
Use alias aware sorting in glances_network 2018-02-12 23:08:37 +01:00
Tomáš Vyčítal 7a47c32341
Move alias aware sorting to glances_plugin 2018-02-12 23:08:12 +01:00
Nicolas Hennion f1bd304f79
Merge pull request #1229 from Thomaash/develop
Implement number and alias aware diskio sorting
2018-02-12 20:34:41 +01:00
nicolargo b091bdbb7b Add a new output mode to stdout #1168 2018-02-11 11:02:16 +01:00
Tomáš Vyčítal 56229d238a
Implement number and alias aware diskio sorting 2018-02-10 19:55:23 +01:00
nicolargo 0d029220dd Correct an issue on TIME+ on MacOS 2018-02-06 22:14:08 +01:00
nicolargo ed56a8962c Correct https://github.com/nicolargo/glances/issues/1105#issuecomment-363553788 2018-02-06 21:28:11 +01:00
nicolargo c81701525a Change the filter order name than cmdline 2018-02-06 21:18:21 +01:00
nicolargo 8784f4bbfe Correct filter error if command name/line is None 2018-02-06 21:12:50 +01:00
nicolargo 8cb9638457 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2018-01-30 20:44:58 +01:00
nicolargo a796bf5604 Correct warning message typo 2018-01-30 20:44:51 +01:00
Alessio Sergi d137d3bd26 Unconditionally use statistics module since we support Python 3.4+ now 2018-01-29 20:46:21 +01:00
Alessio Sergi 7e70b36f91 Take advantage of rich comparisons for PyPy too 2018-01-29 20:03:00 +01:00
Alessio Sergi 32425eb205 Implement rich comparisons rather than relying on __cmp__()
The __cmp__() special method is gone in Python 3 in favor of rich
comparison methods.
2018-01-29 19:19:19 +01:00
nicolargo 7a0b9bcbc9 Merge branch 'issue1224' into develop 2018-01-28 21:52:49 +01:00
nicolargo 5f52c03f44 Display debug message if dep lib is not found #1224 2018-01-28 21:52:30 +01:00
nicolargo 5fdedbf8cf Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2018-01-28 13:24:09 +01:00
nicolargo 0a607808c7 Correct issue https://github.com/nicolargo/glances/issues/1105#issuecomment-361051196 on MacOS 2018-01-28 13:24:04 +01:00
Alessio Sergi dde657290f Use PEP 440 compliant version scheme 2018-01-27 19:51:44 +01:00
Alessio Sergi 0a965c4294 standards_attr -> standard_attrs 2018-01-27 18:54:42 +01:00
Alessio Sergi cab5946959 gids is not available on Windows 2018-01-27 18:46:51 +01:00
nicolargo c1d5b96faf Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2018-01-27 14:03:34 +01:00
nicolargo 89a1afea79 Merge branch 'issue1105' into develop 2018-01-27 14:02:44 +01:00
nicolargo 631722992e Remove tree view 2018-01-27 14:01:27 +01:00
Alessio Sergi 4e606f4650 Drop support for EOL Python 3.3 2018-01-26 19:03:33 +01:00
nicolargo 9356b70c04 Reafactoring almost done. Had to remove tree view... 2018-01-25 21:37:44 +01:00
nicolargo ad032497c5 Fallback for PsUtil 2.0 2018-01-24 21:39:08 +01:00
nicolargo c2863629dd Rename docker folder to docker-files because import docker return always true... 2018-01-24 20:58:48 +01:00
nicolargo 524babd3d7 Rename docker folder to docker-files because import docker return always true... 2018-01-24 20:58:33 +01:00
nicolargo fb93c96935 Ok but miss some extended stats (see line 348) 2018-01-21 22:53:22 +01:00
nicolargo 229e8f3697 Revert the issue #1105 and create an update_NEW() function 2018-01-18 21:58:10 +01:00
nicolargo f81ccfc24d Correct an issue on MacOS and SunOS for diskIO 2018-01-18 21:43:00 +01:00
nicolargo 01c6fbe80f ZeroDivisionError in IO Rate (ProcessList) #1220 2018-01-17 11:20:25 +01:00
nicolargo 7ba8448b82 update readme docker run command #1219 2018-01-17 11:14:26 +01:00
Nicolas Hennion 0dd91b6b14
Merge pull request #1219 from oppianmatt/patch-1
update readme docker run command
2018-01-17 11:13:12 +01:00
Matthew Jacobi bb9e741445
update readme docker run command
slightly better way which:
 - doesn't leave the container around when finished
 - uses network host mode which then allows glances to show the network devices
2018-01-17 09:58:39 +00:00
nicolargo d53e80359e Merge branch 'issue1218' into develop 2018-01-17 08:32:10 +01:00
nicolargo 259dcd6d0e Nice Process Priority Configuration #1218 2018-01-17 08:31:43 +01:00
nicolargo 141999bb68 Merge branch 'issue1105' into develop 2018-01-16 22:29:36 +01:00
nicolargo 43aeb4f2e7 Merge branch 'develop' of https://github.com/nicolargo/glances into issue1105 2018-01-16 22:04:59 +01:00
nicolargo aa17412856 Remove debug message 2018-01-16 21:55:54 +01:00
nicolargo 1dbec8c8f6 Correct Max CPU MEM display 2018-01-16 21:44:33 +01:00
nicolargo 53992ff41d Workaround for KeyError: 'docker' (see mail Alessio Sergi) 2018-01-13 10:47:28 +01:00
nicolargo 8771df5a9d Merge pull request issue #1217 2018-01-11 21:09:48 +01:00
nicolargo 71b0831124 Merge branch 'alyssais-brew_install' 2018-01-11 21:08:12 +01:00
Alyssa Ross 8edc48df70
Update Homebrew installation instructions
glances itself is now packaged by Homebrew:
https://github.com/Homebrew/homebrew-core/pull/22538
2018-01-10 12:23:06 +00:00
nicolargo 411e77a23e Merge branch 'develop' of https://github.com/nicolargo/glances into issue1105 2018-01-09 21:39:40 +01:00
Nicolas Hennion 5cdda5d86b
Merge pull request #1216 from alyssais/ip_disable
Don't load public IP address if module disabled
2018-01-09 18:49:21 +01:00
nicolargo 8f7fbafa46 Max value does not work 2018-01-09 18:45:06 +01:00
Alyssa Ross b0d029baf3
Don't load public IP address if module disabled 2018-01-09 17:36:19 +00:00
nicolargo 6f62a9f2e8 Correct IO counter and max cpu/mem 2018-01-06 16:42:43 +01:00
nicolargo 9a40395efb Correct IO counter and max cpu/mem 2018-01-06 16:41:47 +01:00
Nicolas Hennion 3b0115c2ff
Merge pull request #1205 from notFloran/1200-fix-webui-sensor
WebUI now take account of --fahrenheit option
2018-01-06 12:22:51 +01:00
Floran Brutel b0dcf8b306
Build the WebUI 2018-01-06 12:05:08 +01:00
Floran Brutel c599797696 Set Fahrenheit values to 1 decimal 2018-01-06 11:28:53 +01:00
Floran Brutel cef2c043f9 WebUi now take account of --fahrenheit option 2018-01-06 11:28:52 +01:00
nicolargo fc7106c012 First rush for the issue #1105. Bug with Process IO when Glances starts 2018-01-06 11:20:50 +01:00
nicolargo 92c9b2d9a8 Add mailmap file (https://stacktoheap.com/blog/2013/01/06/using-mailmap-to-fix-authors-list-in-git/) 2018-01-01 17:43:49 +01:00
nicolargo 05066f9841 Add plugs to Glances snap 2018-01-01 10:43:34 +01:00
nicolargo 632dfac236 Fan speed sensors disable message from warning to debug 2017-12-31 11:05:28 +01:00
nicolargo afd745b7a3 Merge branch 'issue1212' into develop 2017-12-31 10:59:59 +01:00
nicolargo 78e6c8f0df Context switches bottleneck identification #1212 2017-12-31 10:56:12 +01:00
nicolargo b637c7c7e8 Disable warning message but in debug mode 2017-12-30 22:28:21 +01:00
nicolargo 35b671fa92 Merge branch 'issue1202' into develop 2017-12-30 10:37:36 +01:00
nicolargo 6300af04ad FreeBSD blackhole bug #1202 2017-12-30 10:37:21 +01:00
nicolargo f870ef85c2 Add a code of conduct for Glances project's participants #1211 2017-12-30 10:15:04 +01:00
nicolargo 568c2c5a09 Merge branch 'issue1204' into develop 2017-12-30 10:02:05 +01:00
nicolargo e354ab403a Unitaries tests are broken after merge of issue#1204 #1210 2017-12-30 10:01:50 +01:00
nicolargo a2f39c1c19 Merge branch 'issue1207' into develop 2017-12-29 22:24:53 +01:00
nicolargo e4d2756c0e Glances do not exit when eating 'q' #1207 2017-12-29 22:24:33 +01:00
nicolargo 403fd06949 Merge branch 'issue1206' into develop 2017-12-29 19:10:45 +01:00
nicolargo 1738af11d2 Remove graph export from Glances #1206 2017-12-29 19:10:25 +01:00
nicolargo 4f7f6be666 Merge branch 'issue1173' into develop 2017-12-29 18:41:00 +01:00
nicolargo 91c4f173b1 Make plugins disable and export CLI option dynamical #1173 2017-12-29 18:40:39 +01:00
nicolargo 61357ba526 Export module is now dynamic. Update doc 2017-12-28 13:01:37 +01:00
nicolargo 13e4652bf1 Add support for the --modules-list 2017-12-28 11:32:12 +01:00
nicolargo 62efccb852 Make plugin disable CLI option dynamical #1173 2017-12-27 20:21:24 +01:00
nicolargo 54b0c4e277 Add dynamic fields in all sections of the configuration file #1204 2017-12-26 17:04:57 +01:00
nicolargo 3bad3b39b6 Another encoding issue... With both Python 2 and Python 3 #1197 2017-12-17 10:46:00 +01:00
nicolargo 205bed0277 Force string in Python3 to ascii convertion 2017-12-16 16:16:54 +01:00
nicolargo 54b61fd5a0 Add a method to convert str to ascii in Python 3 2017-12-16 15:05:06 +01:00
nicolargo eef4fd7e32 Merge branch 'develop' of https://github.com/nicolargo/glances into issue1182 2017-12-02 10:59:42 +01:00
nicolargo 1a4219b208 Refactor of the standalone main loop to be sure that it take more or less refresh_time. Also add debug log to investigate some potential freeze during stats update or export 2017-11-28 22:34:03 +01:00
nicolargo bb57b3aef6 Electron/Atom processes displayed wrong in process list #1192 2017-11-26 17:59:54 +01:00
nicolargo 28fc81bd34 Remove commant 2017-11-26 16:49:14 +01:00
nicolargo 184b82aa21 Correct another issue for command line display 2017-11-26 16:48:33 +01:00
nicolargo 5654a28706
Change PGP key 2017-11-26 09:46:26 +01:00
nicolargo c5253c3d16 Electron processes displayed wrong in process list (remove debug message) #1192 2017-11-25 12:14:33 +01:00
nicolargo 7278de5cc5 Electron processes displayed wrong in process list (second round) #1192 2017-11-25 12:14:00 +01:00
nicolargo 42ee99e62e Merge branch 'issue1192' into develop 2017-11-25 09:49:32 +01:00
nicolargo c799605da5 Electron processes displayed wrong in process list #1192 2017-11-25 09:49:11 +01:00
nicolargo ea6093cb61 Change default max sizebar size 2017-11-22 20:49:55 +01:00
nicolargo d367cc012b Another try for issue#1185 2017-11-16 21:12:14 +01:00
nicolargo 6260f193cd KeyError: 'memory_info' on stats sum #1188 2017-11-16 20:53:25 +01:00
nicolargo dffd810989 Merge branch 'develop' of https://github.com/nicolargo/glances into issue1182 2017-11-14 22:03:57 +01:00
nicolargo 9c3c4baf5a Correct an issue if Docker exists but no container running 2017-11-14 21:58:17 +01:00
nicolargo 43420c8797 Merge branch 'develop' of https://github.com/nicolargo/glances into issue1182 2017-11-14 21:46:29 +01:00
nicolargo dde5215e5d 'ascii' codec can't encode character u'\U0001f4a9' in position 4: ordinal not in range(128) #1185 2017-11-14 21:42:33 +01:00
nicolargo a47bf1a76b Added using locale settings to encode wifi ssid. Replace any unknown … #1186 2017-11-14 21:41:25 +01:00
nicolargo 13674d57b6 Works fine in Python 2 but Internal Server Error with Python 3... 2017-11-12 17:23:31 +01:00
nicolargo 59a5400118 Add Gzip support to unitaries tests 2017-11-09 21:32:07 +01:00
nicolargo 53d180c4a8 Add Fossa badge 2017-11-09 20:23:25 +01:00
nicolargo d37546c074 Implement Gzip compression on the server side. Test Ok with Curl but the Web UI did not work anymore... 2017-11-05 17:14:20 +01:00
nicolargo acbd9fade4 Refactor Curses 2017-11-04 09:42:27 +01:00
nicolargo 08e41ce943 OS specific arguments should be documented and reported #1180 2017-11-03 11:58:32 +01:00
nicolargo 25cdc370c5 Report from master of the PR: Add missing mount-observe and system-observe interfaces #1179 2017-11-02 21:08:24 +01:00
Nicolas Hennion 7a0b7e85ae
Merge pull request #1179 from evandandrea/fix-snap-plugs
Add missing mount-observe and system-observe interfaces
2017-11-02 21:06:03 +01:00
nicolargo 635a652694 Hide an log message in the Glances cloud plugins 2017-11-02 21:05:14 +01:00
nicolargo 83e950fc3f Make the left side bar width dynamic in the Curse UI #1177 2017-11-01 18:55:09 +01:00
nicolargo da5bb38d47 Job done for plugins IRQ, RAID, Folders and Port 2017-11-01 18:53:59 +01:00
nicolargo 09281ae72e Remove debug message 2017-10-31 07:32:52 +01:00
Evan Dandrea 6f0fff533e Add missing mount-observe and system-observe interfaces. 2017-10-30 19:40:43 +00:00
nicolargo 5af24e8b93 Make the left side bar width dynamic in the Curse UI #1177 - First run 2017-10-29 11:31:06 +01:00
nicolargo 71afcfc3c0 Correct an issue on Docker Status 2017-10-28 13:25:11 +02:00
nicolargo 6f446fafb7 Docker plugin WebUI is broken in the latest DEVELOP branch #1174 2017-10-28 11:26:11 +02:00
nicolargo dbfeb97715 Merge branch 'issue1170' into develop 2017-10-27 22:37:15 +02:00
nicolargo 9d16fbb74c Crash on startup: KeyError: 'hz_actual_raw' on Raspbian 9.1 #1170 2017-10-27 22:36:52 +02:00
nicolargo 5568278752 NameError: name 'mode' is not defined in case of interrupt shortly after starting the server mode #1175 2017-10-27 22:17:42 +02:00
nicolargo 34f681bbc4 Merge branch 'issue1176' into develop 2017-10-27 22:07:35 +02:00
nicolargo 214a0d8549 Key error 'address' in the IP plugin #1176 2017-10-27 22:07:11 +02:00
nicolargo 9a0c148eb5 unable to install with pip #1088 2017-10-27 21:48:10 +02:00
nicolargo cfc85b80cb nicolargo/glances:latest breaks docker plugin #1174 2017-10-25 10:15:34 +02:00
nicolargo 61ad7b417d Update Grafana Dashboard 2017-10-25 10:01:33 +02:00
nicolargo a9a70288db The minimum supported API version is now 1.21 (Engine version 1.9.0+) 2017-10-25 09:28:20 +02:00
Nicolas Hennion 40c5eca86a Merge pull request #1172 from python33r/patch-1
Fixes a link rendering problem in load.rst
2017-10-23 15:56:47 +02:00
Nick Efford 3eb8fe092e Fixes a link rendering problem in load.rst
Fixes a typo that prevented 'load on BSD' from rendering properly as a link.
2017-10-23 14:10:41 +01:00
nicolargo 858232b24f Merge branch 'issue1166' into develop 2017-10-17 21:32:36 +02:00
nicolargo 5c96f29815 Refactor InfluxDB (API is now stable) #1166 2017-10-17 21:32:15 +02:00
nicolargo 00386aa164 Docstings of plugins are now PEP 257 compliant 2017-10-15 17:42:36 +02:00
nicolargo 1114e1289c Update NEWS file 2017-10-15 10:25:42 +02:00
nicolargo 20d090ab8f Merge branch 'issue1165' into develop 2017-10-15 10:15:13 +02:00
nicolargo 6b2425eeb8 Add a light mode for the console UI #1165 2017-10-15 10:14:56 +02:00
nicolargo 3715d0518a Update docs 2017-10-12 11:33:06 +02:00
nicolargo 10307b7993 Merge branch 'issue1149' into develop 2017-10-12 11:28:54 +02:00
nicolargo fec8c8e963 A way to have only REST API available and disable WEB GUI access #1149 2017-10-12 11:28:34 +02:00
nicolargo 54449653bb Merge branch 'issue1151' into develop 2017-10-12 10:46:25 +02:00
nicolargo f90c947ca1 Crash in the Wifi plugin on my Laptop #1151 2017-10-12 10:46:06 +02:00
nicolargo 2fdf249aa1 Merge branch 'issue1152' into develop 2017-10-12 10:33:33 +02:00
nicolargo bd3ba65682 Docker module doesn't export details about stopped containers #1152 2017-10-12 10:33:18 +02:00
nicolargo 713e2aad07 Merge branch 'issue1160' into develop 2017-10-12 09:37:32 +02:00
nicolargo bec52c9722 glances_plugin.py has a problem with specific docker output #1160 2017-10-12 09:37:16 +02:00
Nicolas Hennion 1e2abf713a Merge pull request #1158 from mendelgusmao/develop
Prevent data truncation when receiving data from hddtemp server
2017-10-10 22:43:22 +02:00
nicolargo 16a55836eb Correct an issue if the docker lib is not installed 2017-10-03 22:27:40 +02:00
nicolargo 9e8f311ed0 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2017-10-03 22:18:34 +02:00
nicolargo eb3cd8fd20 Support for Docker API < 2.0 is deprecated (docker plugins) 2017-10-03 22:18:13 +02:00
MendelGusmao 4bc25e5314 Prevent data truncation when receiving data from hddtemp server 2017-10-01 20:42:22 -03:00
Nicolas Hennion b263e315ab Merge pull request #1154 from ivernus/develop
Update README.rst
2017-09-30 09:51:14 +02:00
nicolargo 98716b551b Merge branch 'issue1156' into develop 2017-09-30 09:49:49 +02:00
nicolargo fd5e5e863d Failed to connect to bus: No such file or directory #1156 2017-09-30 09:48:15 +02:00
Conor O'Callaghan 70f4ae676b Update README.rst
Minor updates to the README to make it a bit more readable.
2017-09-21 12:26:43 +01:00
Nicolas Hennion e3f2b1bbe2 Merge pull request #1153 from Webysther/patch-2
Add link to config
2017-09-20 21:27:53 +02:00
Webysther Nunes 61793766fa Add link to config 2017-09-20 16:25:40 -03:00
nicolargo 8b57d9508b Udpate version for release 2.11.1 2017-09-09 10:29:37 +02:00
nicolargo c7172ced62 Udpate doc for release 2.11.1 2017-09-09 10:29:10 +02:00
nicolargo 4a0e175ad6 Report Client and Quiet mode don't work together (issue #1139) 2017-09-09 10:23:13 +02:00
nicolargo 372d3faf79 Client and Quiet mode don't work together (issue #1139) 2017-09-09 10:19:32 +02:00
nicolargo 90a36aaea3 Report issue [WebUI] Sensors not showing on Web (issue #1142) 2017-09-09 10:09:17 +02:00
Nicolas Hennion 042c14608a Merge pull request #1144 from nclsHart/fix-1142
[Web UI] Fix sensors plugin not displayed
2017-09-09 09:58:34 +02:00
Nicolas Hart 6cb56c932d fix sensors plugin not displayed in web UI 2017-09-06 23:38:50 +02:00
nicolargo caa60677f7 Creation of the maintenance branche for Glances 2.x 2017-09-06 15:41:54 +02:00
nicolargo 6866eeb3a4 Let's start Glances 3.x 2017-08-27 14:04:17 +02:00
nicolargo 7fc0f887e4 Merge branch 'master' into develop 2017-08-27 13:58:18 +02:00
nicolargo ad4763eb43 Update version and doc for Glances 2.11 2017-08-27 13:57:54 +02:00
nicolargo 533308697e Update documentation 2017-08-15 09:06:26 +02:00
nicolargo 45f530c507 Improve documentation 2017-08-01 22:44:01 +02:00
Nicolas Hennion caeb07192a Merge pull request #1130 from dsouzajude/export-json
Export json
2017-08-01 22:34:37 +02:00
Jude 12ae670811 Add JSON export plugin 2017-08-01 19:19:14 +02:00
nicolargo 38d6687480 Correct issue in the Restful exporter documentation 2017-07-30 11:14:18 +02:00
nicolargo fe475c3cee Merge branch 'issue1129' into develop 2017-07-30 11:06:10 +02:00
nicolargo 4ffad89e8b New export plugin: standard and configurable Restfull exporter #1129 2017-07-30 11:05:49 +02:00
nicolargo 23676e1d76 One post only 2017-07-30 09:57:54 +02:00
nicolargo e372fa2b07 First implementation, need answer https://github.com/nicolargo/glances/issues/1129#issuecomment-318489088 2017-07-27 23:18:59 +02:00
nicolargo 00531b5d24 on mountpoints with non-breaking spaces #1128 2017-07-27 15:07:47 +02:00
nicolargo ca563cac7a Merge branch 'issue1126' into develop 2017-07-24 08:48:31 +02:00
nicolargo 4478faf984 Solve issue with hide and upper case in the network interface (issue #1126) 2017-07-24 08:48:15 +02:00
nicolargo 7e9b66128b Solve issue with alias and upper case in the network interface (issue #1126) 2017-07-24 08:42:41 +02:00
nicolargo 86c7b1339d Merge branch 'issue1113' into develop 2017-07-09 18:49:34 +02:00
nicolargo 36c98e0935 Cant move up or down in glances --browser #1113 2017-07-09 18:49:19 +02:00
nicolargo b3e20496e4 Merge branch 'issue1120' into develop 2017-07-08 11:04:59 +02:00
nicolargo c0118691f4 PermissionError on macOS #1120 2017-07-08 11:04:30 +02:00
nicolargo 3d9b08674d Update docs for load on BSD system (see issue #1116) 2017-06-27 21:13:26 +02:00
nicolargo 74a56e078b Correct Snap for PsUtil 2017-06-25 10:17:12 +02:00
nicolargo 4a4682d5c7 Update NEWS file 2017-06-24 18:54:32 +02:00
nicolargo 8cb4cc8ecb Correct PsUtil URL error in Snap file 2017-06-24 18:52:55 +02:00
nicolargo f6e1fbd36a First snamp with PsUtil and Bottle 2017-06-24 18:47:16 +02:00
Nicolas Hennion 83c596f86c Merge pull request #1115 from vpoverennov/fix_web_min_size_arg
fix disk min_size to 9 characters in web ui
2017-06-23 21:37:54 +02:00
Nicolas Hennion a9584b11db Merge pull request #1114 from vpoverennov/fix_min_size
fix min_size to not output string with more than max characters
2017-06-23 21:37:16 +02:00
Nicolas Hennion 2724c5d917 Merge pull request #1108 from GoMapur/develop
Python encoding in python2 and python3
2017-06-23 21:36:29 +02:00
Vasiliy Poverennov 5642cc335c fix disk min_size to 9 characters in web ui 2017-06-23 03:47:32 +03:00
Vasiliy Poverennov 6e679ee1d3 fix min_size to not output string with more than max characters 2017-06-23 03:41:29 +03:00
nicolargo aca2d5d5d1 GPU plugin. <class 'TypeError'>:b'GeForce GTX 1070' is not JSON serializable> #1112 2017-06-21 21:55:00 +02:00
Mingjian Lu 38310a5ec3 Python encoding in python2 and python3
In python2, binary type is native string type, so function b and nativestr should be the same. In python3, unicode is native string and binary is encoded unicode type. Now the question comes, why do we encode unicode string in python3 by encode('latin-1') instead using utf-8?
2017-06-13 17:13:59 -04:00
nicolargo 7547ab9acf glances_network #1106 2017-06-13 20:21:44 +02:00
nicolargo 595c329142 Update NEWS file 2017-06-05 21:05:03 +02:00
Nicolas Hennion 0d8e75f38b Merge pull request #1104 from notFloran/webui-fix-issues
[WebUI] Fix duplicated containers and wifi style
2017-06-05 20:19:21 +02:00
Floran Brutel 14584442ff Fix duplicated containers and wifi style in the webui 2017-06-05 19:22:15 +02:00
Nicolas Hennion 949d29a472 Merge pull request #1103 from notFloran/webui-move-to-components
[WIP] Refactoring of the WebUI
2017-06-05 17:50:21 +02:00
Floran Brutel f5905ba599 Reformat all webui codes 2017-06-05 13:24:48 +02:00
Floran Brutel a339de5a23 Move dynamic title out of the glancesStats 2017-06-05 13:21:32 +02:00
Floran Brutel 6cbf768c97 Complete the webui readme with more infos 2017-06-05 13:13:11 +02:00
Floran Brutel 82ac0c935d Optimize percpu and quicklook plugin in the webui 2017-06-05 12:40:30 +02:00
Floran Brutel 4cc41f1730 Change auto refresh system to allow init of components with initial data 2017-06-05 12:24:40 +02:00
Floran Brutel b39625a22b Update anatomy of the webui in the readme 2017-06-05 10:36:55 +02:00
Floran Brutel db2534b25c Re-implements missing plugins 2017-06-05 10:28:44 +02:00
Floran Brutel 17adb57ace Remove routing system of angular 2017-06-05 09:57:43 +02:00
Floran Brutel 7f45a0af31 re-apply "[Web UI] hide cpu nice and mem active/inactive which are not avaible under windows 10" 2017-06-04 20:18:34 +02:00
Floran Brutel 72aec2ec1c Re-implement docker plugin in the webui 2017-06-04 20:05:17 +02:00
Floran Brutel 3fa0204153 Apply previous fix "remove domain from username in processlist" 2017-06-04 19:50:40 +02:00
Floran Brutel 8463445e2c Add amp plugin in the webui 2017-06-04 19:28:33 +02:00
Floran Brutel 8747df4d23 Re-implement hotkets system in the webui 2017-06-04 19:22:46 +02:00
nicolargo 7d697b885f Update InfluxDB / Grafana documentation 2017-06-04 17:02:55 +02:00
nicolargo 41f3aef998 Update InfluxDB / Grafana documentation 2017-06-04 17:02:45 +02:00
Floran Brutel 490cb9d61a re-implement dynamic title in the webui 2017-06-04 16:44:59 +02:00
Floran Brutel 1ff6d97b22 Set CONFIG and ARGUMENTS as value in angular 2017-06-04 14:54:35 +02:00
Floran Brutel a13b64d3e8 Use event system to alert on disconnection 2017-06-04 12:39:02 +02:00
Floran Brutel fb80560661 use event system to redure memory usage of the webui 2017-06-04 12:34:51 +02:00
nicolargo a8e01cce3f Update Grafana dashboard with sensors 2017-06-04 12:27:03 +02:00
nicolargo 1236ebaaee Use nvidia-ml-py3 instead of nvidia-ml-py 2017-06-03 09:58:47 +02:00
nicolargo b6e5d6795a Installing GPU plugin crashes entire glances #1102 2017-06-03 09:24:34 +02:00
Floran Brutel f415f8e511 Change the polling system of the api in the webui 2017-06-02 21:24:18 +02:00
nicolargo 5c82eaf6e2 Update documentation 2017-05-31 10:06:33 +02:00
nicolargo 233ebc9608 Correct Travis IC
(cherry picked from commit 5b3b7984e7)
2017-05-30 21:24:44 +02:00
Floran Brutel 7b2cac0f2f Init hotkeys system 2017-05-30 14:02:30 +02:00
Floran Brutel 09758fa713 Remove old process list 2017-05-30 13:22:19 +02:00
Floran Brutel cadcee2abf Fix sorting of the process list in the webui 2017-05-30 12:35:41 +02:00
Floran Brutel f2f71ef6eb WebUI : html5 mode of angular is now disabled to fix all problems of reverse proxy 2017-05-30 12:20:50 +02:00
Floran Brutel 5aac34fd4d WebUI: better handling of arguments/config/help 2017-05-30 12:20:50 +02:00
Floran Brutel 723624429a WebUI : fix display issue with the left bar 2017-05-30 12:20:50 +02:00
Floran Brutel 0a11972a7c webui : Migrate the processlist 2017-05-30 12:20:50 +02:00
Floran Brutel f084bf5d4a webui: move more plugins to components 2017-05-30 12:20:50 +02:00
Floran Brutel 98d7a0b18e WebUI: move mem/mem-more, network,percpu and quicklook to component 2017-05-30 12:20:50 +02:00
Floran Brutel e4324eb84c WebUi : Create components for help / cpu and cloud 2017-05-30 12:20:50 +02:00
Floran Brutel 014a653417 migrate the load plugin 2017-05-30 12:20:50 +02:00
Floran Brutel 27184adc6d Init big refactoring of the web ui to move to components 2017-05-30 12:20:50 +02:00
nicolargo 5b3b7984e7 Correct Travis IC 2017-05-29 06:57:29 +02:00
Nicolas Hennion 190c3157bc Merge pull request #1100 from micmejia/feature/change-def-username-realm
add option to change default username and realm
2017-05-29 06:44:52 +02:00
Nicolas Hennion 8e3241bab1 Merge pull request #1099 from nicolargo/revert-1098-feature/change-def-username-realm
Revert "add option to change default username and realm"
2017-05-28 17:19:32 +02:00
Nicolas Hennion 4b12de0484 Revert "add option to change default username and realm" 2017-05-28 17:19:20 +02:00
Nicolas Hennion 52e0cca5d2 Merge pull request #1098 from micmejia/feature/change-def-username-realm
add option to change default username and realm
2017-05-28 17:18:15 +02:00
micmejia f60c8b7d24 add option to change default username and realm 2017-05-26 22:23:16 +08:00
nicolargo 9aa209d518 On the road on the version 2.10.1 or 2.11... 2017-05-26 16:20:10 +02:00
nicolargo 903074a1eb Merge branch 'master' into develop 2017-05-26 16:14:29 +02:00
nicolargo 2c9e939637 Update doc for Glances 2.10 2017-05-26 16:14:23 +02:00
nicolargo 6d333b5e4a Optimize CPU ctx display 2017-05-20 15:43:23 +02:00
nicolargo fbe3a3b083 Merge branch 'issue1092' into develop 2017-05-20 11:00:50 +02:00
nicolargo 22e69d870c When exporting, uptime values loop after 1 day #1092 2017-05-20 11:00:17 +02:00
nicolargo dc20a08e7d Update manual for Android device 2017-05-16 10:46:06 +02:00
nicolargo 5183f0a238 PEP8... 2017-05-14 11:47:38 +02:00
nicolargo 089b3403be Update unitest with getViewsCpu 2017-05-14 11:46:23 +02:00
nicolargo 996414e829 Add getViews<plugin>() method for then XML API, first step for the issue977 2017-05-10 14:52:32 +02:00
nicolargo 5f4b92b88c Remove debug message 2017-05-10 13:59:02 +02:00
nicolargo 44f24f67bb Revert "Enhance Glances browser color (issue #977)"
This reverts commit efaadb4b2a.
2017-05-08 22:37:27 +02:00
nicolargo efaadb4b2a Enhance Glances browser color (issue #977) 2017-05-08 22:30:45 +02:00
nicolargo 4ac8368002 Update documetation 2017-05-08 09:46:40 +02:00
nicolargo b91241c47f Optimize CPU CTX display on the curse interface 2017-05-07 15:39:03 +02:00
nicolargo 2baf0d1de4 Correct an issue on alert display for CPU and LOAD 2017-05-07 15:18:48 +02:00
nicolargo 23235b310b Update docs strings 2017-05-06 18:10:44 +02:00
nicolargo 9e6c843723 Update docs strings 2017-05-06 18:09:02 +02:00
nicolargo c26ad16dfe Change alret global message 2017-05-02 21:19:19 +02:00
nicolargo 5d647aea3f No Offline status for timeouted ports? #1084 2017-05-01 21:10:05 +02:00
nicolargo 3c42bb929b Correct an issue on unitest with PY3 2017-04-30 22:29:02 +02:00
nicolargo 32d5047d30 TypeError: string indices must be integers (Network plugin) (issue #1054) 2017-04-30 18:34:45 +02:00
nicolargo ca4d615fe5 Add thresholds min value to avoid message on careful threashold 2017-04-23 20:54:13 +02:00
nicolargo d83e8646b0 First step of the decision tree 2017-04-18 23:36:02 +02:00
nicolargo 14d07ae5d1 Create the Glances threshold dict 2017-04-17 19:24:00 +02:00
nicolargo a2f97d56d3 Implement Threasholds classes 2017-04-17 15:47:33 +02:00
nicolargo 822a0735dd Update conf file 2017-04-17 14:41:48 +02:00
nicolargo 056acb778d Correct issue with Python 3.3. Statistics lib is only available for Python 3.4 or higher 2017-04-15 09:14:07 +02:00
Nicolas Hennion e02c76a167 Merge pull request #1080 from nclsHart/webui-improve-windows-10
[Web UI] Improve Windows 10
2017-04-15 09:09:36 +02:00
Nicolas Hart 32a89419e5 [Web UI] remove domain from username in processlist 2017-04-14 22:41:59 +02:00
Nicolas Hart 25ee7bab66 [Web UI] hide cpu nice and mem active/inactive which are not avaible under windows 10 2017-04-14 22:26:01 +02:00
nicolargo 7e9fbd16d8 Merge branch 'issue952' into develop 2017-04-10 18:38:45 +02:00
nicolargo 6d0fe0f708 Add new repeat function to the action (issue #952) 2017-04-10 18:38:23 +02:00
nicolargo e9260c3d6f Improve error message as asked in issue #1078 2017-04-10 15:26:11 +02:00
nicolargo b848ef9d37 Update Readme file 2017-04-08 18:38:39 +02:00
nicolargo 3579210abe Update Readme file 2017-04-08 18:37:18 +02:00
nicolargo 38f3be0bda Merge branch 'issue981' into develop 2017-04-08 15:50:46 +02:00
nicolargo 1adbb2bb2a New plugin to scan remote Web sites (URL) (issue #981) 2017-04-08 15:50:20 +02:00
nicolargo 9b71b377d8 Merge branch 'issue1077' into develop 2017-04-03 10:20:11 +02:00
nicolargo 6058ee2fca Add trend screenshot 2017-04-03 10:19:20 +02:00
nicolargo ae74ab21c5 Update docs 2017-04-03 10:15:52 +02:00
nicolargo 9cc3f9a196 Remove double space in the SWAP plugin 2017-04-03 08:56:01 +02:00
nicolargo 4eac03d1a3 mRemove debug message 2017-04-03 08:54:42 +02:00
nicolargo 47c6bcc2f9 Add trends in the Curses interface #1077 2017-04-02 23:02:13 +02:00
nicolargo 130cd2961a Merge branch 'issue1075' into develop 2017-04-02 14:52:50 +02:00
nicolargo 614441eba9 Use -> and <- arrows keys to switch between processing sort (issue #1075) 2017-04-02 14:52:35 +02:00
nicolargo 6916f7c41e Improve code quality 2017-04-01 22:56:41 +02:00
nicolargo 67485845bf Correct an issue on unicode for Python 3 2017-04-01 22:18:56 +02:00
nicolargo 7e66e1de03 Merge branch 'issue1065' into develop 2017-04-01 22:03:57 +02:00
nicolargo b7326b82fa Problem with non breaking space in file system name #1065 2017-04-01 22:03:41 +02:00
nicolargo 4a2826669b Merge branch 'issue1068' into develop 2017-04-01 21:39:09 +02:00
nicolargo 20f814a03c Some FS and LAN metrics fail to export correctly to StatsD (issue #1068) 2017-04-01 21:37:54 +02:00
nicolargo 201d6ddb00 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2017-03-31 22:01:51 +02:00
nicolargo cc06451cc0 StatsD export prefix option is ignored #1074 2017-03-31 22:01:04 +02:00
Alessio Sergi 0adf139256 Drop environment markers from setup.py
This commit does *not* fix any bug, but users keep reporting it as such
while they simply use a very old setuptools. *sigh*
2017-03-31 12:52:07 +02:00
Nicolargo 51c90c4a1f After version 2.9.1 2017-03-29 12:02:08 +02:00
Nicolargo 26c94aeb08 version 2.9.1 2017-03-29 11:59:44 +02:00
Nicolas Hennion ddef042da6 Merge pull request #1073 from Drewsif/bugfix
Remove extra } in format string
2017-03-29 11:57:13 +02:00
Drew Bonasera c4d944fe37 Remove extra } in format string 2017-03-29 05:22:18 -04:00
nicolargo a997733fc3 Add export message for statsd 2017-03-28 22:44:28 +02:00
nicolargo 1b8f955ec8 Merge branch 'issue1071' into develop 2017-03-28 21:22:36 +02:00
nicolargo 42bc667c3f Glances PerCPU issues with Curses UI on Android (issue #1071) 2017-03-28 21:22:04 +02:00
nicolargo ceba55d7b6 Try to correct unitest error on Windows OS 2017-03-27 20:12:15 +02:00
nicolargo e3d7dd26d3 Refactor main.py. No longer need to change it if a new plugin is added (except for the command line) 2017-03-27 17:54:02 +02:00
nicolargo 9ca9665d7f After 2.9.0 2017-03-27 17:25:17 +02:00
nicolargo a116628c6f Glances 2.9 2017-03-27 17:17:15 +02:00
nicolargo 0e8485a461 Merge branch 'issue1067' into develop 2017-03-27 17:00:03 +02:00
nicolargo 6ef3976358 On Windows --export-statsd terminates immediately and does not export. #1067 2017-03-27 16:59:12 +02:00
nicolargo ae4abc3c07 Update README file with latest exports modules 2017-03-27 11:05:43 +02:00
nicolargo 4825f2e465 Merge branch 'issue1066' into develop 2017-03-27 09:08:17 +02:00
nicolargo 621d708b8b glances-version.db Permission denied #1066 2017-03-27 09:08:01 +02:00
nicolargo 9b1f54bdff Merge branch 'issue858' into develop 2017-03-25 18:05:55 +01:00
nicolargo 6dd035baf3 Update doc for the Kafka export module 2017-03-25 18:04:44 +01:00
nicolargo 70eb8013ea Add Kafka export plugin #858 2017-03-25 18:02:42 +01:00
nicolargo e568bcfe4e Merge branch 'issue1061' into develop 2017-03-23 21:02:02 +01:00
nicolargo dedc025864 Sensor values don't refresh since psutil backend #1061 2017-03-23 21:01:44 +01:00
nicolargo db0f61068c Crashs after long time running the glances --browser (recursion exceeded) #1059 2017-03-22 21:36:54 +01:00
nicolargo 5a12dffb58 Change error message when Plugin init failed 2017-03-21 21:35:17 +01:00
nicolargo 285dcd5b43 Improve error catching while init Plugins 2017-03-20 17:45:08 +01:00
nicolargo 006e33e697 Fails to start, OSError in sensors_temperatures #1057 2017-03-20 14:21:21 +01:00
nicolargo 47485d2e85 Update docs 2017-03-19 17:59:21 +01:00
nicolargo 021d460326 Implement ok of the Promotheus Exporter, need to add the plugin documentation 2017-03-19 10:42:01 +01:00
nicolargo c41f74f579 Glances v2.8.7 issues with Curses UI on Android (issue #1053) 2017-03-15 22:42:46 +01:00
nicolargo 1f6f7cd3e7 Correct issue if args.client is None (related to issue #996) 2017-03-15 21:59:38 +01:00
nicolargo 0477e6e6aa Add the procedure to install Glances on Android 2017-03-15 21:56:58 +01:00
nicolargo b4922202c1 Port in the -c URI #996 2017-03-15 21:39:27 +01:00
nicolargo 8080ebab66 Merge branch 'issue1055' into develop 2017-03-15 21:16:46 +01:00
nicolargo 686dda1121 FreeBSD: If oid 'hw.acpi.battery' not present, Glances wont start #1055 2017-03-15 21:14:59 +01:00
nicolargo f568daa3cc Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2017-03-15 21:08:52 +01:00
nicolargo 9a46f08595 Merge branch 'issue1050' into develop 2017-03-15 21:07:14 +01:00
nicolargo 731a72e708 Refactor __init__ and main scripts #1050 - Need to find a way to kill server when CTRL-C 2017-03-15 21:06:52 +01:00
Alessio Sergi 937f2faf9a Update doc 2017-03-12 18:52:17 +01:00
nicolargo 75f7515487 Update NEWS file 2017-03-12 18:23:09 +01:00
nicolargo 23a65b56f2 after commit 2.8.8 2017-03-12 18:17:40 +01:00
nicolargo a1acfef0ab Version 2.8.8 2017-03-12 18:15:27 +01:00
Alessio Sergi 3f0094faec Drop requests to check for outdated Glances version 2017-03-12 17:32:43 +01:00
Alessio Sergi 7ecafebdc7 Fix the exception handling of WindowsError (#1021)
On Python 3 EnvironmentError is an alias for OSError. On Python 2
WindowsError is a subclass of EnvironmentError.
2017-03-12 12:10:12 +01:00
nicolargo c095535946 after 2.8.7 2017-03-12 07:50:46 +01:00
nicolargo 4dd873ac0e Version 2.8.7 2017-03-12 07:38:03 +01:00
nicolargo 0e66c6b23e After 2.8.6 2017-03-11 18:25:10 +01:00
nicolargo 43f7eb43f5 Global name standalone not defined (#1030) 2017-03-11 18:21:39 +01:00
nicolargo 17d6318ed5 Manage catch error on old PsUtil version 2017-03-11 08:25:08 +01:00
nicolargo afb2f0de07 After 2.8.5 2017-03-10 20:29:28 +01:00
nicolargo d6ed0e17c2 Glances 2.8.5 2017-03-10 20:26:26 +01:00
nicolargo 61d173c803 Clod plugin error Name 'requests' is not defined #1047 2017-03-10 20:17:59 +01:00
nicolargo ce51f3e8d1 Avoid NameError if requests is not installed. Do not correct isssue#1047 2017-03-10 20:14:31 +01:00
nicolargo 53d7f1274d Next version.. after 2.8.4 2017-03-09 21:45:04 +01:00
nicolargo a53965ae9a Glances 2.8.4 - Update NEWS file 2017-03-09 21:29:35 +01:00
nicolargo d4649264de Glances 2.8.4 2017-03-09 21:28:13 +01:00
nicolargo 6c6d5797de Correct test issue on Travis CI 2017-03-09 21:23:35 +01:00
nicolargo 32bd04088f On the orad of the next version 2.8.4 or 2.9. Who know ? 2017-03-09 21:09:51 +01:00
nicolargo 3f6257abdf Glances 2.8.3 2017-03-09 20:21:21 +01:00
nicolargo 4434a23b0f Glances crash on RPi 1 running ArchLinuxARM #1046 2017-03-08 21:26:27 +01:00
nicolargo 34e5c4c699 Merge branch 'sensors_battery' into develop 2017-03-07 18:57:55 +01:00
nicolargo 13adb3b781 Use psutil.sensors_battery() as a backup of batinfo 2017-03-07 18:57:37 +01:00
Alessio Sergi 331f2372a7 Add timeout to outdated too 2017-03-06 17:14:01 +01:00
Alessio Sergi f3429c5e05 Handle crash when no gateway is available (offline machines) 2017-03-06 16:23:56 +01:00
Alessio Sergi 177c534254 Fix debug message 2017-03-06 14:39:53 +01:00
Alessio Sergi d2db1fb685 Fix "'break' outside loop" and remove unused exception 2017-03-06 14:37:29 +01:00
nicolargo 4cec1025da Ready to be tested. Glances 2.8.3_RC1 2017-03-05 20:29:07 +01:00
nicolargo cc1dd36e94 Add timeout to requests requets... 2017-03-05 20:13:34 +01:00
nicolargo 89e4d1f11f Cloud plugin: Do not get all URL if first one failed 2017-03-05 16:02:35 +01:00
Nicolas Hennion 411d22d047 Merge pull request #1045 from notFloran/webui-fix-fs-mountpoint-too-long
[WebUI] Cut mount point if it's too long
2017-03-05 13:30:38 +01:00
Floran Brutel 30dd8f7d02 Cut mount point if is too long in the web ui 2017-03-05 13:12:46 +01:00
nicolargo 01a9ac9552 Remove test comment introduce in #1044 2017-03-05 13:08:14 +01:00
Nicolas Hennion c416136070 Merge pull request #1044 from notFloran/webui-cloud
Integrate the new cloud plugin in the webUI
2017-03-05 13:00:11 +01:00
nicolargo 5ee81bc9c3 Merge branch 'psutilfans' into develop 2017-03-05 12:56:27 +01:00
nicolargo f797bee738 Add fans support thanks to PsUtil 5.2.0 2017-03-05 12:56:12 +01:00
Floran Brutel c8ffd34d72 Integrate the new cloud plugin in the webUI 2017-03-05 12:52:56 +01:00
nicolargo e2804a6010 Add requests as a prerequisite for Cloud plugin 2017-03-02 21:03:51 +01:00
nicolargo 2d73480312 Correct b to s convertion in the Cloud Plugin (Python 3) 2017-03-02 20:59:15 +01:00
nicolargo ea8a50b3c9 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2017-02-28 21:59:16 +01:00
nicolargo 42fbf2063b Add instance and replace ami per instance in the Cloud AWS plugin 2017-02-28 21:58:50 +01:00
Alessio Sergi 2b3ebb5885 Fix formatting for CPU stats documentation 2017-02-23 12:52:35 +01:00
Alessio Sergi 932f8ee841 Add CONFIGURATION section to man page 2017-02-23 11:23:43 +01:00
Alessio Sergi 7ad5b2e6e8 Improve documentation about TEMP on Windows 2017-02-23 11:18:33 +01:00
Alessio Sergi fef6f8a860 Use triple quotation marks for epilog 2017-02-22 19:43:28 +01:00
Alessio Sergi f5bbd9ed4d Do not use backslash for line continuation
The preferred way of wrapping long lines is by using Python's implied
line continuation inside parentheses.

Fix wrong indentation too.
2017-02-22 16:12:46 +01:00
Alessio Sergi 257a5a3d7b Fix regression introduced which broke config (#1038)
On Windows, fallback to %APPDATA% if %LOCALAPPDATA% doesn't exist.
2017-02-22 12:54:12 +01:00
nicolargo 3bb1ced681 Add some options on Windows 2017-02-21 16:33:06 +01:00
nicolargo 9cee73212a Glances --export-influxdb starts webserver (#1038) 2017-02-20 17:51:53 +01:00
nicolargo 88a6091a96 Correct issue in the cloud plugin, do not retreive the good data in the API again 2017-02-12 19:26:02 +01:00
nicolargo 22a62931d3 Correct issue in the cloud plugin, do not retreive the good data in the API 2017-02-12 19:09:42 +01:00
nicolargo dbb59bca02 Merge branch 'issue1029' into develop 2017-02-12 18:50:33 +01:00
nicolargo 7acca165fd First part of the implementation of the issue #1029 (all but the Web UI integration 2017-02-12 18:49:25 +01:00
nicolargo ca79bd5c43 Update PsUtil to 5.1.3 2017-02-11 18:22:56 +01:00
nicolargo 8065aed26d Merge branch 'issue1018' into develop 2017-02-11 10:06:11 +01:00
nicolargo fd45d4121a Remove batinfo dep 2017-02-11 10:05:54 +01:00
nicolargo fd2db19ce3 Merge branch 'issue1018' of https://github.com/nicolargo/glances into issue1018 2017-02-11 09:59:24 +01:00
nicolargo 907856a941 Global name standalone not defined (#1030). Correct only the error message at the end of Glances but not the main cause of the issue (Webserver interface is not displayed) 2017-02-10 22:24:19 +01:00
Nicolargo 5d15fe5feb Merge branch 'issue1017' of https://github.com/nicolargo/glances into issue1018 2017-02-08 16:18:21 +01:00
Nicolargo 34c35703af Merge develop 2017-02-08 16:16:28 +01:00
Nicolargo a4238443ac Remove double blank line 2017-02-08 16:13:13 +01:00
Nicolargo 943e8a1a80 TypeError: string indices must be integers (glances_percpu.py) step 2 #1027 2017-02-08 14:08:27 +01:00
Alessio Sergi 06e12a2124 Drop py3sensors from optional-requirements.txt and tox.ini too 2017-02-08 13:02:59 +01:00
Alessio Sergi e40640d47d psutil.sensors_temperatures() is available in version 5.1.0 or greater 2017-02-08 12:51:55 +01:00
Nicolargo b38372f39e TypeError: string indices must be integers (glances_percpu.py) #1027 2017-02-08 10:04:49 +01:00
Nicolargo 17e1c8c674 Unable to launch Glances on Windows #1021 2017-02-07 14:43:55 +01:00
Nicolargo 82eaf3372f After version 2.8.2 2017-02-07 13:25:54 +01:00
Nicolargo d2dcdf7fb5 Merge branch 'master' into develop 2017-02-07 13:19:03 +01:00
Nicolargo b81ac02242 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2017-02-07 13:17:46 +01:00
Nicolargo b38def991c version 2.8.2 2017-02-07 13:17:26 +01:00
Nicolargo a9bdff38d9 InfluxDB export in 2.8.1 is broken (issue #1026) 2017-02-07 13:14:16 +01:00
Alessio Sergi f468367522 nvidia-ml-py is Python 2-only (shame) 2017-02-07 12:20:19 +01:00
Nicolargo c286f15d13 Add auto deployment through Travis: on tag on master branch 2017-02-06 19:30:01 +01:00
Nicolargo bca8784804 Add auto deployment through Travis: on tag on master branch 2017-02-06 19:16:50 +01:00
Nicolargo 7a13db7af5 After 2.8.1 release 2017-02-06 18:39:05 +01:00
Nicolargo a0b05348cd version 2.8.1 2017-02-06 18:12:58 +01:00
Nicolargo cba1576545 Merge branch 'master' into develop 2017-02-06 18:12:29 +01:00
Nicolargo d766012397 Merge branch 'issue1022' into develop 2017-02-06 17:31:10 +01:00
Nicolargo 1b775a0536 Can't export data to a CSV file in Client/Server mode (issue #1023) 2017-02-06 17:30:47 +01:00
Nicolargo 2f7a61ded3 Glances export issue with CPU and SENSORS (issue #1024) 2017-02-06 17:05:56 +01:00
Nicolargo 36c4269f4b Correct an issue on export CPU and SENSORS 2017-02-06 16:58:40 +01:00
Nicolargo e33f11f1d5 Add a check on export stats 2017-02-06 14:43:03 +01:00
nicolargo e0a8568f65 Remove Py3sensors and replace it by PsUtil 2017-02-05 15:17:23 +01:00
Alessio Sergi 83d04ccf59 Update config doc and improve formatting 2017-01-31 18:08:18 +01:00
Alessio Sergi 93fbf75603 Optimize config code
- Remove duplicate code (one place to rule them all)
- Add SunOS support
- Add a safe function for creating a directory tree
- Put cache file in the cache directories
2017-01-31 18:04:53 +01:00
nicolargo 921710b0e6 IRQ plugin is not display anymore #1013 + NEWS 2017-01-29 17:24:02 +01:00
nicolargo f35c8bf256 IRQ plugin is not display anymore #1013 2017-01-29 17:23:45 +01:00
nicolargo 12b75d44d9 interrupts and usb_fiq #1007 2017-01-29 17:15:22 +01:00
nicolargo 12412caf56 Add GPU to the unitest 2017-01-28 18:54:27 +01:00
nicolargo 1f251f8c68 GPU plugin is display when hitting '4' or '5' shortkeys #1012 2017-01-28 16:04:07 +01:00
nicolargo 5f0d913587 Fix typo in network text #1008 + docs 2017-01-28 15:52:21 +01:00
nicolargo 410445b354 Merge commit '736e91c' into develop 2017-01-28 15:51:11 +01:00
Nicolas Hennion e61e995179 Merge pull request #1008 from HelioCampos/patch-1
Fix typo in network text
2017-01-28 15:50:09 +01:00
nicolargo 64036c6ff1 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2017-01-26 20:27:11 +01:00
Nicolas Hennion 871e429ba1 Merge pull request #1011 from fraoustin/issue#1009
issue#1009
2017-01-26 20:25:08 +01:00
fraoustin 5b844e6c8a issue#1009 2017-01-26 19:17:38 +01:00
Helio Campos Mello de Andrade 736e91cfa9 Fix typo.
form -> from
2017-01-26 08:05:45 -02:00
Nicolargo 655f19ddd7 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2017-01-26 09:57:51 +01:00
Nicolargo 3e0947fd13 Add catch for Wifi cell 2017-01-26 09:57:26 +01:00
Nicolas Hennion 40813272ac Merge pull request #1006 from notFloran/webui-hide-public-ip-if-not-defined
[WebUI] Hide public address if not available
2017-01-25 20:50:14 +01:00
Nicolargo 80c79402a8 Add wireless-tools deps see issue (issue #1004) in Glances autoinstall 2017-01-24 10:19:09 +01:00
Floran Brutel d61d3904e8 🐛 Hide public address if not available 2017-01-24 08:56:02 +01:00
Nicolargo cb08605750 Docker - Error (issue #1003) 2017-01-23 17:49:52 +01:00
Alessio Sergi c5dc423cce Upgrade pip and setuptools on CircleCI 2017-01-22 18:24:00 +01:00
Alessio Sergi 91362d0db7 Upgrade pip and setuptools on Travis 2017-01-22 18:02:26 +01:00
Alessio Sergi c59f7e33d1 setup.py: remove sensors from extras_require
setuptools doesn't like it.
2017-01-22 17:55:41 +01:00
Alessio Sergi 93514c2da2 Fix optional-requirements.txt
- hddtemp is not installable using pip, remove it.
- conditionalize scandir dependency
- add py3sensors

Note: pip >= 6.0 is required.
2017-01-22 16:54:21 +01:00
Alessio Sergi bbaf40d60a setup.py: fix py3sensors installation and conditionalize scandir dependency
- scandir package is only needed for Python < 3.5.
- the name of extras are now lower case (easier to type/read).

Note: setuptools >= 18.0 is required.
2017-01-22 16:50:45 +01:00
nicolargo ac9ad9ca40 Use Pypi style for deps installation 2017-01-22 11:01:42 +01:00
nicolargo 26efbbbfa6 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2017-01-22 10:25:18 +01:00
nicolargo 14255a8d3b Autodiscover error while binding on IPv6 addresses (issue #1002) 2017-01-22 10:24:52 +01:00
Alessio Sergi 507f5f85c6 Add Python 3.6 to .travis.yml 2017-01-21 19:59:56 +01:00
Alessio Sergi 4b9729fc10 Claim Python 3.6 support 2017-01-21 19:49:49 +01:00
Alessio Sergi 8dbda4d266 LGPL -> LGPLv3
Just to be clear.
2017-01-21 19:44:12 +01:00
Alessio Sergi f5d1a9bd68 README: remove old instructions for Windows
Some cleaning while I'm here.
2017-01-21 19:16:15 +01:00
nicolargo b1f6a8194b On the road of Glances 2.8.1 2017-01-21 18:22:29 +01:00
Alessio Sergi 5988a655d3 Fix installation under Windows, bottle is now mandatory. 2017-01-21 18:08:16 +01:00
nicolargo 6ea077b197 Generate documentation for Glances 2.8 2017-01-21 14:46:28 +01:00
nicolargo 29298a4f9a Change version to 2.8 2017-01-21 14:42:24 +01:00
nicolargo 2926d9e674 Merge branch 'issue1000' into develop 2017-01-21 09:47:17 +01:00
nicolargo 138cb2dbaa Not compatible with the new Docker API 2.0 (Docker 1.13) (issue #1000) 2017-01-21 09:46:51 +01:00
Alessio Sergi d54e85f4b6 Better Solaris 'io_counters' fix 2017-01-19 23:48:07 +01:00
nicolargo 9c0e27c44a Correct short key error: l, D, I 2017-01-19 19:51:25 +01:00
Alessio Sergi 33e33875b1 Solaris support in system info 2017-01-19 19:20:08 +01:00
Alessio Sergi 8885313865 Except AttributeError when checking for 'io_counters'
That's way better than checking for the OS; psutil may implement it for
new platforms in the future.
2017-01-19 18:53:04 +01:00
Alessio Sergi 47a85eec5e OS X -> macOS 2017-01-18 20:01:00 +01:00
Alessio Sergi 9cf2863447 Optimize code for extended stats 2017-01-18 19:21:07 +01:00
Alessio Sergi cf2a386d98 Fix crash with extended stats on macOS (issue #999)
As of version 4.3.1, psutil's Process.as_dict() raises ValueError if an
attribute name is invalid.
2017-01-18 14:40:44 +01:00
Alessio Sergi 7740f588de Fix "'Process' object has no attribute 'io_counters' on Solaris" 2017-01-18 11:19:10 +01:00
nicolargo e462a9c77e Update export list in README file 2017-01-14 22:32:32 +01:00
Alessio Sergi ffaf0956bd Do not use mutable default argument
See e2912943c5.
2017-01-09 20:17:37 +01:00
Alessio Sergi 870758a9e6 folder_list: remove superfluous try/except when reading config values
config.get_value() already handles NoOptionError in this case.
2017-01-09 16:01:07 +01:00
Alessio Sergi 92e76ff612 flake8 fixes
- wrong continued indentation
- missing whitespace after ':'
- unused imports
- expected 2 blank lines after class or function definition
2017-01-09 12:59:36 +01:00
Alessio Sergi e03b20f1ec exports: fix imports due to load_conf() refactor and remove now unused ones 2017-01-09 12:55:04 +01:00
Alessio Sergi 0f2824fd6a Copyright 2017 2017-01-09 12:09:17 +01:00
nicolargo e4b7e73970 Update doc for configuration file 2017-01-08 11:08:58 +01:00
nicolargo 4ea591eac0 Merge branch 'refactorexport' into develop 2017-01-07 16:50:51 +01:00
nicolargo 5ce05cef11 Refactor init of export modules 2017-01-07 16:50:35 +01:00
nicolargo 4223e21c1f Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2017-01-07 15:56:32 +01:00
Nicolas Hennion e259d32f02 Merge pull request #992 from nclsHart/gpu-plugin-shortcuts
add gpu plugin shortcuts
2017-01-07 15:56:10 +01:00
nicolargo 6b4219cea9 Change the README file 2017-01-07 15:55:32 +01:00
Nicolas Hart a6338acf5d add gpu plugin shortcuts 2017-01-07 15:36:54 +01:00
Nicolas Hennion 6316fa6aa5 Merge pull request #990 from notFloran/webui-gpu
[WIP] Add GPU plugin in the WebUI
2017-01-07 14:31:39 +01:00
Floran Brutel 674d2c140d Hide mem_more plugin when gpu plugin is enabled 2017-01-07 14:00:42 +01:00
Floran Brutel e3e51cefb4 Fix display and shortcut issues for the gpu plugin of the webUi 2017-01-07 13:53:11 +01:00
nicolargo fa3a3ed715 Update README file 2017-01-07 10:26:53 +01:00
nicolargo 9390b75bc2 Update setup file again 2017-01-07 10:12:50 +01:00
nicolargo 09ba54c458 Update setup file 2017-01-07 10:09:27 +01:00
nicolargo fa705e08e8 Update the CONTRIBUTING file 2017-01-07 09:47:53 +01:00
Floran Brutel c44b6dceec Add gpu plugin in the webUI 2017-01-04 20:26:45 +01:00
Floran Brutel 4059de2676 Add module for gpu 2017-01-04 08:48:24 +01:00
nicolargo b80ff98de3 Update docs and requirements files 2017-01-01 14:14:20 +01:00
nicolargo c61ad18f47 Update AUTHORS file 2017-01-01 13:52:36 +01:00
nicolargo 3799de31c5 Merge branch 'issue967' into develop 2016-12-31 18:42:16 +01:00
nicolargo 68482c3d8a Correct hotkeys d, f, l, n 2016-12-31 18:41:58 +01:00
nicolargo 60d2704161 Correct hotkey r 2016-12-31 18:28:29 +01:00
nicolargo 75d1c6c1bc Correct hotkey 4 and 5 2016-12-31 18:23:54 +01:00
nicolargo 8add69f75e Add configuration file template path in the doc 2016-12-30 10:10:48 +01:00
nicolargo 24c8b7797b Add GPU to the document sidebar menu 2016-12-29 17:27:49 +01:00
nicolargo c3c52e3f89 Update documentation 2016-12-29 17:22:41 +01:00
nicolargo bbf0947cf5 Update documentation for the new GPU plugin 2016-12-29 17:21:55 +01:00
nicolargo d11dbb9b7d Add a mean GPU view ('6' short key or --meangpu option) 2016-12-29 17:21:14 +01:00
nicolargo fee3f5d7f8 Correct hight CPU consumption with extended processes stats enable 2016-12-29 14:06:40 +01:00
nicolargo 1b41b67647 Refactor read config method 2016-12-28 22:52:10 +01:00
nicolargo 657c5f8e89 Refactor load_exports method 2016-12-28 22:18:12 +01:00
nicolargo 42356c45b3 Refactor display method of the curses interface sprint 3 2016-12-28 18:41:46 +01:00
nicolargo 27aa7371fc Refactor display method of the curses interface sprint 2 2016-12-28 18:31:06 +01:00
nicolargo 6711da1907 Refactor display method of the curses interface sprint 1 2016-12-28 17:37:22 +01:00
nicolargo 53fc7271f1 Refactor curses __get_stat_display method 2016-12-28 16:53:59 +01:00
nicolargo e68a504752 Correct number of digits displayed in the GPU plugin 2016-12-27 21:54:17 +01:00
nicolargo 32eff4d079 Correct encoding issue with AMP sustemd and Python 3.5 2016-12-27 21:45:11 +01:00
nicolargo 0ba5b95ff1 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-12-27 21:25:30 +01:00
nicolargo cc9dfc22f7 Update NEWS file 2016-12-27 21:25:20 +01:00
Alessio Sergi 3baae1f5c4 Add the username to the log filename
Glances as system tool is often executed in a multi-user environment or
even with root privileges. Then, make the log file system-aware as well.
2016-12-27 19:49:37 +01:00
Alessio Sergi 555f84b976 Use bold for text with bg
Glances 2.7 is not affected, only develop.
2016-12-27 19:05:04 +01:00
Alessio Sergi 7b7b47f3fb Revert "Fix 'module level import not at top of file'"
This reverts commit cac3e36895.
2016-12-27 18:32:15 +01:00
Alessio Sergi cac3e36895 Fix 'module level import not at top of file' 2016-12-27 18:27:33 +01:00
nicolargo b106370bd8 Add debug message for the load of maximum processes to display in the WebUI 2016-12-27 12:29:58 +01:00
Nicolas Hennion c7e8fd0c5c Merge pull request #989 from notFloran/webui-config-to-limit-processes-display
Add config to limit the number of processes to display in the web ui
2016-12-27 12:03:44 +01:00
Floran Brutel 6988b5ea03 Add config to limit the number of processes to display in the web ui 2016-12-27 11:45:13 +01:00
Alessio Sergi 723519f6a9 setup.py: get_requires() no longer needed
We dropped support for Python 2.6 and curses interface on Windows.
2016-12-26 19:01:46 +01:00
Alessio Sergi cefa8b06ce Console mode on Windows is no more
See 8866321a49.
2016-12-26 18:49:04 +01:00
nicolargo 01ff8aa7d5 Force float on GPU memory 2016-12-26 09:39:42 +01:00
nicolargo 184e444dc4 Update PsUtil version 2016-12-24 17:31:47 +01:00
nicolargo 525db5a5e8 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-12-24 17:00:58 +01:00
nicolargo c5c961c1a0 Replace try by in 2016-12-24 17:00:52 +01:00
Alessio Sergi d9aaa0147d Remove unreachable code 2016-12-22 16:00:00 +01:00
Alessio Sergi 9f36d12693 Replace assignment with augmented assignment 2016-12-22 15:58:01 +01:00
Alessio Sergi 6fb03571f1 Use triple double-quote string format for docstrings 2016-12-22 15:44:18 +01:00
Alessio Sergi e8ccb64437 Some minor fixes and misspelling 2016-12-22 12:00:44 +01:00
Alessio Sergi 904e0f1f32 actions: change log message from warning to debug 2016-12-21 17:53:36 +01:00
Alessio Sergi a9ebe31cdf logging: fix redefinition of ret type from str to tuple
While I'm here, fix 'Imports from package logging are not grouped'.
2016-12-21 17:35:50 +01:00
Alessio Sergi f02a266ca9 Always use nvmlDeviceGetMemoryInfo() to get NVIDIA GPU memory usage
nvmlDeviceGetUtilizationRates(handle).memory is not always reliable and
plus seems not supported by all NVIDIA cards.
2016-12-21 13:37:13 +01:00
Alessio Sergi 7310b32605 Handle nvmlDeviceGetUtilizationRates(handle).gpu error in the UI too 2016-12-21 13:16:05 +01:00
Alessio Sergi a08f848b1a Fix redefinition of t type from threading.Thread to glances.timer.Timer 2016-12-21 11:21:21 +01:00
Alessio Sergi c93ee098d1 Fix redefinition of ret type from str to tuple 2016-12-21 11:16:29 +01:00
Alessio Sergi 3d9dce7ec2 Fix another bare except statement (forgot in the previous commit) 2016-12-20 13:35:53 +01:00
Alessio Sergi 34434c5f44 Fix some bare except statements 2016-12-20 13:31:17 +01:00
Alessio Sergi 7f902d3f5b Remove duplicate key 'c' in dictionary 2016-12-20 13:00:54 +01:00
Alessio Sergi cd77205cf9 Remove superfluous parenthesis 2016-12-20 13:00:15 +01:00
Alessio Sergi 002510f19c Remove unused variable 'd' 2016-12-20 12:58:50 +01:00
Alessio Sergi 74fa804e94 Fix wrong continued indentation 2016-12-20 12:55:49 +01:00
Alessio Sergi bb01387e86 Cleanup imports
- Fix wrong import order
- Remove unused imports
2016-12-20 12:46:31 +01:00
Alessio Sergi 1435f6ce0c Fix bad format string 2016-12-20 11:23:20 +01:00
Alessio Sergi c2cb4b8a7f setup.py: use 'with' context manager to open files 2016-12-19 19:50:02 +01:00
Alessio Sergi 0fe2b71a35 GPU plugin: dos -> unix line endings (3rd) 2016-12-19 17:23:10 +01:00
Nicolargo 67d9b96d86 Corect issue when displaying multiple GPU 2016-12-19 11:44:33 +01:00
Nicolargo 0a152be93a Corect issue when displaying multiple GPU 2016-12-19 11:41:33 +01:00
Alessio Sergi 7e065e6ce7 Remove old warning about Python 2.6 deprecation 2016-12-19 00:02:40 +01:00
Alessio Sergi da26c9539d GPU plugin: dos -> unix line endings (again) 2016-12-18 23:38:07 +01:00
Kirby Banman b80a7515f1 Fix typo in string formatting for gpu mem stats in curses (#983) 2016-12-18 23:36:03 +01:00
nicolargo ff14d3349c Resolve merge issue 2016-12-18 20:16:48 +01:00
nicolargo 6b82c627c3 Merge branch 'issue170' into develop 2016-12-18 20:14:18 +01:00
nicolargo 37d7e942f1 First version of the Curses interface for the new GPU plugin 2016-12-18 20:14:08 +01:00
Alessio Sergi f909170fd9 GPU plugin: dos -> unix line endings 2016-12-18 19:06:50 +01:00
Alessio Sergi deaa17a74f Use str.format() automatic numbering
We don't support Python 2.6 any longer.
2016-12-18 18:52:47 +01:00
nicolargo 781dfeef0c Add the key to the GPU plugin 2016-12-18 11:09:19 +01:00
Nicolas Hennion 0182fafdb0 Merge pull request #982 from kdbanman/feature/gpu-nvidia
Fix incorrectly registered GPU id in gpu plugin
2016-12-18 11:05:30 +01:00
Kirby Banman 0ac7d86ea7 Fix incorrectly registered GPU id in gpu plugin 2016-12-17 23:38:06 -07:00
nicolargo 1e36444f18 Correct an issue in PR issue #979 (for #issue #170) because the get_stats method overwrite the default get_method. Rename it to get_device_stats 2016-12-17 10:35:09 +01:00
nicolargo c28a00ffb4 Merge branch 'issue170' into develop 2016-12-17 09:53:30 +01:00
nicolargo ec27ef53d4 Correct unitary tests issues. Add some PEP8 tips. 2016-12-17 09:53:06 +01:00
Kirby Banman bdd4735d00 Move gpu plugin to better named file 2016-12-15 22:48:37 -07:00
Kirby Banman 8b3395144f Declare nvidia as optional requirement 2016-12-15 22:47:57 -07:00
Kirby Banman dc592a2cd0 Merge branch 'develop' of https://github.com/nicolargo/glances into feature/gpu-nvidia 2016-12-15 22:46:03 -07:00
nicolargo 6a186fd4c2 Replace homemade timer by sched Python lib for the standalone mode 2016-12-04 10:32:26 +01:00
nicolargo 9affd4d541 PEP8 correction 2016-12-04 09:46:07 +01:00
nicolargo 80d9d05ba5 Update processlist doc 2016-12-03 18:07:24 +01:00
nicolargo 40a2331a81 Merge branch 'issue836' into develop 2016-12-03 15:30:59 +01:00
nicolargo 1f01e1dbf4 Add access to the config file from the RestFul API: http://0.0.0.0:61208/api/2/config 2016-12-03 14:59:47 +01:00
Kirby Banman df3e80875b Implement basic nvidia stats in plugin 2016-11-27 14:28:19 -07:00
nicolargo 258dbbf94f Refactor Curses display method 2016-11-27 22:14:20 +01:00
nicolargo 2050b2cccc Update optional-requirements.txt file 2016-11-26 16:36:10 +01:00
nicolargo 468623c089 Merge branch 'issue951' into develop 2016-11-26 16:22:20 +01:00
nicolargo 569516db80 Use multithread to grab server stats in the Browser mode (related to issue#951) 2016-11-26 16:21:36 +01:00
nicolargo 373a2d8ccc Document logfile path in man page #969 2016-11-21 22:06:54 +01:00
nicolargo 846bd217f5 fix missing local variable 'e' #968 2016-11-21 22:02:39 +01:00
nicolargo 3816c76017 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-11-17 21:23:15 +01:00
nicolargo bedbbbe68f Merge branch 'issue967' into develop 2016-11-17 21:22:55 +01:00
nicolargo dfd97d0d4d [develop] Hotkeys broken #967 2016-11-17 21:22:38 +01:00
nicolargo da0db5ccba Correct issue with hotkey 'g' 2016-11-17 21:12:12 +01:00
Alessio Sergi c090fb34f8 [WebUI] Fix keycode for the IRQ plugin
See commit 9650ce0.
2016-11-13 19:11:28 +01:00
Alessio Sergi 44cb5026ac Setting IRQ plugin to off by default in the WebUI as well 2016-11-13 18:56:37 +01:00
Nicolas Hennion 13fbc953ba Merge pull request #966 from notFloran/webui-wifi
Add Wifi plugin in the WebUI
2016-11-13 18:35:37 +01:00
Floran Brutel 5ed2ab1f7f Add wifi plugin in the WebUI 2016-11-13 17:21:52 +01:00
Kirby Banman 74ae507f13 Fill in all of nvidia plugin except actual stats collection. 2016-11-12 16:03:28 -07:00
Alessio Sergi e1b2f7cbd3 Add more info about max pid in docstring 2016-11-12 18:56:47 +01:00
Alessio Sergi e4348e1cc2 Use 'with' context manager so we don't leak open files. 2016-11-12 13:00:12 +01:00
nicolargo 846c9e843d Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-11-12 10:25:28 +01:00
nicolargo de369be5b3 Merge branch 'refactor_curses' into develop 2016-11-12 10:25:06 +01:00
nicolargo 9d90af0857 Refactor curses output script to split some functions 2016-11-12 10:24:41 +01:00
Alessio Sergi 49346dae99 Remove '__appname__'
Not so useful, one less import.
2016-11-11 20:00:53 +01:00
Alessio Sergi 116d6fb50e Do not use platform.linux_distribution() on Python 3.7+ 2016-11-11 16:29:45 +01:00
Alessio Sergi 5c133a9571 Strip double quotes explicitly while parsing /etc/os-release 2016-11-11 13:23:43 +01:00
Alessio Sergi 842f65dbf2 Setting IRQ plugin to off by default 2016-11-11 11:11:11 +01:00
Alessio Sergi f7b22d34e2 Align header too if kernel.pid_max is > 99999 (#959) 2016-11-10 18:25:43 +01:00
Alessio Sergi 967d68e8ea Truncate long device names in irq plugin 2016-11-10 17:33:15 +01:00
Alessio Sergi c24cca191d Handle no-permission when checking IRQs on Alpine Linux (#962) 2016-11-10 17:01:55 +01:00
nicolargo 4e3ce5ef42 Refactor hotkey in the Curses interface 2016-11-10 10:23:25 +01:00
nicolargo 2ed8dbc8c8 Merge branch 'issue959' into develop 2016-11-10 09:47:58 +01:00
nicolargo 25cca79218 PID column too small if kernel.pid_max is > 99999 #959 2016-11-10 09:47:39 +01:00
nicolargo 408208b210 Merge branch 'issue958' into develop 2016-11-09 21:59:06 +01:00
nicolargo 3e8c8ae9bb Optimise CPU consumption #958 2016-11-09 21:58:44 +01:00
nicolargo 1d85b49561 Revert "First step of curses catch_key method refactor"
This reverts commit f88e546edc.
2016-11-06 20:46:14 +01:00
nicolargo f88e546edc First step of curses catch_key method refactor 2016-11-06 18:09:34 +01:00
nicolargo c23d3a255f Refactor Glances IRQ plugin 2016-11-06 11:47:51 +01:00
nicolargo 74a0188848 Update documentation 2016-11-05 18:13:59 +01:00
nicolargo 65121f7796 Refactor the main() function 2016-11-05 12:13:27 +01:00
Nicolas Hennion 5521197a6e Merge pull request #955 from hastinbe/fix-cpustats-typeerror
Fix cpu_stats TypeError
2016-11-05 09:59:04 +01:00
Nicolas Hennion 84ebb629cd Merge pull request #957 from hastinbe/fix-memswap-option-mismatch
Fix issue #956
2016-11-05 09:57:29 +01:00
Beau Hastings 3db8667d00 Fix issue #956
Signed-off-by: Beau Hastings <beausy@gmail.com>
2016-11-04 11:41:01 -05:00
Beau Hastings 998f6c1f02 Fix cpu_stats TypeError
Signed-off-by: Beau Hastings <beausy@gmail.com>
2016-11-03 18:03:04 -05:00
Alessio Sergi 85fa23ab71 Revert "Deprecated platform method in Python 3.7 #945"
This reverts commit 4877be45ea.
2016-11-02 10:12:03 +01:00
nicolargo fc9580bc41 Travis 1 - 0 Nicolargo... 2016-11-01 19:03:03 +01:00
nicolargo c47e8edc64 Try Travis without export module 2016-11-01 18:49:22 +01:00
nicolargo 4765058544 Only execute unitest.py in Travis 2016-11-01 18:45:21 +01:00
nicolargo d3f1e354af Remove installation of optional-requirements in Travis (too log) 2016-11-01 18:44:50 +01:00
nicolargo 5bb0dfce6d Add optional-requirements.txt and unitest-all.sh script (realy) 2016-11-01 18:33:40 +01:00
nicolargo 27aa32891e Add optional-requirements.txt and unitest-all.sh script 2016-11-01 18:32:34 +01:00
nicolargo 52c08b4f7b Merge branch 'refactorbrowser' into develop 2016-11-01 15:50:18 +01:00
nicolargo 904cec46a6 Refactor GlancesClientBrowser classe 2016-11-01 15:49:54 +01:00
nicolargo 4dbfe9a662 Add .coveragerc file 2016-11-01 10:08:57 +01:00
nicolargo 0d634d0113 Correct an issue with Docker client 2016-11-01 09:55:31 +01:00
nicolargo ee2bce20e7 Resolv compatibility issue with 2.7 or lower in client/server mode (round 1) 2016-10-31 18:32:40 +01:00
nicolargo 07b737ab42 Args are now given to the Glances client 2016-10-31 18:11:17 +01:00
nicolargo 7b102b828b Correct an issue when use --disable tags in client/server mode 2016-10-31 15:41:12 +01:00
nicolargo 875f71f660 Correct issue on HDDTemp plugin with unitest 2016-10-31 14:46:04 +01:00
nicolargo ad62f25a7f Merge branch 'refactorplugins' into develop 2016-10-31 14:32:59 +01:00
nicolargo fb7646d521 Refactors plugins to avoid calling views and history update inside the update method 2016-10-31 14:32:17 +01:00
nicolargo 30c5890a46 Merge branch 'issue948' into develop 2016-10-30 16:29:55 +01:00
nicolargo 634f8fb29b Refactor the --disable-* options #948 2016-10-30 16:29:30 +01:00
nicolargo 2e3f456529 Merge branch 'issue947' into develop 2016-10-30 14:07:28 +01:00
nicolargo 540e840bbb /proc/interrupts not found when running Glances in an OpenVZ container #947 2016-10-30 14:07:07 +01:00
nicolargo 6eb21d745a Correct issue on the --disable option 2016-10-28 22:12:49 +02:00
nicolargo b19b1f54b1 Add --disable-<option> for all plugins. Should be refactor... 2016-10-28 09:26:57 +02:00
nicolargo 9104f439f4 Update NEWS file 2016-10-27 21:40:59 +02:00
nicolargo 616466f4c7 Merge branch 'issue946' into develop 2016-10-27 21:38:25 +02:00
nicolargo 8866321a49 Deprecate Windows Curse UI: automaticaly open Web Browser for the standalone mode #946 2016-10-27 21:37:57 +02:00
nicolargo 19fc718fd8 Merge branch 'issue945' into develop 2016-10-26 22:22:19 +02:00
nicolargo 4877be45ea Deprecated platform method in Python 3.7 #945 2016-10-26 22:22:03 +02:00
nicolargo ae539ddea4 Latest DockerHub Version and latest pip Version doesn't match #944 2016-10-26 20:34:14 +02:00
Nicolargo 54f0e1d33f Change initialisation step for alert (do not change anythink) 2016-10-25 14:02:03 +02:00
nicolargo b95252846d Update unitest with views 2016-10-23 21:39:53 +02:00
nicolargo 7e1ec7c3e1 Merge branch 'issue718' into develop 2016-10-23 21:16:33 +02:00
nicolargo 708bdc48ea Add default interface speed and automatic rate thresolds #718 2016-10-23 21:16:17 +02:00
nicolargo f77553c458 System uptime in export #890 2016-10-23 12:49:47 +02:00
nicolargo 4458ac97ea Export uptime to CSV (issue #890) 2016-10-23 12:29:57 +02:00
nicolargo 80cc297a35 Update CPU docs 2016-10-23 10:54:03 +02:00
Nicolas Hennion 86fb5efdbf Merge pull request #942 from notFloran/suppress-github-diff
Better build for the WebUI to avoid big diffs in PR
2016-10-22 17:40:54 +02:00
Floran Brutel b574de27d6 Better build for the webui to avoid big diffs in PR 2016-10-22 14:57:33 +02:00
nicolargo f0341db1bc Update AMP Systemd conf example 2016-10-22 14:06:49 +02:00
nicolargo 0b5d032a48 Update doc for issue #900 2016-10-22 13:39:02 +02:00
nicolargo 22d9bd1f30 Merge branch 'issue900' into develop 2016-10-22 13:37:41 +02:00
nicolargo e9da136f4d Make the logger configurable (issue #900) 2016-10-22 13:37:23 +02:00
Nicolas Hennion 9374e0c9a9 Merge pull request #941 from notFloran/fix-webui-raid
Fix loading of the raid plugin in the web UI
2016-10-22 10:46:50 +02:00
Floran Brutel c08dd57665 🐛 Fix loading of the raid plugin in the web UI 2016-10-22 09:37:37 +02:00
nicolargo 92b4e1adf0 Correct an issue in the UT for the new Wifi plugin 2016-10-21 22:32:39 +02:00
nicolargo baf79e9d87 Merge branch 'issue937' into develop 2016-10-21 22:25:43 +02:00
nicolargo 8c15914f73 Update docs with dependenties (issue #937) 2016-10-21 22:11:13 +02:00
nicolargo a183f68101 Add thresholds and update docs (issue #937) 2016-10-21 22:06:02 +02:00
nicolargo deb42a075f Add documentation (issue #937) 2016-10-21 18:03:33 +02:00
nicolargo 092930d4a0 Add encryption (issue #937) 2016-10-21 17:06:03 +02:00
nicolargo e711f7fb09 SSID and Quality OK (issue #937) 2016-10-21 11:15:02 +02:00
Nicolargo d37c4306df ZeroMQ export module, close the context 2016-10-17 11:10:35 +02:00
nicolargo 1149608a97 Update docs for ZeroMQ export module 2016-10-15 19:16:24 +02:00
nicolargo 6c502baf7a Correct somes PEP8 errors 2016-10-15 19:08:07 +02:00
nicolargo 2b0d33889a ZeroMQ plugin is now compatible with Python3 2016-10-15 15:57:44 +02:00
nicolargo 74593f13eb Add a ZeroMQ export module #939 2016-10-15 15:24:01 +02:00
nicolargo 0c49fecf6f Merge branch 'issue718' into develop 2016-10-10 21:57:35 +02:00
nicolargo 92ec33c272 Update docs for Docker limits and actions (issue #875) 2016-10-10 21:10:10 +02:00
nicolargo 4396634e60 Implement action (part 3 of the issue) but the get_alert is now ugly... 2016-10-09 22:17:32 +02:00
nicolargo b4a0b834a9 Implement per containers threasolds (part 2 of the issue) 2016-10-09 18:08:18 +02:00
nicolargo b3ab2f04db Implement default limits thresholds for Containers (part 1 of the issue) 2016-10-09 17:37:56 +02:00
nicolargo b1d41bcf41 Workarround for the issue931. Not solve the issue but implement correctly the --disable-<plugin> option for all plugins 2016-10-06 21:43:21 +02:00
nicolargo 2acdbe9cf6 Default AMP ignores enable setting #932 2016-10-01 09:56:48 +02:00
nicolargo 3a4bf77b79 Correct another fucking issue about Python 3 bytes string to regular string (issue #933) 2016-09-27 21:30:22 +02:00
Nicolargo b2ea510447 Correct a critical issue on client/server mode 2016-09-26 09:00:30 +02:00
Nicolargo 91495a3352 Remove print in __init__.py 2016-09-26 08:42:19 +02:00
nicolargo 5a721bf406 Correct issue on history UT 2016-09-25 22:29:17 +02:00
nicolargo 4c5105aa99 Configure server cache time from the command line (--cached-time) #901 / Also implement cache time for the Web server mode 2016-09-25 22:12:58 +02:00
nicolargo 57e432a526 Glances API returns the processes PPID (issue #926) 2016-09-24 18:17:48 +02:00
nicolargo cf6735a746 Add a CouchDB exporter #928 2016-09-24 17:02:33 +02:00
Nicolargo 52e714ce1d Bugs corrected: 2016-09-21 11:40:37 +02:00
Nicolargo 8d01924c20 Update doc for Glances Docker container 2016-09-20 10:41:08 +02:00
Nicolargo 833d388bc1 Correct some PEP8 issues 2016-09-19 18:06:18 +02:00
Nicolargo b71fc66adf Merge commit '1b80fa041694f4bddc192d6491512dc5d54bb9db' into develop 2016-09-19 17:22:01 +02:00
Nicolas Hennion 2b80fa0416 Merge pull request #924 from thebwt/Dockerfile-Fix
Docker build can't install packages
2016-09-19 17:20:10 +02:00
Brandon Tomlinson 9389a0a865 Docker build can't install packages
Need to initialize the apt repos with `apt-get update`. Since you're maintaining your own install script and not installing cleanly here, we should break the system apart so that we're clearing the apt cache properly.
2016-09-19 09:24:32 -05:00
Nicolargo 5dc3b5f02b Highlight max stats in the processes list (issue #878) 2016-09-19 14:02:12 +02:00
nicolargo 99268f3b4f Implementation issue #878 ok for the curses interface. To be done in the WebUI and code should be optimized 2016-09-18 22:31:45 +02:00
nicolargo 874f6ceceb Merge Remove uglify of js files from master 2016-09-18 21:45:52 +02:00
Nicolas Hennion bea5e560e6 Merge pull request #923 from notFloran/webui-remove-uglify
[WebUI] Remove uglify of js files
2016-09-18 21:06:28 +02:00
Floran Brutel 5191b7327b WebUI : Remove uglify of js files 2016-09-18 19:52:11 +02:00
nicolargo b61f70ae99 Grab the stats, but not display it in the UI... 2016-09-17 10:14:52 +02:00
Nicolargo e18be6cdfa Do not highlight zero value on CPU and MEM processes list 2016-09-14 17:13:24 +02:00
nicolargo 546df86774 Update the README file 2016-09-11 20:18:03 +02:00
nicolargo 2b624cd479 Optimise left side bar Curse display 2016-09-11 16:35:05 +02:00
Nicolas Hennion ba9db27bf6 Merge pull request #914 from nclsHart/webui-ongoing-alert-counter
[Web UI] display ongoing alert counter in favicon
2016-09-11 11:24:00 +02:00
nicolargo b9881f126f On the road of Glances 2.8 again 2016-09-11 11:21:16 +02:00
nicolargo ac1a24dbc3 Merge branch 'master' into develop 2016-09-11 11:08:21 +02:00
nicolargo 9e3dacbb63 Glances 2.7.1 2016-09-11 11:06:39 +02:00
nicolargo cc9e7adbbf Ports plugin crashs on start with Python 3 (issue#918) 2016-09-11 11:04:20 +02:00
nicolargo 55346cd18d AMP plugin crashs on start with Python 3 (issue #917) 2016-09-11 10:59:14 +02:00
nicolargo bacefcdb5c Correct Cassandra dep 2016-09-11 09:54:09 +02:00
nicolargo 409269e3aa Correct Cassandra dep 2016-09-11 09:53:14 +02:00
nicolargo 21b990f911 Next release in on the road 2016-09-10 11:33:46 +02:00
nicolargo 20576f8d08 version 2.7 2016-09-10 11:13:57 +02:00
nicolargo 744cd34585 Merge branch 'master' into develop 2016-09-10 10:53:11 +02:00
nicolargo eaad5f5f3b Resolve merge conflicts with master branch 2016-09-10 10:48:50 +02:00
nicolargo bae43e926a Generate man page for Glances 2.7 2016-09-10 10:33:37 +02:00
nicolargo a9ba618e91 Change version to Glances 2.7 2016-09-10 10:32:02 +02:00
nicolargo 9d87192839 Update Glances global description 2016-09-04 16:53:32 +02:00
nicolargo 8fa75b254a Update doc. Add install info in ReadTheDoc 2016-09-03 08:48:38 +02:00
Nicolargo ede5b2ae10 Remove debug message... 2016-09-02 17:09:02 +02:00
Nicolargo 7381f907ad Change the NEWS file for issue 887 2016-09-02 15:27:36 +02:00
Nicolargo fd9cc986de Improper bytes/unicode in glances_hddtemp.py #887 2016-09-02 15:25:23 +02:00
Nicolargo 97a9365bf8 Do not display anything if no battery are detected 2016-09-02 14:33:38 +02:00
Nicolargo 407dc6b65b Add deps in setup.py 2016-09-02 10:42:03 +02:00
Nicolargo 74872a87f7 Glances 2.7_RC1 2016-09-02 09:03:56 +02:00
Nicolargo e3076a6e2b Add Warning message if a [monitor] section is detected in the Glances configuration file 2016-09-01 15:29:36 +02:00
nicolargo d6ada6b20f Change Bootle routing to new syntax 2016-08-27 22:12:38 +02:00
Nicolas Hart 82b05c35f8 [Web UI] display ongoing alert counter in favicon 2016-08-26 23:07:32 +02:00
Nicolargo beade6a5cc Update the setup.py to dynamicaly grab the Glances version in the __init__py script 2016-08-26 15:36:54 +02:00
Nicolargo 47904a58b9 Improve documentation (issue #872) 2016-08-26 14:05:40 +02:00
Nicolargo ba5f899188 [WebUI] Glances will not get past loading screen - Windows OS (issue #815) / Need test 2016-08-26 13:19:05 +02:00
nicolargo 9650ce0d67 Change the IRQ shortcut key from R to Q. R is alread used for the RAID plugins. Also update the docs for the IRQ plugin. Last but not leat, change the ReadTheDoc theme 2016-08-23 20:12:49 +02:00
Nicolargo 122cc576dc Correct some PEP8 issues in the Glances_curses script 2016-08-23 10:27:58 +02:00
Nicolargo 6517df9f73 Update docs for the new IRQ plugin 2016-08-22 09:14:41 +02:00
Nicolas Hennion b5529925e9 Merge pull request #911 from angelopoerio/feature/irq_monitoring
Feature/irq monitoring
2016-08-22 08:54:37 +02:00
angelopoerio 4253834d8a fixed clonflicts & changes for new WebUI 2016-08-21 20:44:18 +02:00
angelopoerio a4e4c1fc42 fixed clonflicts 2016-08-21 17:06:11 +02:00
nicolargo 3b98eb9816 Limit AppVeyor to Python 2.7 and 3.5 2016-08-21 10:40:31 +02:00
nicolargo 150f63ea0f Add script file for AppVeyor 2016-08-21 10:33:49 +02:00
nicolargo addd7f06ad Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-08-21 10:25:46 +02:00
nicolargo 757ef71c42 Add AppVeyor CI configuration file 2016-08-21 10:25:33 +02:00
Nicolas Hennion ab9312ce83 Merge pull request #909 from SkyLothar/develop
missing local variable "e".
@SkyLothar Thanks for the patch  !
2016-08-21 10:15:03 +02:00
SkyLothar b32087a136 missing local variable "e" 2016-08-21 01:14:09 +08:00
angelopoerio b7f7f63261 fixed styling in main.py 2016-08-20 19:08:18 +02:00
angelopoerio d92aa2e380 fixed styling in main.py 2016-08-20 19:04:17 +02:00
angelopoerio d4d7d69197 updated test 2016-08-20 18:51:48 +02:00
angelopoerio dc89bfb62c show only in linux systems 2016-08-20 18:45:15 +02:00
nicolargo a6daeb72de Correct issue with Restful API 2016-08-20 18:16:45 +02:00
nicolargo 1198de6539 Update NEWS file 2016-08-20 18:00:13 +02:00
nicolargo 0f80dede95 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-08-20 17:59:12 +02:00
Nicolas Hennion b944b21096 Merge pull request #906 from nclsHart/webui-gulp
[Web UI] dependency manager and build system
2016-08-20 17:58:57 +02:00
angelopoerio 8b0247e97f improved aligment of UI and indentation of Python code 2016-08-20 17:49:13 +02:00
Nicolas Hart 378c105a51 [Web UI] add more informations in readme about build system 2016-08-20 17:12:28 +02:00
angelopoerio 5ae130e386 Added irq monitoring plugin 2016-08-20 16:26:17 +02:00
angelopoerio e7fafdbdee Added irq monitoring plugin 2016-08-20 16:26:00 +02:00
Nicolas Hart 483fa29cfa [Web UI] dependency manager and build system 2016-08-15 17:04:23 +02:00
nicolargo 9277c27aa6 Remove Pypi download badge 2016-07-29 21:29:44 +02:00
Nicolargo aa94ccb91a Add reference to issue #901 2016-07-28 11:12:35 +02:00
Nicolargo 3209cfc318 Comment ctx switch in the default conf file 2016-07-25 16:22:49 +02:00
Nicolas Hennion 1a777d7ec3 Merge pull request #899 from nclsHart/ports-shortcut
Ports plugin keyboard shortcut
2016-07-25 14:08:34 +02:00
Nicolas Hart f3aa3bd726 [Web UI] add ports plugin shortcut 2016-07-24 00:58:24 +02:00
Nicolas Hart 502aaf4726 Add ports shortcut to the help page 2016-07-24 00:53:50 +02:00
Nicolas Hennion 215d19e8f9 Merge pull request #897 from nclsHart/webui-ports
[Web UI] add ports plugin
2016-07-21 11:49:23 +02:00
Nicolas Hennion b795bd9f8a Merge pull request #896 from nclsHart/webui-diskio-alias
[Web UI] handle aliases in diskio plugin
2016-07-21 11:47:43 +02:00
Nicolas Hart e6a544f3f0 [Web UI] add ports plugin 2016-07-20 23:14:15 +02:00
Nicolas Hart 631d0174c3 [Web UI] handle aliases in diskio plugin 2016-07-20 16:54:19 +02:00
Nicolargo 5033775feb Add DiskIO alias in the Restfull API 2016-07-20 14:48:49 +02:00
Nicolas Hennion ffe37dd0db Merge pull request #893 from tigitz/improve-readme
add docker container web server mode example in readme
2016-07-16 17:56:04 +02:00
Philippe SEGATORI e99c7992eb add docker container web server mode example in readme 2016-07-16 17:03:07 +02:00
nicolargo d5d85325dd Correct two issues with latest Zeroconf version (issue #888 and #889) 2016-07-15 17:39:43 +02:00
nicolargo 2b872959ed PermissionError/OSError when starting glances (issue #885) 2016-07-12 17:52:22 +02:00
nicolargo b5b358aecc Unicode error on processlist on Windows server 2008 (french) (issue #886) 2016-07-12 17:35:20 +02:00
Nicolargo 11ee0fd6bf Change Port plugin log message from warning to debug 2016-07-06 17:12:06 +02:00
Nicolargo de08dab5bb Convert readthedocs links for their .org -> .io migration for hosted projects (issue #877) 2016-07-06 16:26:49 +02:00
Nicolas Hennion 3dcd25299b Merge pull request #877 from adamchainz/readthedocs.io
Convert readthedocs links for their .org -> .io migration for hosted projects
2016-07-06 16:18:58 +02:00
Nicolargo d906873fda Update InfluxDB doc: use tsm1 engine (issue #883) 2016-07-05 14:42:10 +02:00
Nicolargo a902ddddd9 Avoid Exception in the IP public addr plugin / add log debug message 2016-07-04 13:31:24 +02:00
Nicolargo c5a693f248 Avoid Exception in the IP public addr plugin 2016-07-04 13:29:47 +02:00
nicolargo 6ef87b6d62 Change the Circle CI file with good Ubuntu 12.04 Python version... 2016-07-03 12:40:36 +02:00
nicolargo 538b5d9e3c Change the Circle CI file 2016-07-03 12:38:14 +02:00
nicolargo cec31c0f8a Check cpu_info in the Quicklook plugin (issue #881) 2016-07-03 11:27:29 +02:00
nicolargo 7f102a5de2 Replace screenshot by screencast 2016-07-02 11:09:48 +02:00
nicolargo 284a443a4a Add Screencast 2016-07-02 11:05:23 +02:00
Nicolargo 5f57b7c76d Correct TypeError on processlist in MacOS (issue #879) 2016-06-30 09:43:14 +02:00
Adam Chainz 0c7e613096 Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-06-27 22:22:11 +01:00
Nicolargo 7c2eff306c Correct issue on Restfull unitest for ports plugin 2016-06-27 14:31:56 +02:00
Nicolargo 9fe4350325 Correct another issue in Client/Server mode with ports plugin 2016-06-27 10:51:50 +02:00
nicolargo 50bfa35798 Correct issue when running Glances client/server with port plugin 2016-06-26 21:25:31 +02:00
nicolargo 712b3db48d Correct issue on Ports plugin if args is not set 2016-06-25 17:00:36 +02:00
nicolargo a340a5e5e1 Finalize New Ports Scanner plugin (issue#734) 2016-06-25 16:47:02 +02:00
Nicolargo 3b5e11441e Correct issue with the thread. RTT values are now OK 2016-06-21 15:07:31 +02:00
nicolargo 913017bb75 Add documentation for the ports plugin 2016-06-19 11:12:40 +02:00
nicolargo a4d499d7eb Add comment for the BSD issue unsin netifaces 2016-06-18 18:55:19 +02:00
nicolargo 73b383155b Add default gateway option 2016-06-18 18:49:25 +02:00
Nicolargo bd8e36cfd3 Add ICMP (system call to ping) in the Glances port plugin and optimize time computation 2016-06-17 14:51:32 +02:00
Nicolargo 4bfe32c665 Add ICMP (system call to ping) in the Glances port plugin 2016-06-17 14:50:59 +02:00
nicolargo a38b6b48cb First release for the TCP ports scanner plugin. TODO: test and doc 2016-06-13 18:06:14 +02:00
Nicolargo 1810064852 On Windows, Glances try to display unexisting Load stats #871 2016-06-10 17:20:48 +02:00
Nicolargo f2a5df0070 Add comments to AMPs section in the configuration file 2016-06-10 16:34:33 +02:00
Nicolargo 02e9aa7232 Add Cassandra/Scylla export plugin #857 2016-06-10 16:16:41 +02:00
nicolargo 5065ef12e0 Correct unitest Restfull JSON to be Python compatible 2016-06-04 19:31:25 +02:00
nicolargo 53b8095bd3 Add circle.yml file for the https://circleci.com service 2016-06-04 19:28:08 +02:00
nicolargo a790a3b7f0 Add unitary test for history Restfull API 2016-06-04 16:17:00 +02:00
nicolargo a4613d1476 Resolv merge issue with issue696 2016-06-04 10:38:53 +02:00
nicolargo 63f2959eaa Change NEWS file 2016-06-04 10:32:48 +02:00
nicolargo 557b05935d Enable maximum retention time 2016-06-04 08:37:27 +02:00
Alessio Sergi 8da470b7f8 Remove trick to allow glances/__main__.py to be called directly (needed for Python 2.6) 2016-06-02 21:16:52 +02:00
Alessio Sergi cb27f0c734 No more Python 2.6 compatible string.format calls 2016-06-02 20:04:13 +02:00
Alessio Sergi 28eb3f6817 Remove Python 2.6 logging.config.dictConfig compat 2016-06-02 18:23:31 +02:00
Alessio Sergi 781ba79b73 NEWS: Highlight Python 2.6 end of support
Add a note for CentOS Linux 6 and 7 users in the README.
2016-06-02 18:02:16 +02:00
Nicolargo 1ac228787f Add --disable-history tag 2016-06-02 16:30:27 +02:00
Nicolargo 6a049073da Change Curses message for history 2016-05-31 14:09:23 +02:00
nicolargo 95260056d5 Complete API for history 2016-05-30 16:57:23 +02:00
nicolargo 857ec54daa Limit number of item is configurable through the restfull API 2016-05-30 15:56:22 +02:00
nicolargo 8d7c8bbed2 Add unitest for history and attribute 2016-05-29 19:40:39 +02:00
nicolargo fd23868c4b Change the way to store the value in the history 2016-05-29 14:38:44 +02:00
nicolargo ad0a6ee34e Add a new GlancesHistory class 2016-05-29 11:36:42 +02:00
nicolargo 841d1156d4 Rename glances_history to graph 2016-05-29 10:40:19 +02:00
nicolargo 13fbad5b4c Add new attribute class. Realy... 2016-05-28 16:27:12 +02:00
nicolargo 396f3acff6 Add new attribute class. Only for history for the moment 2016-05-28 16:25:54 +02:00
Nicolargo 42d45c2904 Expose glances config file when running in docker #868 2016-05-27 13:28:51 +02:00
nicolargo 6329ae6588 Remove file after Python 2.6 deprecation 2016-05-23 16:15:30 +02:00
nicolargo 830caf9703 Drop Python 2.6 support #300 2016-05-23 15:52:53 +02:00
nicolargo d1f9d30aae Filter processes by others stats (username) #748 2016-05-23 14:31:37 +02:00
nicolargo d0783a21e1 Create a new GlancesFilter class 2016-05-22 18:01:02 +02:00
nicolargo 9fe1d6e5ee Update screenshot 2016-05-16 16:56:45 +02:00
nicolargo 1d13a687d9 Top 3 processes are back in the alert summary / NEWS file 2016-05-16 11:28:04 +02:00
nicolargo 34ec2b5b48 Top 3 processes are back in the alert summary 2016-05-16 11:26:48 +02:00
nicolargo 58fe124cf6 Catch all errors while reading Glances version file 2016-05-15 17:00:05 +02:00
nicolargo faa7edfd64 Catch EOF error while readin Glances version file 2016-05-15 16:56:17 +02:00
nicolargo 3f1b1356a5 Update doc / Finalyse for Python 2 but do not work for Python 3 2016-05-13 23:17:25 +02:00
nicolargo 67fab37daf Validation OK on online and offline machine 2016-05-13 22:41:28 +02:00
nicolargo f8d20aba15 Merge branch 'develop' into issue865 2016-05-13 21:58:34 +02:00
nicolargo e9a70be865 Revert optimisation au catch_key because of high CPU consumption 2016-05-13 21:57:48 +02:00
Nicolargo 2aab7db010 First sprint for the outdated function 2016-05-13 18:23:42 +02:00
nicolargo 59788e91ad version 2.6.2 2016-05-12 10:58:47 +02:00
nicolargo 9c08a38cfc Crash with Docker 1.11 #848 2016-05-12 10:44:34 +02:00
Nicolargo fd83a9f92a Refactor Curses display method 2016-05-11 16:53:46 +02:00
Nicolargo 3617fb5dda Optimisation of the catch_key method 2016-05-11 10:43:22 +02:00
Nicolargo aaf1eebbcd Reduce code complexity on logs.py 2016-05-10 14:48:00 +02:00
Nicolargo 7dfe1f4139 Remove duplicated code in quicklook plugin 2016-05-10 13:35:29 +02:00
Nicolargo ef1dbb3fef Correct client.py complexity 2016-05-10 12:14:38 +02:00
Nicolargo 8a3d7e49a3 Correct network plugin duplication code and enhance Docker plugin 2016-05-10 11:27:40 +02:00
Nicolargo 7739a1a9dc Merge branch 'issue843' into develop 2016-05-09 18:26:59 +02:00
Nicolargo 291ff64784 Idle process is back on FreeBSD and Windows #844 2016-05-09 18:26:46 +02:00
Nicolargo 36e788f25c Allow theme to be set in configuration file #862 2016-05-09 17:48:58 +02:00
Nicolargo dbee7fb775 Idle process is back on FreeBSD and Windows (issue #844) 2016-05-09 16:15:56 +02:00
Nicolas Hennion 53de48d02a Merge pull request #863 from nclsHart/amp-shortcut-help
Add new amp shortcut 'A' on help page
2016-05-04 22:10:07 +02:00
Nicolas Hart d4c1f6f2d3 add new amp shortcut 'A' on help page 2016-05-04 21:52:20 +02:00
Nicolas Hennion 13e2e4adf7 Merge pull request #860 from nclsHart/webui-finalize-amps
[Web UI] Finalize AMP plugin
2016-05-03 22:50:06 +02:00
Nicolas Hart fcd6157aae [Web UI] Working shortcut A for amp plugin 2016-05-03 22:41:18 +02:00
Nicolas Hart 3e423acb0f [Web UI] display \n as new line in amp plugin result 2016-05-03 22:32:24 +02:00
Nicolas Hart c93093d39f [Web UI] does not display process with no result 2016-05-03 22:31:16 +02:00
Nicolargo 3ad608e325 Cherry pick pull #859 2016-05-03 15:53:01 +02:00
Nicolas Hennion 8abb6d4515 Merge pull request #859 from clrung/fixDiskIO
Correct Grafana dashboard - disk I/O
2016-05-03 15:50:45 +02:00
Christopher Rung 7fe328a6aa Correct Grafana dashboard - disk I/O 2016-05-03 09:15:58 -04:00
nicolargo 8680d100d2 Rename AMP screenshot 2016-05-02 10:46:32 +02:00
nicolargo f72f0d487c Correct issue AMP doc 2016-05-02 10:45:04 +02:00
nicolargo aafb5060bc Merge branch 'issue780' into develop 2016-05-02 10:33:08 +02:00
nicolargo 9c609ffdfd Update doc for AMP 2016-05-02 10:32:46 +02:00
nicolargo 1621832567 Almost finished. Just had to correct an issue on the WebUI displaying AMP with empty result 2016-05-01 21:00:47 +02:00
nicolargo 9999f558df Monitoring process list refactor into AMPs 2016-05-01 18:36:52 +02:00
nicolargo 92cb6e3407 First step for countmin / countmax 2016-04-30 23:29:05 +02:00
nicolargo 130b7a15c8 Correct issue if no configuration file is provided (Travis UT) 2016-04-30 22:32:30 +02:00
nicolargo 3203d84bc8 Default AMP manage default message 2016-04-30 19:10:25 +02:00
nicolargo eb5ea5d37b Create a default AMP to replace the Monitoring process list 2016-04-30 16:24:06 +02:00
Nicolargo 88740eb851 Update Grafana dashboard accoording to issue #856 2016-04-28 17:03:23 +02:00
Nicolargo 053f072d9b Correct Grafana dashboard (error on network interface bitrate. See issue #856 2016-04-28 16:44:28 +02:00
Nicolargo 3359da44a8 Correct log message 2016-04-28 16:39:59 +02:00
Nicolargo b347cb9ce8 Correct unitest Restful for amp 2016-04-28 10:44:08 +02:00
Nicolargo eeb847fba6 Correct an issue on AMP module import error 2016-04-28 10:06:00 +02:00
Nicolargo d379ef22e9 Remove timeout from urllib 2016-04-28 09:51:25 +02:00
nicolargo 2a09d3cdf0 Add SystemV AMP, no more log message 2016-04-27 21:37:15 +02:00
nicolargo ba249a7514 Add SystemV AMP 2016-04-27 21:35:19 +02:00
Nicolargo 4613342019 Improve default configuration for ctx_switches 2016-04-27 14:58:40 +02:00
Nicolargo 4934d78d8e Improve default configuration values for IO stats 2016-04-27 11:55:21 +02:00
Nicolargo b7ac674b35 Update Systemd doc 2016-04-25 18:17:12 +02:00
Nicolargo bad96d34bb Add Systemd AMP 2016-04-25 18:03:05 +02:00
Nicolargo 84a40237db Use the one_line method 2016-04-25 13:42:19 +02:00
Nicolargo 37c2d75772 Correct logs messages 2016-04-25 10:49:02 +02:00
nicolargo e57eef141a Doc updated. Have to test it with degraded cases 2016-04-24 22:17:39 +02:00
nicolargo 83b098a16c AMP is now compatible with Glances client/server mode 2016-04-24 17:51:55 +02:00
Nicolas Hennion 8e1fbb1573 Merge pull request #852 from desbma/develop
Fix #849 - part 2
2016-04-20 09:41:05 +02:00
desbma b410a0c4ed Fix #849 - part 2 2016-04-20 00:46:12 +02:00
Nicolas Hennion 7fd7239a91 Merge pull request #850 from notFloran/webui-fix-cpu-hide-data
[WebUI] Hide additional cpu data if not available
2016-04-19 22:40:52 +02:00
Nicolas Hennion 62e3142db9 Merge pull request #851 from desbma/develop
Fix #849
2016-04-19 22:38:35 +02:00
nicolargo d64ee5534f Crash with Docker 1.11 #848 2016-04-18 22:49:26 +02:00
desbma b834ccb055 Fix #849 2016-04-17 23:14:17 +02:00
Floran Brutel 48261e9673 [WebUI] Hide additional cpu data if not available 2016-04-17 19:12:19 +02:00
nicolargo 5481771263 AMP Nginx OK 2016-04-16 16:15:36 +02:00
nicolargo 3894233375 Regression corrected 2016-04-15 16:10:24 +02:00
nicolargo 09d87e0a4e Regression on Monitoring list 2016-04-15 15:05:32 +02:00
nicolargo 8efb5e2ac8 First run for the Nginx AMP process 2016-04-14 19:40:36 +02:00
Alessio Sergi b5e59d3e3a str.split() does not accept maxsplit as a keyword argument in Python2 2016-04-04 20:37:31 +02:00
Nicolargo ff613348eb Glances stopped working when using VPN with no internet access. #842 2016-04-04 16:24:20 +02:00
Nicolas Hennion e4c3cffbdb Merge pull request #841 from nclsHart/webui-fix-839
[Web UI] Fix process list sometimes not display on firefox
2016-04-04 13:45:42 +02:00
Nicolas Hart 4208ab81e0 [Web UI] Fix process list sometimes not display on firefox
fix #839
2016-04-04 13:40:23 +02:00
Alessio Sergi d9bdce6848 Fix highlighting for Chrome/Chromium processes on Linux
Workaround for psutil#742.
2016-04-04 12:07:07 +02:00
Nicolas Hennion 52414be893 Merge pull request #835 from nclsHart/webui-fix-long-cmdline
[Web UI] Fix process long command line displayed as array
2016-04-03 10:40:13 +02:00
Nicolas Hennion 0fd8567d33 Merge pull request #834 from nclsHart/webui-public-ip-address
[Web UI] Add public IP address
2016-04-03 10:39:57 +02:00
Nicolas Hart 7d135cf473 [Web UI] Fix process long command line displayed as array 2016-04-02 23:24:17 +02:00
Nicolas Hart c72a593a9b [Web UI] Add public IP address 2016-04-02 22:13:57 +02:00
nicolargo 3d59773a5e Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-04-02 17:00:19 +02:00
nicolargo 9260c953a8 Correct an issue on IP public with Python 3 (issue #646) 2016-04-02 16:59:44 +02:00
Nicolas Hennion 555ffb2e4d Merge pull request #833 from nclsHart/webui-cpu-additional-stats
[Web UI] Add additional cpu stats
2016-04-02 15:41:13 +02:00
nicolargo 33d01bf586 Improve IP plugin to display public IP address #646 2016-04-02 15:38:32 +02:00
Nicolas Hart e548818725 [Web UI] add decoration on cpu context switches 2016-04-02 15:17:16 +02:00
Nicolas Hart 76262c2222 [Web UI] Add additional cpu stats
refs #810
2016-04-02 14:52:05 +02:00
Nicolargo cfbb1e3fc3 Extension of log file is not good when a previous one exist 2016-04-01 14:17:34 +02:00
nicolargo f5d157a7cf Correct Restful unitest for the previous commit 2016-03-31 13:23:46 +02:00
nicolargo 34a500e3ed CPU additionnal stats monitoring: Context switch, Interrupts... (issue #810) 2016-03-31 12:30:14 +02:00
Nicolas Hennion 4e9cf18ce6 Merge pull request #831 from nclsHart/webui-fix-folder-issue-decoration
[Web UI] Fix folder plugin decoration issue for exclamation/question mark
2016-03-30 08:23:24 +02:00
Nicolas Hart 1672e63e88 [Web UI] fix folder plugin decoration issue for exclamation/question mark 2016-03-29 23:55:43 +02:00
nicolargo 42a657d16c Update NEWS file 2016-03-29 22:41:01 +02:00
Alessio Sergi a467d22b9b hddtemp: handle 'UNK' status as well (#824) 2016-03-29 13:33:53 +02:00
Alessio Sergi 8c5b74ed6a Fix some doc and comments
Add riemann to the index, otherwise it doesn't exist.
2016-03-29 11:29:13 +02:00
nicolargo ee471b9dd7 [Folders] Differentiate permission issue and non-existence of a directory (issue #828) 2016-03-28 20:56:44 +02:00
nicolargo fd2c2f28e8 Update NEWS file for issue #829 2016-03-28 20:17:03 +02:00
Nicolas Hennion 0ab09c4c7b Merge pull request #829 from nclsHart/webui-fix-folders-plugin
[Web UI] Fix folders plugin never displayed
2016-03-28 17:34:09 +02:00
Nicolas Hart 67ba75c7c1 [Web UI] Fix folders plugin never displayed 2016-03-28 17:01:25 +02:00
nicolargo 9787829847 Update doc to explain '?' in the folder plugin 2016-03-28 14:35:12 +02:00
nicolargo ba2e752fc6 Merge commit '1806d14' into develop 2016-03-28 11:19:08 +02:00
nicolargo 1806d14d83 Change issue and PR templates 2/2 2016-03-28 11:18:21 +02:00
nicolargo 7cd3f60de0 Merge commit '12bab08b43fd169feb7' into develop 2016-03-28 11:15:16 +02:00
nicolargo 12bab08b43 Change issue and PR templates 2016-03-28 11:14:20 +02:00
nicolargo 9e1b86413a Merge commit '31ed2db' 2016-03-28 10:58:45 +02:00
Nicolas Hennion 6f512255bb Merge pull request #827 from nclsHart/templates
Add issue and PR templates
2016-03-28 10:56:54 +02:00
nicolargo 537baa23dd Crash on launch when viewing temperature of laptop HDD in sleep mode 2/2 (issue #824) 2016-03-28 10:52:53 +02:00
Nicolas Hart 31ed2dba24 add issue and PR templates 2016-03-28 10:35:14 +02:00
nicolargo e8fda683f1 Use memory_info instead of memory_info_ex. Use memory_full_info with USS and PSS for the top process (extended stat) (related to issue#797) 2016-03-27 23:31:25 +02:00
Nicolas Hennion f5cc721360 Merge pull request #825 from nclsHart/webui-cpu-name
[Web UI] add cpu name in quicklook plugin
2016-03-27 22:29:51 +02:00
nicolargo cef35eb23d Crash on launch when viewing temperature of laptop HDD in sleep mode #824 2016-03-27 18:47:22 +02:00
Nicolas Hart 6e154824bc [Web UI] add cpu name in quicklook plugin 2016-03-27 10:37:52 +02:00
nicolargo edb9eedf32 O, the road of the next release 2016-03-26 17:55:08 +01:00
535 changed files with 67166 additions and 61256 deletions

29
.coveragerc Normal file
View File

@ -0,0 +1,29 @@
[report]
include =
*glances*
omit =
glances/outputs/*
glances/exports/*
glances/compat.py
glances/autodiscover.py
glances/client_browser.py
glances/config.py
glances/history.py
glances/monitored_list.py
glances/outdated.py
glances/password*.py
glances/snmp.py
glances/static_list.py
exclude_lines =
pragma: no cover
if PY3:
if __name__ == .__main__.:
if sys.platform.startswith
except ImportError:
raise NotImplementedError
if WINDOWS
if MACOS
if BSD

22
.dockerignore Normal file
View File

@ -0,0 +1,22 @@
# Ignore everything
*
# Include only code files
!/glances/**/*.py
# Include WebUI files (remove when webui moved to seperate package)
!/glances/outputs/static
# Include Requirements files
!/all-requirements.txt
!/docker-requirements.txt
# Include Config file
!/docker-compose/glances.conf
!/docker-files/docker-logger.json
# Include Binary file
!/docker-bin.sh
# Include TOML file
!/pyproject.toml

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
glances/outputs/static/public/* -diff linguist-vendored

3
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,3 @@
# These are supported funding model platforms
github: nicolargo

27
.github/ISSUE_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,27 @@
Before filling this issue, please read the manual (https://glances.readthedocs.io/en/latest/) and search if the bug do not already exists in the database (https://github.com/nicolargo/glances/issues).
For any questions concerning installation or use, please open a discussion (https://github.com/nicolargo/glances/discussions), not an issue.
#### Description
For a bug: Describe the bug and list the steps you used when the issue occurred.
For an enhancement or new feature: Describe your needs.
#### Versions
* Glances & psutil versions: `To be completed with result of: glances -V`
* Operating System: `To be completed with result of: lsb_release -a`
* How do you install Glances (Pypi package, script, package manager, source): `To be completed`
* Glances test (only available with Glances 3.1.7 or higher):
```
To be completed with result of: glances --issue
```
#### Configuration and log file
You can also [pastebin](https://pastebin.com/):
* the Glances configuration file (https://glances.readthedocs.io/en/latest/config.html#location)
* the Glances log file (https://glances.readthedocs.io/en/latest/config.html#logging)

40
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Check the bug**
Before filling this bug report, please search if a similar issue already exists.
In this case, just add a comment on this existing issue.
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Start Glances with the following options '...'
2. Press the key '....'
3. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environement (please complete the following information)**
- Operating System (lsb_release -a or OS name/version): `To be completed with result of: lsb_release -a`
- Glances & psutil versions: `To be completed with result of: glances -V`
- How do you install Glances (Pypi package, script, package manager, source): `To be completed`
- Glances test: ` To be completed with result of: glances --issue`
**Additional context**
Add any other context about the problem here.
You can also [pastebin](https://pastebin.com/):
* the Glances configuration file (https://glances.readthedocs.io/en/latest/config.html#location)
* the Glances log file (https://glances.readthedocs.io/en/latest/config.html#logging)

View File

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

11
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,11 @@
#### Description
Please describe the goal of this pull request.
For any questions concerning installation or use, please open a discussion (https://github.com/nicolargo/glances/discussions), not an issue.
#### Resume
* Bug fix: yes/no
* New feature: yes/no
* Fixed tickets: comma-separated list of tickets fixed by the PR, if any

82
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,82 @@
# This pipeline aims at building Glances Pypi packages
name: build
on:
workflow_call:
jobs:
build:
name: Build distribution 📦
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
pypi:
name: Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
needs:
- build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/glances
permissions:
attestations: write
id-token: write
steps:
- name: Download all the dists
uses: actions/download-artifact@v5
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
attestations: false
print-hash: true
pypi_test:
name: Publish Python 🐍 distribution 📦 to TestPyPI
if: github.ref == 'refs/heads/develop'
needs:
- build
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://pypi.org/p/glances
permissions:
attestations: write
id-token: write
steps:
- name: Download all the dists
uses: actions/download-artifact@v5
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true
attestations: false

105
.github/workflows/build_docker.yml vendored Normal file
View File

@ -0,0 +1,105 @@
# This pipeline aims at building Glances Docker images
name: build_docker
env:
DEFAULT_DOCKER_IMAGE: nicolargo/glances
PUSH_BRANCH: ${{ 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/v') }}
# Alpine image platform: https://hub.docker.com/_/alpine
# linux/arm/v6,linux/arm/v7 do not work (timeout during the build)
DOCKER_PLATFORMS: linux/amd64,linux/arm64/v8
# Ubuntu image platforms list: https://hub.docker.com/_/ubuntu
# linux/arm/v7 do not work (Cargo/Rust not available)
DOCKER_PLATFORMS_UBUNTU: linux/amd64,linux/arm64/v8
on:
workflow_call:
secrets:
DOCKER_USERNAME:
description: 'Docker Hub username'
required: true
DOCKER_TOKEN:
description: 'Docker Hub token'
required: true
jobs:
create_docker_images_list:
runs-on: ubuntu-latest
outputs:
tags: ${{ steps.config.outputs.tags }}
steps:
- name: Determine image tags
id: config
shell: bash
run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/v}
TAG_ARRAY="[{ \"target\": \"minimal\", \"tag\": \"${VERSION}\" },"
TAG_ARRAY="$TAG_ARRAY { \"target\": \"minimal\", \"tag\": \"latest\" },"
TAG_ARRAY="$TAG_ARRAY { \"target\": \"full\", \"tag\": \"${VERSION}-full\" },"
TAG_ARRAY="$TAG_ARRAY { \"target\": \"full\", \"tag\": \"latest-full\" }]"
elif [[ $GITHUB_REF == refs/heads/develop ]]; then
TAG_ARRAY="[{ \"target\": \"dev\", \"tag\": \"dev\" }]"
else
TAG_ARRAY="[]"
fi
echo "Tags to build: $TAG_ARRAY"
echo "tags=$TAG_ARRAY" >> $GITHUB_OUTPUT
build_docker_images:
runs-on: ubuntu-latest
needs:
- create_docker_images_list
strategy:
fail-fast: false
matrix:
os: ['alpine', 'ubuntu']
tag: ${{ fromJson(needs.create_docker_images_list.outputs.tags) }}
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Retrieve Repository Docker metadata
id: docker_meta
uses: docker/metadata-action@v5
with:
images: ${{ env.DEFAULT_DOCKER_IMAGE }}
labels: |
org.opencontainers.image.url=https://nicolargo.github.io/glances/
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
version: latest
- name: Login to DockerHub
uses: docker/login-action@v3
if: ${{ env.PUSH_BRANCH == 'true' }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v6
with:
push: ${{ env.PUSH_BRANCH == 'true' }}
tags: "${{ env.DEFAULT_DOCKER_IMAGE }}:${{ matrix.os != 'alpine' && format('{0}-', matrix.os) || '' }}${{ matrix.tag.tag }}"
build-args: |
CHANGING_ARG=${{ github.sha }}
context: .
file: "docker-files/${{ matrix.os }}.Dockerfile"
platforms: ${{ matrix.os != 'ubuntu' && env.DOCKER_PLATFORMS || env.DOCKER_PLATFORMS_UBUNTU }}
target: ${{ matrix.tag.target }}
labels: ${{ steps.docker_meta.outputs.labels }}
# GHA default behaviour overwrites last build cache. Causes alpine and ubuntu cache to overwrite each other.
# Use `scope` with the os name to prevent that
cache-from: 'type=gha,scope=${{ matrix.os }}'
cache-to: 'type=gha,mode=max,scope=${{ matrix.os }}'

27
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: ci
on:
pull_request:
branches: [ develop ]
push:
branches: [ master, develop ]
tags:
- v*
jobs:
quality:
uses: ./.github/workflows/quality.yml
test:
uses: ./.github/workflows/test.yml
needs: [quality]
build:
if: github.event_name != 'pull_request'
uses: ./.github/workflows/build.yml
needs: [quality, test]
build_docker:
if: github.event_name != 'pull_request'
uses: ./.github/workflows/build_docker.yml
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
needs: [quality, test]

28
.github/workflows/cyber.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: cyber
on:
workflow_call:
jobs:
trivy:
name: Trivy scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'

22
.github/workflows/inactive_issues.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Label inactive issues
on:
schedule:
- cron: "30 1 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v10
with:
days-before-issue-stale: 90
days-before-issue-close: -1
stale-issue-label: "inactive"
stale-issue-message: "This issue is stale because it has been open for 3 months with no activity."
close-issue-message: "This issue was closed because it has been inactive for 30 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}

22
.github/workflows/needs_contributor.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Add a message when needs contributor tag is used
on:
issues:
types:
- labeled
jobs:
add-comment:
if: github.event.label.name == 'needs contributor'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: >
This issue is available for anyone to work on.
**Make sure to reference this issue in your pull request.**
:sparkles: Thank you for your contribution ! :sparkles:

54
.github/workflows/quality.yml vendored Normal file
View File

@ -0,0 +1,54 @@
name: quality
on:
workflow_call:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Checkout repository
uses: actions/checkout@v5
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

143
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,143 @@
# Run unitary test
name: test
on:
workflow_call:
jobs:
source-code-checks:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- name: Check formatting with Ruff
uses: chartboost/ruff-action@v1
with:
args: 'format --check'
- name: Check linting with Ruff
uses: chartboost/ruff-action@v1
with:
args: 'check'
# - name: Static type check
# run: |
# echo "Skipping static type check for the moment, too much error...";
# # pip install pyright
# # pyright glances
test-linux:
needs: source-code-checks
# https://github.com/actions/runner-images?tab=readme-ov-file#available-images
runs-on: ubuntu-24.04
strategy:
matrix:
# Python EOL version are note tested
# Multiple Python version only tested for Linux
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
if [ -f dev-requirements.txt ]; then python -m pip install -r dev-requirements.txt; fi
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
- name: Unitary tests
run: |
python -m pytest ./tests/test_core.py
test-windows:
needs: source-code-checks
# https://github.com/actions/runner-images?tab=readme-ov-file#available-images
runs-on: windows-2025
strategy:
matrix:
# Windows-curses not available for Python 3.14 for the moment
# See https://github.com/zephyrproject-rtos/windows-curses/issues/76
python-version: ["3.13"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
if (Test-Path -PathType Leaf "dev-requirements.txt") { python -m pip install -r dev-requirements.txt }
if (Test-Path -PathType Leaf "requirements.txt") { python -m pip install -r requirements.txt }
pip install .
- name: Unitary tests
run: |
python -m pytest ./tests/test_core.py
test-macos:
needs: source-code-checks
# https://github.com/actions/runner-images?tab=readme-ov-file#available-images
runs-on: macos-15
strategy:
matrix:
# Only test the latest stable version
python-version: ["3.14"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
if [ -f dev-requirements.txt ]; then python -m pip install -r dev-requirements.txt; fi
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
- name: Unitary tests
run: |
python -m pytest ./tests/test_core.py
# Error when trying to implement #2749
# pkg: No packages available to install matching 'py-pip' have been found in the repositories
# test-freebsd:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v4
# - name: Run tests
# uses: vmactions/freebsd-vm@v1
# with:
# usesh: true
# prepare: |
# pkg install -y python3
# run: |
# set -e -x
# python3 -m pip install pytest
# python3 -m pip install --user -r dev-requirements.txt
# python3 -m pip install --user -r requirements.txt
# python3 -m pytest ./tests/test_core.py

40
.github/workflows/webui.yml vendored Normal file
View File

@ -0,0 +1,40 @@
name: webui
on:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v5
- name: Glances will be build with Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./glances/outputs/static/package-lock.json
- name: Build Glances WebUI
working-directory: ./glances/outputs/static
# TODO: add the following line when https://github.com/nicolargo/glances/issues/2914 will be solved
# npm audit fix
run: |
npm ci
npm run build
- name: Commit and push WebUI
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
git add glances/outputs/static
/bin/bash -c "git commit -m '${{ env.CI_COMMIT_MESSAGE }}' || true"
git push

34
.gitignore vendored
View File

@ -7,7 +7,8 @@
dist
build
# Eclipse
# Eclipse and other IDE
.idea
*.pydevproject
.project
.metadata
@ -22,9 +23,11 @@ local.properties
.classpath
.settings/
.loadpath
.ipynb_checkpoints/
# External tool builders
.externalToolBuilders/
*yarn.lock
# Locally stored "Eclipse launch configurations"
*.launch
@ -43,3 +46,32 @@ _build
# Tox
.tox/
# web ui
node_modules/
bower_components/
# visual stdio code
.vscode/
# Snap packaging specific
/snap/.snapcraft/
/parts/
/stage/
/prime/
/*.snap
/*_source.tar.bz2
# Virtual env
.venv-uv/
.venv/
uv.lock
.python-version
# Test
.coverage
tests-data/issues/*/config/
# Local SSL certificates
glances.local*.pem

13
.mailmap Normal file
View File

@ -0,0 +1,13 @@
Nicolas Hennion <nicolashennion@gmail.com> Nicolargo <nicolas@nicolargo.com>
Nicolas Hennion <nicolashennion@gmail.com> Nicolas Hennion <nicolas@nicolargo.com>
Nicolas Hennion <nicolashennion@gmail.com> nicolargo <nicolas@nicolargo.com>
Nicolas Hennion <nicolashennion@gmail.com> nicolargo <nicolashennion@gmail.com>
Nicolas Hennion <nicolashennion@gmail.com> nicolargo <nicolargo@nicolargo-boulot.(none)>
Nicolas Hennion <nicolashennion@gmail.com> nicolargo <nicolargo@nicolargo-fujitsu.(none)>
Nicolas Hennion <nicolashennion@gmail.com> Nicolargo <nicolashennion@gmail.com>
Nicolas Hennion <nicolashennion@gmail.com> nicolargo <nicolargo@lifebook.(none)>
Alessio Sergi <al3hex@gmail.com> asergi <al3hex@gmail.com>
Nicolas Hart <contact@nclshart.net> nclsHart <contact@nclshart.net>
Nicolas Hart <contact@nclshart.net> Nicolas Hart <n.hart@hexanet.fr>
Floran Brutel <f.brutel@hexanet.fr> Floran Brutel <contact@floran.fr>
Brandon Philips <brandon@ifup.org> Brandon Philips <brandon.philips@rackspace.com>

107
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,107 @@
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.24.2
hooks:
- id: gitleaks
name: "🔒 security · Detect hardcoded secrets"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
hooks:
- id: ruff-format
name: "🐍 python · Formatter with Ruff"
types_or: [ python, pyi ]
args: [ --config, './pyproject.toml' ]
- id: ruff-check
name: "🐍 python · Linter with Ruff"
types_or: [ python, pyi ]
args: [ --fix, --exit-non-zero-on-fix, --config, './pyproject.toml' ]
# - repo: https://github.com/RobertCraigie/pyright-python
# rev: v1.1.391
# hooks:
# - id: pyright
# name: "🐍 python · Check types"
# - repo: https://github.com/biomejs/pre-commit
# rev: "v2.3.7"
# hooks:
# - id: biome-check
# name: "🟨 javascript · Lint, format, and safe fixes with Biome"
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.35.0
hooks:
- id: check-github-workflows
name: "🐙 github-actions · Validate gh workflow files"
args: ["--verbose"]
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.11.0.1
hooks:
- id: shellcheck
name: "🐚 shell · Lint shell scripts"
- repo: https://github.com/openstack/bashate
rev: 2.1.1
hooks:
- id: bashate
name: "🐚 shell · Check shell script code style"
entry: bashate --error . --ignore=E006
# - repo: https://github.com/mrtazz/checkmake.git
# rev: 0.2.2
# hooks:
# - id: checkmake
# name: "🐮 Makefile · Lint Makefile"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-executables-have-shebangs
name: "📁 filesystem/⚙️ exec · Verify shebang presence"
- id: check-shebang-scripts-are-executable
name: "📁 filesystem/⚙️ exec · Verify script permissions"
- id: check-case-conflict
name: "📁 filesystem/📝 names · Check case sensitivity"
- id: destroyed-symlinks
name: "📁 filesystem/🔗 symlink · Detect broken symlinks"
- id: check-merge-conflict
name: "🌳 git · Detect conflict markers"
- id: forbid-new-submodules
name: "🌳 git · Prevent submodule creation"
- id: no-commit-to-branch
name: "🌳 git · Protect main branches"
args: ["--branch", "main", "--branch", "master"]
- id: check-added-large-files
name: "🌳 git · Block large file commits"
args: ['--maxkb=5000']
- id: check-ast
name: "🐍 python/🔍 quality · Validate Python AST"
- id: check-docstring-first
name: "🐍 python/📝 style · Enforce docstring at top"
- id: check-json
name: "📄 formats/json · Validate JSON files"
- id: check-shebang-scripts-are-executable
name: "📁 filesystem/⚙️ exec · Ensure scripts are executable"
- id: check-toml
name: "📄 formats/toml · Validate TOML files"
- id: check-yaml
name: "📄 formats/yaml · Validate YAML syntax"
- id: debug-statements
name: "🐍 python/🪲 debug · Detect debug statements"
- id: detect-private-key
name: "🔐 security · Detect private keys"
- id: mixed-line-ending
name: "📄 text/↩️ newline · Normalize line endings"
- id: requirements-txt-fixer
name: "🐍 python/📦 deps · Sort requirements.txt"
- repo: local
hooks:
- id: find-duplicate-lines
name: "❗local script · Find duplicate lines at the end of file"
entry: bash tests-data/tools/find-duplicate-lines.sh
language: system
types: [python]
pass_filenames: false

34
.readthedocs.yaml Normal file
View File

@ -0,0 +1,34 @@
# Read the Docs configuration file for Glances projects
# Required
version: 2
# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true
# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: dev-requirements.txt

10
.reuse/dep5 Normal file
View File

@ -0,0 +1,10 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Glances
Upstream-Contact: Nicolas Hennion <nicolashennion@gmail.com>
Source: https://github.com/nicolargo/glances
# Sample paragraph, commented out:
#
# Files: src/*
# Copyright: $YEAR $NAME <$CONTACT>
# License: ...

View File

@ -1,15 +0,0 @@
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- python setup.py install
- coverage run --source=glances unitest.py
after_success:
- coveralls

32
AUTHORS
View File

@ -7,13 +7,25 @@ http://blog.nicolargo.com
https://twitter.com/nicolargo
https://github.com/nicolargo
nicolashennion@gmail.com
PGP Fingerprint: 835F C447 3BCD 60E9 9200 2778 ABA4 D1AB 9731 6A3C
PGP Public key: gpg --keyserver pgp.mit.edu --recv-keys 0xaba4d1ab97316a3c
PGP Fingerprint: A0D9 628F 5A83 A879 48EA B1FE BA43 C11F 2C8B 4347
PGP Public key: gpg --keyserver pgp.mit.edu --recv-keys 0xba43c11f2c8b4347
Alessio Sergi (aka) Al3hex
RazCrimson (maintainer of the Glances project)
https://github.com/RazCrimson
Ariel Otibili (aka) ariel-anieli (for the huge work on code quality)
https://github.com/ariel-anieli
Alessio Sergi (aka) Al3hex (thanks you for the great job on this project)
https://twitter.com/al3hex
https://github.com/asergi
Floran Brutel (aka) notFloran (maintainer of the Web User Interface)
https://github.com/notFloran
fr4nc0is (maintainer of the Web User Interface)
https://github.com/fr4nc0is
Brandon Philips (aka) Philips
http://ifup.org/
https://github.com/philips
@ -30,17 +42,21 @@ https://github.com/nclsHart
Sylvain Mouquet (aka) SylvainMouquet (for the Web user interface)
http://github.com/sylvainmouquet
Floran Brutel (aka) notFloran (for the Web user interface)
https://github.com/notFloran
Erik Eriksson (aka) Molobrakos (for the MQTT plugin and various PR)
https://www.linkedin.com/in/error-errorsson/
=========
Packagers
=========
林博仁(Buo-ren Lin) Lin-Buo-Ren for the Snap package
https://lin-buo-ren.github.io/
https://snapcraft.io/glances/releases
Daniel Echeverry and Sebastien Badia for the Debian package
https://tracker.debian.org/pkg/glances
Philip Lacroix for the Slackware (SlackBuild) package
Philip Lacroix and Nicolas Kovacs for the Slackware (SlackBuild) package
gasol.wu@gmail.com for the FreeBSD port
@ -51,3 +67,7 @@ http://www.macports.org/ports.php?by=name&substr=glances
John Kirkham for the conda package (at conda-forge)
https://github.com/conda-forge/glances-feedstock
Rui Chen for the Homebrew package
https://chenrui.dev/
https://formulae.brew.sh/formula/glances

73
CODE-OF-CONDUCT.md Normal file
View File

@ -0,0 +1,73 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
education, socioeconomic status, nationality, personal appearance, race,
religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at nicolashennion@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: https://www.contributor-covenant.org

View File

@ -10,7 +10,6 @@ the developers managing and developing this open source project. In return,
they should reciprocate that respect in addressing your issue or assessing
patches and features.
## Using the issue tracker
The [issue tracker](https://github.com/nicolargo/glances/issues) is
@ -18,12 +17,12 @@ the preferred channel for [bug reports](#bug-reports), [features requests](#feat
and [submitting pull requests](#pull-requests), but please respect the following
restrictions:
* Please **do not** use the issue tracker for personal support requests. A official Q&A exist. [Use it](https://groups.google.com/forum/?hl=en#!forum/glances-users)!
* Please **do not** use the issue tracker for personal support requests. An
official Q&A exist. [Use it](https://groups.google.com/forum/?hl=en#!forum/glances-users)!
* Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.
## Bug reports
A bug is a _demonstrable problem_ that is caused by the code in the repository.
@ -44,9 +43,9 @@ Guidelines for bug reports:
Example:
> Short and descriptive example bug report title
> Short and descriptive example bug report title.
>
> Glances and PsUtil version used (glances -V)
> Glances and psutil version used (glances -V).
>
> Operating system description (name and version).
>
@ -57,22 +56,24 @@ Example:
> 2. This is the second step
> 3. Further steps, etc.
>
> Screenshot (if usefull)
> Screenshot (if useful)
>
> Any other information you want to share that is relevant to the issue being
> reported. This might include the lines of code that you have identified as
> causing the bug, and potential solutions (and your opinions on their
> merits).
>
> You can also run Glances in debug mode (-d) and paste/bin the glances.conf file (<https://glances.readthedocs.io/en/latest/config.html>).
>
> Glances 3.2.0 or higher have also a --issue option to run a simple test. Please use it and copy/paste the output.
## Feature requests
Feature requests are welcome. But take a moment to find out whether your idea
fits with the scope and aims of the project. It's up to *you* to make a strong
fits with the scope and aims of the project. It's up to _you* to make a strong
case to convince the project's developers of the merits of this feature. Please
provide as much detail and context as possible.
## Pull requests
Good pull requests—patches, improvements, new features—are a fantastic
@ -86,12 +87,13 @@ project's developers might not want to merge into the project.
First of all, all pull request should be done on the `develop` branch.
Glances uses PEP8 compatible code, so use a PEP validator before submitting
your pull request. Also uses the unitaries tests scripts (unitest.py).
Glances uses PEP8 compatible code, so use a PEP validator before submitting
your pull request. Also uses the unitaries tests scripts (unitest-all.py).
Similarly, when contributing to Glances's documentation, you should edit the
documentation source files in
[the `/doc/` and `/man/` directories of the `develop` branch](https://github.com/nicolargo/glances/tree/develop/docs).
[the `/doc/` and `/man/` directories of the `develop` branch](https://github.com/nicolargo/glances/tree/develop/docs) and generate
the documentation outputs files by reading the [README](https://github.com/nicolargo/glances/tree/develop/docs/README.txt) file.
Adhering to the following process is the best way to get your work
included in the project:
@ -124,27 +126,37 @@ included in the project:
4. It's coding time !
Please respect the following coding convention: [Elements of Python Style](https://github.com/amontalenti/elements-of-python-style)
Commit your changes in logical chunks. Please adhere to these [git commit
5. Test you code using the Makefile:
* make format ==> Format your code thanks to the Ruff linter
* make run ==> Run Glances
* make run-webserver ==> Run a Glances Web Server
* make test ==> Run unit tests
* make docs ==> Update docs
* make webui ==> Compile a new Web UI
6. Commit your changes in logical chunks. Please adhere to these [git commit
message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
or your code is unlikely be merged into the main project. Use Git's
[interactive rebase](https://help.github.com/articles/interactive-rebase)
feature to tidy up your commits before making them public.
5. Locally merge (or rebase) the upstream development branch into your topic branch:
7. Locally merge (or rebase) the upstream development branch into your topic branch:
```bash
git pull [--rebase] upstream develop
```
6. Push your topic branch up to your fork:
8. Push your topic branch up to your fork:
```bash
git push origin <topic-branch-name>
```
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
9. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
with a clear title and description against the `develop` branch.
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to
license your work under the terms of the [LGPL](LICENSE) (if it
license your work under the terms of the [LGPLv3](COPYING) (if it
includes code changes).

394
COPYING
View File

@ -1,166 +1,304 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below.
0. Additional Definitions.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
"The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version:
2. Conveying Modified Versions.
a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy.
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.
3. Object Code Incorporating Material from Library Header Files.
b) Accompany the object code with a copy of the GNU GPL and this license document.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
4. Combined Works.
You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
b) Accompany the Combined Work with a copy of the GNU GPL and this license document.
4. Combined Works.
c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
d) Do one of the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.)
d) Do one of the following:
5. Combined Libraries.
You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
5. Combined Libraries.
Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
6. Revised Versions of the GNU Lesser General Public License.
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Preamble
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
The GNU General Public License is a free, copyleft license for software and other kinds of works.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS
0. Definitions.
“This License” refers to version 3 of the GNU General Public License.
“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
A “covered work” means either the unmodified Program or a work based on the Program.
To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms.
“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents.
A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@ -1,24 +0,0 @@
#
# Glances Dockerfile
#
# https://github.com/nicolargo/glances
#
# Pull base image.
FROM ubuntu
# Install Glances (develop branch)
RUN apt-get -y install curl && \
curl -L https://raw.githubusercontent.com/nicolargo/glancesautoinstall/master/install-develop.sh | /bin/bash
# Define working directory.
WORKDIR /glances
# EXPOSE PORT (For XMLRPC)
EXPOSE 61209
# EXPOSE PORT (For Web UI)
EXPOSE 61208
# Define default command.
CMD python -m glances $GLANCES_OPT

304
LICENSES/LGPL-3.0-only.txt Normal file
View File

@ -0,0 +1,304 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License.
"The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version".
The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version:
a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following:
a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license document.
c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version.
e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS
0. Definitions.
“This License” refers to version 3 of the GNU General Public License.
“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
A “covered work” means either the unmodified Program or a work based on the Program.
To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms.
“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents.
A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@ -1,8 +1,14 @@
include AUTHORS
include CONTRIBUTING.md
include COPYING
include NEWS
include NEWS.rst
include README.rst
include README-pypi.rst
include SECURITY.md
include conf/glances.conf
include conf/fetch-templates/*.jinja
include requirements.txt
include all-requirements.txt
recursive-include docs *
recursive-include glances *.py
recursive-include glances/outputs/static *

387
Makefile Normal file
View File

@ -0,0 +1,387 @@
PORT ?= 8008
CONF := conf/glances.conf
LASTTAG = $(shell git describe --tags --abbrev=0)
IMAGES_TYPES := full minimal
DISTROS := alpine ubuntu
alpine_images := $(IMAGES_TYPES:%=docker-alpine-%)
ubuntu_images := $(IMAGES_TYPES:%=docker-ubuntu-%)
DOCKER_IMAGES := $(alpine_images) $(ubuntu_images)
DOCKER_RUNTIMES := $(DOCKER_IMAGES:%=run-%)
UNIT_TESTS := test-core test-restful test-xmlrpc
DOCKER_BUILD := docker buildx build
DOCKER_RUN := docker run
PODMAN_SOCK ?= /run/user/$(shell id -u)/podman/podman.sock
DOCKER_SOCK ?= /var/run/docker.sock
DOCKER_SOCKS := -v $(PODMAN_SOCK):$(PODMAN_SOCK):ro -v $(DOCKER_SOCK):$(DOCKER_SOCK):ro
DOCKER_OPTS := --rm -e TZ="${TZ}" -e GLANCES_OPT="" --pid host --network host
UV_RUN := .venv-uv/bin/uv
# if the command is only `make`, the default tasks will be the printing of the help.
.DEFAULT_GOAL := help
.PHONY: help test docs docs-server venv requirements profiling docker all clean all test
help: ## List all make commands available
@grep -E '^[\.a-zA-Z_%-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk -F ":" '{print $1}' | \
grep -v % | sed 's/\\//g' | sort | \
awk 'BEGIN {FS = ":[^:]*?##"}; {printf "\033[1;34mmake %-50s\033[0m %s\n", $$1, $$2}'
# ===================================================================
# Virtualenv
# ===================================================================
# install-uv: ## Instructions to install the UV tool
# @echo "Install the UV tool (https://astral.sh/uv/)"
# @echo "Please install the UV tool manually"
# @echo "For example with: curl -LsSf https://astral.sh/uv/install.sh | sh"
# @echo "Or via a package manager of your distribution"
# @echo "For example for Snap: snap install astral-uv"
install-uv: ## Install UV tool in a specific virtualenv
python3 -m venv .venv-uv
.venv-uv/bin/pip install uv
upgrade-uv: ## Upgrade the UV tool
.venv-uv/bin/pip install --upgrade pip
.venv-uv/bin/pip install --upgrade uv
venv: ## Create the virtualenv with all dependencies
$(UV_RUN) sync --all-extras --no-group dev
venv-upgrade venv-switch-to-full: ## Upgrade the virtualenv with all dependencies
$(UV_RUN) sync --upgrade --all-extras
venv-min: ## Create the virtualenv with minimal dependencies
$(UV_RUN) sync
venv-upgrade-min venv-switch-to-min: ## Upgrade the virtualenv with minimal dependencies
$(UV_RUN) sync --upgrade
venv-clean: ## Remove the virtualenv
rm -rf .venv
venv-dev: ## Create the virtualenv with dev dependencies
$(UV_RUN) sync --dev --all-extras
$(UV_RUN) run pre-commit install --hook-type pre-commit
# ===================================================================
# Requirements
#
# Note: the --no-hashes option should be used because pip (in CI) has
# issues with hashes.
# ===================================================================
requirements-min: ## Generate the requirements.txt files (minimal dependencies)
$(UV_RUN) export --no-emit-workspace --no-hashes --no-group dev --output-file requirements.txt
requirements-all: ## Generate the all-requirements.txt files (all dependencies)
$(UV_RUN) export --no-emit-workspace --no-hashes --all-extras --no-group dev --output-file all-requirements.txt
requirements-docker: ## Generate the docker-requirements.txt files (Docker specific dependencies)
$(UV_RUN) export --no-emit-workspace --no-hashes --no-group dev --extra containers --extra web --output-file docker-requirements.txt
requirements-dev: ## Generate the dev-requirements.txt files (dev dependencies)
$(UV_RUN) export --no-hashes --only-dev --output-file dev-requirements.txt
requirements: requirements-min requirements-all requirements-dev requirements-docker ## Generate all the requirements files
requirements-upgrade: venv-upgrade requirements ## Upgrade the virtualenv and regenerate all the requirements files
# ===================================================================
# Tests
# ===================================================================
test: ## Run All unit tests
$(UV_RUN) run pytest
test-core: ## Run Core unit tests
$(UV_RUN) run pytest tests/test_core.py
test-api: ## Run API unit tests
$(UV_RUN) run pytest tests/test_api.py
test-memoryleak: ## Run Memory-leak unit tests
$(UV_RUN) run pytest tests/test_memoryleak.py
test-perf: ## Run Perf unit tests
$(UV_RUN) run pytest tests/test_perf.py
test-restful: ## Run Restful API unit tests
$(UV_RUN) run pytest tests/test_restful.py
test-webui: ## Run WebUI unit tests
$(UV_RUN) run pytest tests/test_webui.py
test-xmlrpc: ## Run XMLRPC API unit tests
$(UV_RUN) run pytest tests/test_xmlrpc.py
test-with-upgrade: venv-upgrade test ## Upgrade deps and run unit tests
test-export-csv: ## Run interface tests with CSV
/bin/bash ./tests/test_export_csv.sh
test-export-json: ## Run interface tests with JSON
/bin/bash ./tests/test_export_json.sh
test-export-influxdb-v1: ## Run interface tests with InfluxDB version 1 (Legacy)
/bin/bash ./tests/test_export_influxdb_v1.sh
test-export-influxdb-v3: ## Run interface tests with InfluxDB version 3 (Core)
/bin/bash ./tests/test_export_influxdb_v3.sh
test-export-timescaledb: ## Run interface tests with TimescaleDB
/bin/bash ./tests/test_export_timescaledb.sh
test-export-nats: ## Run interface tests with NATS
/bin/bash ./tests/test_export_nats.sh
test-exports: test-export-csv test-export-json test-export-influxdb-v1 test-export-influxdb-v3 test-export-timescaledb test-export-nats ## Tests all exports
# ===================================================================
# Linters, profilers and cyber security
# ===================================================================
pre-commit: ## Run pre-commit hooks
$(UV_RUN) run pre-commit run --all-files
find-duplicate-lines: ## Search for duplicate lines in files
/bin/bash tests-data/tools/find-duplicate-lines.sh
format: ## Format the code
$(UV_RUN) run ruff format .
lint: ## Lint the code.
$(UV_RUN) run ruff check . --fix
lint-readme: ## Lint the main README.rst file
$(UV_RUN) run rstcheck README.rst
$(UV_RUN) run rstcheck README-pypi.rst
codespell: ## Run codespell to fix common misspellings in text files
$(UV_RUN) run codespell -S .git,./docs/_build,./Glances.egg-info,./venv*,./glances/outputs,*.svg -L hart,bu,te,statics -w
semgrep: ## Run semgrep to find bugs and enforce code standards
$(UV_RUN) run semgrep scan --config=auto
profiling-%: SLEEP = 3
profiling-%: TIMES = 30
profiling-%: OUT_DIR = docs/_static
define DISPLAY-BANNER
@echo "Start Glances for $(TIMES) iterations (more or less 1 mins, please do not exit !)"
sleep $(SLEEP)
endef
profiling-gprof: CPROF = glances.cprof
profiling-gprof: ## Callgraph profiling (need "apt install graphviz")
$(DISPLAY-BANNER)
$(UV_RUN) run python -m cProfile -o $(CPROF) run-venv.py -C $(CONF) --stop-after $(TIMES)
$(UV_RUN) run gprof2dot -f pstats $(CPROF) | dot -Tsvg -o $(OUT_DIR)/glances-cgraph.svg
rm -f $(CPROF)
profiling-pyinstrument: ## PyInstrument profiling
$(DISPLAY-BANNER)
$(UV_RUN) add pyinstrument
$(UV_RUN) run pyinstrument -r html -o $(OUT_DIR)/glances-pyinstrument.html -m glances -C $(CONF) --stop-after $(TIMES)
profiling-pyspy: ## Flame profiling
$(DISPLAY-BANNER)
$(UV_RUN) run py-spy record -o $(OUT_DIR)/glances-flame.svg -d 60 -s -- .venv-uv/bin/uvrun python run-venv.py -C $(CONF) --stop-after $(TIMES)
profiling: profiling-gprof profiling-pyinstrument profiling-pyspy ## Profiling of the Glances software
trace-malloc: ## Trace the malloc() calls
@echo "Malloc test is running, please wait ~30 secondes..."
$(UV_RUN) run python -m glances -C $(CONF) --trace-malloc --stop-after 15 --quiet
memory-leak: ## Profile memory leaks
$(UV_RUN) run python -m glances -C $(CONF) --memory-leak
memory-profiling: TIMES = 2400
memory-profiling: PROFILE = mprofile_*.dat
memory-profiling: OUT_DIR = docs/_static
memory-profiling: ## Profile memory usage
@echo "It's a very long test (~4 hours)..."
rm -f $(PROFILE)
@echo "1/2 - Start memory profiling with the history option enable"
$(UV_RUN) run mprof run -T 1 -C run-venv.py -C $(CONF) --stop-after $(TIMES) --quiet
$(UV_RUN) run mprof plot --output $(OUT_DIR)/glances-memory-profiling-with-history.png
rm -f $(PROFILE)
@echo "2/2 - Start memory profiling with the history option disable"
$(UV_RUN) run mprof run -T 1 -C run-venv.py -C $(CONF) --disable-history --stop-after $(TIMES) --quiet
$(UV_RUN) run mprof plot --output $(OUT_DIR)/glances-memory-profiling-without-history.png
rm -f $(PROFILE)
# Trivy installation: https://aquasecurity.github.io/trivy/latest/getting-started/installation/
trivy: ## Run Trivy to find vulnerabilities
$(UV_RUN) run trivy fs ./glances/
bandit: ## Run Bandit to find vulnerabilities
$(UV_RUN) run bandit glances -r
# ===================================================================
# Docs
# ===================================================================
docs: ## Create the documentation
$(UV_RUN) run python -m glances -C $(CONF) --api-doc > ./docs/api/python.rst
$(UV_RUN) run python ./generate_openapi.py
$(UV_RUN) run python -m glances -C $(CONF) --api-restful-doc > ./docs/api/restful.rst
cd docs && ./build.sh && cd ..
docs-server: docs ## Start a Web server to serve the documentation
(sleep 2 && sensible-browser "http://localhost:$(PORT)") &
cd docs/_build/html/ && .venv-uv/bin/uvrun python -m http.server $(PORT)
docs-jupyter: ## Start Jupyter Notebook
$(UV_RUN) run --with jupyter jupyter lab
release-note: ## Generate release note
git --no-pager log $(LASTTAG)..HEAD --first-parent --pretty=format:"* %s"
@echo "\n"
git --no-pager shortlog -s -n $(LASTTAG)..HEAD
install: ## Open a Web Browser to the installation procedure
sensible-browser "https://github.com/nicolargo/glances#installation"
# ===================================================================
# WebUI
# Follow ./glances/outputs/static/README.md for more information
# ===================================================================
webui webui%: DIR = glances/outputs/static/
webui-gen-config: ## Generate the Web UI config file
$(UV_RUN) run python ./generate_webui_conf.py > ./glances/outputs/static/js/uiconfig.json
webui: webui-gen-config ## Build the Web UI
cd $(DIR) && npm ci && npm run build
webui-audit: ## Audit the Web UI
cd $(DIR) && npm audit
webui-audit-fix: webui-gen-config ## Fix audit the Web UI
cd $(DIR) && npm audit fix && npm ci && npm run build
webui-update: webui-gen-config ## Update JS dependencies
cd $(DIR) && npm update --save && npm ci && npm run build
# ===================================================================
# Packaging
# ===================================================================
flatpak: venv-upgrade ## Generate FlatPack JSON file
git clone https://github.com/flatpak/flatpak-builder-tools.git
$(UV_RUN) run python ./flatpak-builder-tools/pip/flatpak-pip-generator glances
rm -rf ./flatpak-builder-tools
@echo "Now follow: https://github.com/flathub/flathub/wiki/App-Submission"
# Snap package is automatically build on the Snapcraft.io platform
# https://snapcraft.io/glances
# But you can try an offline build with the following command
snapcraft:
snapcraft
# ===================================================================
# Docker
# Need Docker Buildx package (apt install docker-buildx on Ubuntu)
# ===================================================================
define MAKE_DOCKER_BUILD_RULES
$($(DISTRO)_images): docker-$(DISTRO)-%: docker-files/$(DISTRO).Dockerfile
$(DOCKER_BUILD) --target $$* -f $$< -t glances:local-$(DISTRO)-$$* .
endef
$(foreach DISTRO,$(DISTROS),$(eval $(MAKE_DOCKER_BUILD_RULES)))
docker: docker-alpine docker-ubuntu ## Generate local docker images
docker-alpine: $(alpine_images) ## Generate local docker images (Alpine)
docker-ubuntu: $(ubuntu_images) ## Generate local docker images (Ubuntu)
docker-alpine-full: ## Generate local docker image (Alpine full)
docker-alpine-minimal: ## Generate local docker image (Alpine minimal)
docker-alpine-dev: ## Generate local docker image (Alpine dev)
docker-ubuntu-full: ## Generate local docker image (Ubuntu full)
docker-ubuntu-minimal: ## Generate local docker image (Ubuntu minimal)
docker-ubuntu-dev: ## Generate local docker image (Ubuntu dev)
trivy-docker: ## Run Trivy to find vulnerabilities in Docker images
$(UV_RUN) run trivy image glances:local-alpine-full
$(UV_RUN) run trivy image glances:local-alpine-minimal
$(UV_RUN) run trivy image glances:local-ubuntu-full
$(UV_RUN) run trivy image glances:local-ubuntu-minimal
# ===================================================================
# Run
# ===================================================================
run: ## Start Glances in console mode (also called standalone)
$(UV_RUN) run python -m glances -C $(CONF)
run-debug: ## Start Glances in debug console mode (also called standalone)
$(UV_RUN) run python -m glances -C $(CONF) -d
run-local-conf: ## Start Glances in console mode with the system conf file
$(UV_RUN) run python -m glances
run-local-conf-hide-public: ## Start Glances in console mode with the system conf file and hide public information
$(UV_RUN) run python -m glances --hide-public-info
run-like-htop: ## Start Glances with the same features than Htop
$(UV_RUN) run python -m glances --disable-plugin network,ports,wifi,connections,diskio,fs,irq,folders,raid,smart,sensors,vms,containers,ip,amps --disable-left-sidebar
run-fetch: ## Start Glances in fetch mode
$(UV_RUN) run python -m glances --fetch
$(DOCKER_RUNTIMES): run-docker-%:
$(DOCKER_RUN) $(DOCKER_OPTS) $(DOCKER_SOCKS) -it glances:local-$*
run-docker-alpine-minimal: ## Start Glances Alpine Docker minimal in console mode
run-docker-alpine-full: ## Start Glances Alpine Docker full in console mode
run-docker-alpine-dev: ## Start Glances Alpine Docker dev in console mode
run-docker-ubuntu-minimal: ## Start Glances Ubuntu Docker minimal in console mode
run-docker-ubuntu-full: ## Start Glances Ubuntu Docker full in console mode
run-docker-ubuntu-dev: ## Start Glances Ubuntu Docker dev in console mode
generate-ssl: ## Generate local and sel signed SSL certificates for dev (need mkcert)
mkcert glances.local localhost 120.0.0.1 0.0.0.0
run-webserver: ## Start Glances in Web server mode
$(UV_RUN) run python -m glances -C $(CONF) -w
run-webserver-local-conf: ## Start Glances in Web server mode with the system conf file
$(UV_RUN) run python -m glances -w
run-webserver-local-conf-hide-public: ## Start Glances in Web server mode with the system conf file and hide public info
$(UV_RUN) run python -m glances -w --hide-public-info
run-restapiserver: ## Start Glances in REST API server mode
$(UV_RUN) run python -m glances -C $(CONF) -w --disable-webui
run-server: ## Start Glances in server mode (RPC)
$(UV_RUN) run python -m glances -C $(CONF) -s
run-client: ## Start Glances in client mode (RPC)
$(UV_RUN) run python -m glances -C $(CONF) -c localhost
run-browser: ## Start Glances in browser mode (RPC)
$(UV_RUN) run python -m glances -C $(CONF) --browser
run-web-browser: ## Start Web Central Browser
$(UV_RUN) run python -m glances -C $(CONF) -w --browser
run-issue: ## Start Glances in issue mode
$(UV_RUN) run python -m glances -C $(CONF) --issue
run-multipass: ## Install and start Glances in a VM (only available on Ubuntu with multipass already installed)
multipass launch -n glances-on-lts lts
multipass exec glances-on-lts -- sudo snap install glances
multipass exec glances-on-lts -- glances
multipass stop glances-on-lts
multipass delete glances-on-lts
show-version: ## Show Glances version number
$(UV_RUN) run python -m glances -C $(CONF) -V

641
NEWS
View File

@ -1,641 +0,0 @@
==============================================================================
Glances Version 2
==============================================================================
Version 2.6.1
=============
Enhancements and new features:
* Add a connector to Riemann (issue #822 by Greogo Nagy)
Bugs corrected:
* Browsing for servers which are in the [serverlist] is broken (issue #819)
* [WebUI] Glances will not get past loading screen (issue #815) opened 9 days ago
* Python error after upgrading from 2.5.1 to 2.6 bug (issue #813)
Version 2.6
===========
Deprecations:
* Add deprecation warning for Python 2.6.
Python 2.6 support will be dropped in future releases.
Please switch to at least Python 2.7 or 3.3+ as soon as possible.
See http://www.snarky.ca/stop-using-python-2-6 for more information.
Enhancements and new features:
* Add a connector to ElasticSearch (welcome to Kibana dashboard) (issue #311)
* New folders' monitoring plugins (issue #721)
* Use wildcard (regexp) to the hide configuration option for network, diskio and fs sections (issue #799 )
* Command line arguments are now take into account in the WebUI (#789 by @notFloran)
* Change username for server and web server authentication (issue #693)
* Add an option to disable top menu (issue #766)
* Add IOps in the DiskIO plugin (issue #763)
* Add hide configuration key for FS Plugin (issue #736)
* Add process summary min/max stats (issue #703)
* Add timestamp to the CSV export module (issue #708)
* Add a shortcut 'E' to delete process filter (issue #699)
* By default, hide disk I/O ram1-** (issue #714)
* When Glances is starting the notifications should be delayed (issue #732)
* Add option (--disable-bg) to disable ANSI background colours (issue #738 by okdana)
* [WebUI] add "pointer" cursor for sortable columns (issue #704 by @notFloran)
* [WebUI] Make web page title configurable (issue #724)
* Do not show interface in down state (issue #765)
* InfluxDB > 0.9.3 needs float and not int for numerical value (issue#749 and issue#750 by nicolargo)
Bugs corrected:
* Can't read sensors on a Thinkpad (issue #711)
* InfluxDB/OpenTSDB: tag parsing broken (issue #713)
* Grafana Dashboard outdated for InfluxDB 0.9.x (issue #648)
* '--tree' breaks process filter on Debian 8 (issue #768)
* Fix highlighting of process when it contains whitespaces (issue #546 by Alessio Sergi)
* Fix RAID support in Python 3 (issue #793 by Alessio Sergi)
* Use dict view objects to avoid issue (issue #758 by Alessio Sergi)
* System exit if Cpu not supported by the Cpuinfo lib (issue #754 by nicolargo)
* KeyError: 'cpucore' when exporting data to InfluxDB (issue #729) by nicolargo)
Others:
* A new Glances docker container to monitor your Docker infrastructure is available here (issue #728): https://hub.docker.com/r/nicolargo/glances/
* Documentation is now generated automatically thanks to Sphinx and the Alessio Sergi patch (http://glances.readthedocs.org/en/latest/)
Contributors summary:
* Nicolas Hennion: 112 commits
* Alessio Sergi: 55 commits
* Floran Brutel: 19 commits
* Nicolas Hart: 8 commits
* @desbma: 4 commits
* @dana: 2 commits
* Damien Martin, Raju Kadam, @georgewhewell: 1 commit
Version 2.5.1
=============
Bugs corrected:
* Unable to unlock password protected servers in browser mode bug (issue #694)
* Correct issue when Glances is started in console on Windows OS
* [WebUI] when alert is ongoing hide level enhancement (issue #692)
Version 2.5
===========
Enhancements and new features:
* Allow export of Docker and sensors plugins stats to InfluxDB, StatsD... (issue #600)
* Docker plugin shows IO and network bitrate (issue #520)
* Server password configuration for the browser mode (issue #500)
* Add support for OpenTSDB export (issue #638)
* Add additional stats (iowait, steal) to the perCPU plugin (issue #672)
* Support Fahrenheit unit in the sensor plugin using the --fahrenheit command line option (issue #620)
* When a process filter is set, display sum of CPU, MEM... (issue #681)
* Improve the QuickLookplugin by adding hardware CPU info (issue #673)
* WebUI display a message if server is not available (issue #564)
* Display an error if export is not used in the standalone/client mode (issue #614)
* New --disable-quicklook, --disable-cpu, --disable-mem, --disable-swap, --disable-load tags (issue #631)
* Complete refactoring of the WebUI thanks to the (awesome) Floran pull (issue #656)
* Network cumulative /combination feature available in the WebUI (issue #552)
* IRIX mode off implementation (issue#628)
* Short process name displays arguments (issue #609)
* Server password configuration for the browser mode (issue #500)
* Display an error if export is not used in the standalone/client mode (issue #614)
Bugs corrected:
* The WebUI displays bad sensors stats (issue #632)
* Filter processes crashs with a bad regular expression pattern (issue #665)
* Error with IP plugin (issue #651)
* Crach with Docker plugin (issue #649)
* Docker plugin crashs with webserver mode (issue #654)
* Infrequently crashing due to assert (issue #623)
* Value for free disk space is counterintuative on ext file systems (issue #644)
* Try/catch for unexpected psutil.NoSuchProcess: process no longer exists (issue #432)
* Fatal error using Python 3.4 and Docker plugin bug (issue #602)
* Add missing new line before g man option (issue #595)
* Remove unnecessary type="text/css" for link (HTML5) (issue #595)
* Correct server mode issue when no network interface is available (issue #528)
* Avoid crach on olds kernels (issue #554)
* Avoid crashing if LC_ALL is not defined by user (issue #517)
* Add a disable HDD temperature option on the command line (issue #515)
Version 2.4.2
=============
Bugs corrected:
* Process no longer exists (again) (issue #613)
* Crash when "top extended stats" is enabled on OS X (issue #612)
* Graphical percentage bar displays "?" (issue #608)
* Quick look doesn't work (issue #605)
* [Web UI] Display empty Battery sensors enhancement (issue #601)
* [Web UI] Per CPU plugin has to be improved (issue #566)
Version 2.4.1
=============
Bugs corrected:
* Fatal error using Python 3.4 and Docker plugin bug (issue #602)
Version 2.4
===========
Changes:
* Glances doesn't provide a system-wide configuration file by default anymore.
Just copy it in any of the supported locations. See glances-doc.html for
more information. (issue #541)
* The default key bindings have been changed to:
- 'u': sort processes by USER
- 'U': show cumulative network I/O
* No more translations
Enhancements and new features:
* The Web user interface is now based on AngularJS (issue #473, #508, #468)
* Implement a 'quick look' plugin (issue #505)
* Add sort processes by USER (issue #531)
* Add a new IP information plugin (issue #509)
* Add RabbitMQ export module (issue #540 Thk to @Katyucha)
* Add a quiet mode (-q), can be useful using with export module
* Grab FAN speed in the Glances sensors plugin (issue #501)
* Allow logical mounts points in the FS plugin (issue #448)
* Add a --disable-hddtemp to disable HDD temperature module at startup (issue #515)
* Increase alert minimal delay to 6 seconds (issue #522)
* If the Curses application raises an exception, restore the terminal correctly (issue #537)
Bugs corrected:
* Monitor list, all processes are take into account (issue #507)
* Duplicated --enable-history in the doc (issue #511)
* Sensors title is displayed if no sensors are detected (issue #510)
* Server mode issue when no network interface is available (issue #528)
* DEBUG mode activated by default with Python 2.6 (issue #512)
* Glances display of time trims the hours showing only minutes and seconds (issue #543)
* Process list header not decorating when sorting by command (issue #551)
Version 2.3
===========
Enhancements and new features:
* Add the Docker plugin (issue #440) with per container CPU and memory monitoring (issue #490)
* Add the RAID plugin (issue #447)
* Add actions on alerts (issue #132). It is now possible to run action (command line) by triggers. Action could contain {{tag}} (Mustache) with stat value.
* Add InfluxDB export module (--export-influxdb) (issue #455)
* Add StatsD export module (--export-statsd) (issue #465)
* Refactor export module (CSV export option is now --export-csv). It is now possible to export stats from the Glances client mode (issue #463)
* The Web inteface is now based on Bootstrap / RWD grid (issue #417, #366 and #461) Thanks to Nicolas Hart @nclsHart
* It is now possible, through the configuration file, to define if an alarm should be logged or not (using the _log option) (issue #437)
* You can now set alarm for Disk IO
* API: add getAllLimits and getAllViews methods (issue #481) and allow CORS request (issue #479)
* SNMP client support NetApp appliance (issue #394)
Bugs corrected:
* R/W error with the glances.log file (issue #474)
Other enhancement:
* Alert < 3 seconds are no longer displayed
Version 2.2.1
=============
* Fix incorrect kernel thread detection with --hide-kernel-threads (issue #457)
* Handle IOError exception if no /etc/os-release to use Glances on Synology DSM (issue #458)
* Check issue error in client/server mode (issue #459)
Version 2.2
===========
Enhancements and new features:
* Add centralized curse interface with a Glances servers list to monitor (issue #418)
* Add processes tree view (--tree) (issue #444)
* Improve graph history feature (issue #69)
* Extended stats is disable by default (use --enable-process-extended to enable it - issue #430)
* Add a short key ('F') and a command line option (--fs-free-space) to display FS free space instead of used space (issue #411)
* Add a short key ('2') and a command line option (--disable-left-sidebar) to disable/enable the side bar (issue #429)
* Add CPU times sort short key ('t') in the curse interface (issue #449)
* Refactor operating system detection for GNU/Linux operating system
* Code optimization
Bugs corrected:
* Correct a bug with Glances pip install --user (issue #383)
* Correct issue on battery stat update (issue #433)
* Correct issue on process no longer exist (issues #414 and #432)
Version 2.1.2
=============
Maintenance version (only needed for Mac OS X).
Bugs corrected:
* Mac OS X: Error if Glances is not ran with sudo (issue #426)
Version 2.1.1
=============
Enhancement:
* Automaticaly compute top processes number for the current screen (issue #408)
* CPU and Memory footprint optimization (issue #401)
Bugs corrected:
* Mac OS X 10.9: Exception at start (issue #423)
* Process no longer exists (issue #421)
* Error with Glances Client with Python 3.4.1 (issue #419)
* TypeError: memory_maps() takes exactly 2 arguments (issue #413)
* No filesystem informations since Glances 2.0 bug enhancement (issue #381)
Version 2.1
===========
* Add user process filter feature
User can define a process filter pattern (as a regular expression).
The pattern could be defined from the command line (-f <pattern>)
or by pressing the ENTER key in the curse interface.
For the moment, process filter feature is only available in standalone mode.
* Add extended processes informations for top process
Top process stats availables: CPU affinity, extended memory information (shared, text, lib, datat, dirty, swap), open threads/files and TCP/UDP network sessions, IO nice level
For the moment, extended processes stats are only available in standalone mode.
* Add --process-short-name tag and '/' key to switch between short/command line
* Create a max_processes key in the configuration file
The goal is to reduce the number of displayed processes in the curses UI and
so limit the CPU footprint of the Glances standalone mode.
The API always return all the processes, the key is only active in the curses UI.
If the key is not define, all the processes will be displayed.
The default value is 20 (processes displayed).
For the moment, this feature is only available in standalone mode.
* Alias for network interfaces, disks and sensors
Users can configure alias from the Glances configuration file.
* Add Glances log message (in the /tmp/glances.log file)
The default log level is INFO, you can switch to the DEBUG mode using the -d option on the command line.
* Add RESTFul API to the Web server mode
RestFul API doc: https://github.com/nicolargo/glances/wiki/The-Glances-RESTFULL-JSON-API
* Improve SNMP fallback mode for Cisco IOS, VMware ESXi
* Add --theme-white feature to optimize display for white background
* Experimental history feature (--enable-history option on the command line)
This feature allows users to generate graphs within the curse interface.
Graphs are available for CPU, LOAD and MEM.
To generate graph, click on the 'g' key.
To reset the history, press the 'r' key.
Note: This feature uses the matplotlib library.
* CI: Improve Travis coverage
Bugs corrected:
* Quitting glances leaves a column layout to the current terminal (issue #392)
* Glances crashes with malformed UTF-8 sequences in process command lines (issue #391)
* SNMP fallback mode is not Python 3 compliant (issue #386)
* Trouble using batinfo, hddtemp, pysensors w/ Python (issue #324)
Version 2.0.1
=============
Maintenance version.
Bugs corrected:
* Error when displaying numeric process user names (#380)
* Display users without username correctly (#379)
* Bug when parsing configuration file (#378)
* The sda2 partition is not seen by glances (#376)
* Client crash if server is ended during XML request (#375)
* Error with the Sensors module on Debian/Ubuntu (#373)
* Windows don't view all processes (#319)
Version 2.0
===========
Glances v2.0 is not a simple upgrade of the version 1.x but a complete code refactoring.
Based on a plugins system, it aims at providing an easy way to add new features.
- Core defines the basics and commons functions.
- all stats are grabbed through plugins (see the glances/plugins source folder).
- also outputs methods (Curse, Web mode, CSV) are managed as plugins.
The Curse interface is almost the same than the version 1.7. Some improvements have been made:
- space optimisation for the CPU, LOAD and MEM stats (justified alignment)
- CPU:
. CPU stats are displayed as soon as Glances is started
. steal CPU alerts are no more logged
- LOAD:
. 5 min LOAD alerts are no more logged
- File System:
. Display the device name (if space is available)
- Sensors:
. Sensors and HDD temperature are displayed in the same block
- Process list:
. Refactor columns: CPU%, MEM%, VIRT, RES, PID, USER, NICE, STATUS, TIME, IO, Command/name
. The running processes status is highlighted
. The process name is highlighted in the command line
Glances 2.0 brings a brand new Web Interface. You can run Glances in Web server mode and
consult the stats directly from a standard Web Browser.
The client mode can now fallback to a simple SNMP mode if Glances server is not found on the remote machine.
Complete release notes:
* Cut ifName and DiskName if they are too long in the curses interface (by Nicolargo)
* Windows CLI is OK but early experimental (by Nicolargo)
* Add bitrate limits to the networks interfaces (by Nicolargo)
* Batteries % stats are now in the sensors list (by Nicolargo)
* Refactor the client/server password security: using SHA256 (by Nicolargo,
based on Alessio Sergi's example script)
* Refactor the CSV output (by Nicolargo)
* Glances client fallback to SNMP server if Glances one not found (by Nicolargo)
* Process list: Highlight running/basename processes (by Alessio Sergi)
* New Web server mode thk to the Bottle library (by Nicolargo)
* Responsive design for Bottle interface (by Nicolargo)
* Remove HTML output (by Nicolargo)
* Enable/disable for optional plugins through the command line (by Nicolargo)
* Refactor the API (by Nicolargo)
* Load-5 alert are no longer logged (by Nicolargo)
* Rename In/Out by Read/Write for DiskIO according to #339 (by Nicolargo)
* Migrate from pysensors to py3sensors (by Alessio Sergi)
* Migration to PsUtil 2.x (by Nicolargo)
* New plugins system (by Nicolargo)
* Python 2.x and 3.x compatibility (by Alessio Sergi)
* Code quality improvements (by Alessio Sergi)
* Refactor unitaries tests (by Nicolargo)
* Development now follow the git flow workflow (by Nicolargo)
==============================================================================
Glances Version 1
==============================================================================
Version 1.7.7
=============
* Fix CVS export [issue #348]
* Adapt to PSUtil 2.1.1
* Compatibility with Python 3.4
* Improve German update
Version 1.7.6
=============
* Adapt to psutil 2.0.0 API
* Fixed psutil 0.5.x support on Windows
* Fix help screen in 80x24 terminal size
* Implement toggle of process list display ('z' key)
Version 1.7.5
=============
* Force the Pypi installer to use the PsUtil branch 1.x (#333)
Version 1.7.4
=============
* Add threads number in the task summary line (#308)
* Add system uptime (#276)
* Add CPU steal % to cpu extended stats (#309)
* You can hide disk from the IOdisk view using the conf file (#304)
* You can hide network interface from the Network view using the conf file
* Optimisation of CPU consumption (around ~10%)
* Correct issue #314: Client/server mode always asks for password
* Correct issue #315: Defining password in client/server mode doesn't work as intended
* Correct issue #316: Crash in client server mode
* Correct issue #318: Argument parser, try-except blocks never get triggered
Version 1.7.3
=============
* Add --password argument to enter the client/server password from the prompt
* Fix an issue with the configuration file path (#296)
* Fix an issue with the HTML template (#301)
Version 1.7.2
=============
* Console interface is now Microsoft Windows compatible (thk to @fraoustin)
* Update documentation and Wiki regarding the API
* Added package name for python sources/headers in openSUSE/SLES/SLED
* Add FreeBSD packager
* Bugs corrected
Version 1.7.1
=============
* Fix IoWait error on FreeBSD / Mac OS
* HDDTemp module is now Python v3 compatible
* Don't warn a process is not running if countmin=0
* Add Pypi badge on the README.rst
* Update documentation
* Add document structure for http://readthedocs.org
Version 1.7
===========
* Add monitored processes list
* Add hard disk temperature monitoring (thanks to the HDDtemp daemon)
* Add batteries capacities information (thanks to the Batinfo lib)
* Add command line argument -r toggles processes (reduce CPU usage)
* Add command line argument -1 to run Glances in per CPU mode
* Platform/architecture is more specific now
* XML-RPC server: Add IPv6 support for the client/server mode
* Add support for local conf file
* Add a uninstall script
* Add getNetTimeSinceLastUpdate() getDiskTimeSinceLastUpdate() and getProcessDiskTimeSinceLastUpdate() in the API
* Add more translation: Italien, Chinese
* and last but not least... up to 100 hundred bugs corrected / software and
* docs improvements
Version 1.6.1
=============
* Add per-user settings (configuration file) support
* Add -z/--nobold option for better appearance under Solarized terminal
* Key 'u' shows cumulative net traffic
* Work in improving autoUnit
* Take into account the number of core in the CPU process limit
* API improvment add time_since_update for disk, process_disk and network
* Improve help display
* Add more dummy FS to the ignore list
* Code refactory: PsUtil < 0.4.1 is depredicated (Thk to Alessio)
* Correct a bug on the CPU process limit
* Fix crash bug when specifying custom server port
* Add Debian style init script for the Glances server
Version 1.6
===========
* Configuration file: user can defines limits
* In client/server mode, limits are set by the server side
* Display limits in the help screen
* Add per process IO (read and write) rate in B per second
IO rate only available on Linux from a root account
* If CPU iowait alert then sort by processes by IO rate
* Per CPU display IOwait (if data is available)
* Add password for the client/server mode (-P password)
* Process column style auto (underline) or manual (bold)
* Display a sort indicator (is space is available)
* Change the table key in the help screen
Version 1.5.2
=============
* Add sensors module (enable it with -e option)
* Improve CPU stats (IO wait, Nice, IRQ)
* More stats in lower space (yes it's possible)
* Refactor processes list and count (lower CPU/MEM footprint)
* Add functions to the RCP method
* Completed unit test
* and fixes...
Version 1.5.1
=============
* Patch for PsUtil 0.4 compatibility
* Test PsUtil version before running Glances
Version 1.5
===========
* Add a client/server mode (XMLRPC) for remote monitoring
* Correct a bug on process IO with non root users
* Add 'w' shortkey to delete finished warning message
* Add 'x' shortkey to delete finished warning/critical message
* Bugs correction
* Code optimization
Version 1.4.2.2
===============
* Add switch between bit/sec and byte/sec for network IO
* Add Changelog (generated with gitchangelog)
Version 1.4.2.1
===============
* Minor patch to solve memomy issue (#94) on Mac OS X
Version 1.4.2
=============
* Use the new virtual_memory() and virtual_swap() fct (PsUtil)
* Display "Top process" in logs
* Minor patch on man page for Debian packaging
* Code optimization (less try and except)
Version 1.4.1.1
===============
* Minor patch to disable Process IO for OS X (not available in PsUtil)
Version 1.4.1
=============
* Per core CPU stats (if space is available)
* Add Process IO Read/Write information (if space is available)
* Uniformize units
Version 1.4
===========
* Goodby StatGrab... Welcome to the PsUtil library !
* No more autotools, use setup.py to install (or package)
* Only major stats (CPU, Load and memory) use background colors
* Improve operating system name detection
* New system info: one-line layout and add Arch Linux support
* No decimal places for values < GB
* New memory and swap layout
* Add percentage of usage for both memory and swap
* Add MEM% usage, NICE, STATUS, UID, PID and running TIME per process
* Add sort by MEM% ('m' key)
* Add sort by Process name ('p' key)
* Multiple minor fixes, changes and improvements
* Disable Disk IO module from the command line (-d)
* Disable Mount module from the command line (-m)
* Disable Net rate module from the command line (-n)
* Improved FreeBSD support
* Cleaning code and style
* Code is now checked with pep8
* CSV and HTML output (experimental functions, no yet documentation)
Version 1.3.7
=============
* Display (if terminal space is available) an alerts history (logs)
* Add a limits classe to manage stats limits
* Manage black and white console (issue #31)
Version 1.3.6
=============
* Add control before libs import
* Change static Python path (issue #20)
* Correct a bug with a network interface disaippear (issue #27)
* Add French and Spanish translation (thx to Jean Bob)
Version 1.3.5
=============
* Add an help panel when Glances is running (key: 'h')
* Add keys descriptions in the syntax (--help | -h)
Version 1.3.4
=============
* New key: 'n' to enable/disable network stats
* New key: 'd' to enable/disable disk IO stats
* New key: 'f' to enable/disable FS stats
* Reorganised the screen when stat are not available|disable
* Force Glances to use the enmbeded fs stats (issue #16)
Version 1.3.3
=============
* Automatically swith between process short and long name
* Center the host / system information
* Always put the hour/date in the bottom/right
* Correct a bug if there is a lot of Disk/IO
* Add control about available libstatgrab functions
Version 1.3.2
=============
* Add alert for network bit rate°
* Change the caption
* Optimised net, disk IO and fs display (share the space)
Disable on Ubuntu because the libstatgrab return a zero value
for the network interface speed.
Version 1.3.1
=============
* Add alert on load (depend on number of CPU core)
* Fix bug when the FS list is very long
Version 1.3
===========
* Add file system stats (total and used space)
* Adapt unit dynamically (K, M, G)
* Add man page (Thanks to Edouard Bourguignon)
Version 1.2
===========
* Resize the terminal and the windows are adapted dynamically
* Refresh screen instantanetly when a key is pressed
Version 1.1.3
=============
* Add disk IO monitoring
* Add caption
* Correct a bug when computing the bitrate with the option -t
* Catch CTRL-C before init the screen (Bug #2)
* Check if mem.total = 0 before division (Bug #1)

2461
NEWS.rst Normal file

File diff suppressed because it is too large Load Diff

385
README-pypi.rst Normal file
View File

@ -0,0 +1,385 @@
Glances 🌟
==========
**Glances** is an open-source system cross-platform monitoring tool.
It allows real-time monitoring of various aspects of your system such as
CPU, memory, disk, network usage etc. It also allows monitoring of running processes,
logged in users, temperatures, voltages, fan speeds etc.
It also supports container monitoring, it supports different container management
systems such as Docker, LXC. The information is presented in an easy to read dashboard
and can also be used for remote monitoring of systems via a web interface or command
line interface. It is easy to install and use and can be customized to show only
the information that you are interested in.
In client/server mode, remote monitoring could be done via terminal,
Web interface or API (XML-RPC and RESTful).
Stats can also be exported to files or external time/value databases, CSV or direct
output to STDOUT.
Glances is written in Python and uses libraries to grab information from
your system. It is based on an open architecture where developers can
add new plugins or exports modules.
Usage 👋
========
For the standalone mode, just run:
.. code-block:: console
$ glances
.. image:: https://github.com/nicolargo/glances/raw/refs/heads/master/docs/_static/glances-responsive-webdesign.png
For the Web server mode, run:
.. code-block:: console
$ glances -w
and enter the URL ``http://<ip>:61208`` in your favorite web browser.
In this mode, a HTTP/Restful API is exposed, see document `RestfulApi`_ for more details.
.. image:: https://github.com/nicolargo/glances/raw/refs/heads/master/docs/_static/screenshot-web.png
For the client/server mode (remote monitoring through XML-RPC), run the following command on the server:
.. code-block:: console
$ glances -s
and this one on the client:
.. code-block:: console
$ glances -c <ip>
You can also detect and display all Glances servers available on your
network (or defined in the configuration file) in TUI:
.. code-block:: console
$ glances --browser
or WebUI:
.. code-block:: console
$ glances -w --browser
It possible to display raw stats on stdout:
.. code-block:: console
$ glances --stdout cpu.user,mem.used,load
cpu.user: 30.7
mem.used: 3278204928
load: {'cpucore': 4, 'min1': 0.21, 'min5': 0.4, 'min15': 0.27}
cpu.user: 3.4
mem.used: 3275251712
load: {'cpucore': 4, 'min1': 0.19, 'min5': 0.39, 'min15': 0.27}
...
or in a CSV format thanks to the stdout-csv option:
.. code-block:: console
$ glances --stdout-csv now,cpu.user,mem.used,load
now,cpu.user,mem.used,load.cpucore,load.min1,load.min5,load.min15
2018-12-08 22:04:20 CEST,7.3,5948149760,4,1.04,0.99,1.04
2018-12-08 22:04:23 CEST,5.4,5949136896,4,1.04,0.99,1.04
...
or in a JSON format thanks to the stdout-json option (attribute not supported in this mode in order to have a real JSON object in output):
.. code-block:: console
$ glances --stdout-json cpu,mem
cpu: {"total": 29.0, "user": 24.7, "nice": 0.0, "system": 3.8, "idle": 71.4, "iowait": 0.0, "irq": 0.0, "softirq": 0.0, "steal": 0.0, "guest": 0.0, "guest_nice": 0.0, "time_since_update": 1, "cpucore": 4, "ctx_switches": 0, "interrupts": 0, "soft_interrupts": 0, "syscalls": 0}
mem: {"total": 7837949952, "available": 2919079936, "percent": 62.8, "used": 4918870016, "free": 2919079936, "active": 2841214976, "inactive": 3340550144, "buffers": 546799616, "cached": 3068141568, "shared": 788156416}
...
Last but not least, you can use the fetch mode to get a quick look of a machine:
.. code-block:: console
$ glances --fetch
Results look like this:
.. image:: https://github.com/nicolargo/glances/raw/refs/heads/master/docs/_static/screenshot-fetch.png
Use Glances as a Python library 📚
==================================
You can access the Glances API by importing the `glances.api` module and creating an
instance of the `GlancesAPI` class. This instance provides access to all Glances plugins
and their fields. For example, to access the CPU plugin and its total field, you can
use the following code:
.. code-block:: python
>>> from glances import api
>>> gl = api.GlancesAPI()
>>> gl.cpu
{'cpucore': 16,
'ctx_switches': 1214157811,
'guest': 0.0,
'idle': 91.4,
'interrupts': 991768733,
'iowait': 0.3,
'irq': 0.0,
'nice': 0.0,
'soft_interrupts': 423297898,
'steal': 0.0,
'syscalls': 0,
'system': 5.4,
'total': 7.3,
'user': 3.0}
>>> gl.cpu["total"]
7.3
>>> gl.mem["used"]
12498582144
>>> gl.auto_unit(gl.mem["used"])
11.6G
If the stats return a list of items (like network interfaces or processes), you can
access them by their name:
.. code-block:: python
>>> gl.network.keys()
['wlp0s20f3', 'veth33b370c', 'veth19c7711']
>>> gl.network["wlp0s20f3"]
{'alias': None,
'bytes_all': 362,
'bytes_all_gauge': 9242285709,
'bytes_all_rate_per_sec': 1032.0,
'bytes_recv': 210,
'bytes_recv_gauge': 7420522678,
'bytes_recv_rate_per_sec': 599.0,
'bytes_sent': 152,
'bytes_sent_gauge': 1821763031,
'bytes_sent_rate_per_sec': 433.0,
'interface_name': 'wlp0s20f3',
'key': 'interface_name',
'speed': 0,
'time_since_update': 0.3504955768585205}
For a complete example of how to use Glances as a library, have a look to the `PythonApi`_.
Documentation 📜
================
For complete documentation have a look at the readthedocs_ website.
If you have any question (after RTFM! and the `FAQ`_), please post it on the official Reddit `forum`_ or in GitHub `Discussions`_.
Gateway to other services 🌐
============================
Glances can export stats to:
- ``CSV`` file
- ``JSON`` file
- ``InfluxDB`` server
- ``Cassandra`` server
- ``CouchDB`` server
- ``OpenTSDB`` server
- ``Prometheus`` server
- ``StatsD`` server
- ``ElasticSearch`` server
- ``PostgreSQL/TimeScale`` server
- ``RabbitMQ/ActiveMQ`` broker
- ``ZeroMQ`` broker
- ``Kafka`` broker
- ``Riemann`` server
- ``Graphite`` server
- ``RESTful`` endpoint
Installation 🚀
===============
There are several methods to test/install Glances on your system. Choose your weapon!
PyPI: Pip, the standard way
---------------------------
Glances is on ``PyPI``. By using PyPI, you will be using the latest stable version.
To install Glances, simply use the ``pip`` command line.
Warning: on modern Linux operating systems, you may have an externally-managed-environment
error message when you try to use ``pip``. In this case, go to the the PipX section below.
.. code-block:: console
pip install --user glances
*Note*: Python headers are required to install `psutil`_, a Glances
dependency. For example, on Debian/Ubuntu **the simplest** is
``apt install python3-psutil`` or alternatively need to install first
the *python-dev* package and gcc (*python-devel* on Fedora/CentOS/RHEL).
For Windows, just install psutil from the binary installation file.
By default, Glances is installed **without** the Web interface dependencies.
To install it, use the following command:
.. code-block:: console
pip install --user 'glances[web]'
For a full installation (with all features, see features list bellow):
.. code-block:: console
pip install --user 'glances[all]'
Features list:
- all: install dependencies for all features
- action: install dependencies for action feature
- browser: install dependencies for Glances centram browser
- cloud: install dependencies for cloud plugin
- containers: install dependencies for container plugin
- export: install dependencies for all exports modules
- gpu: install dependencies for GPU plugin
- graph: install dependencies for graph export
- ip: install dependencies for IP public option
- raid: install dependencies for RAID plugin
- sensors: install dependencies for sensors plugin
- smart: install dependencies for smart plugin
- snmp: install dependencies for SNMP
- sparklines: install dependencies for sparklines option
- web: install dependencies for Webserver (WebUI) and Web API
- wifi: install dependencies for Wifi plugin
To upgrade Glances to the latest version:
.. code-block:: console
pip install --user --upgrade glances
The current develop branch is published to the test.pypi.org package index.
If you want to test the develop version (could be instable), enter:
.. code-block:: console
pip install --user -i https://test.pypi.org/simple/ Glances
PyPI: PipX, the alternative way
-------------------------------
Install PipX on your system (apt install pipx on Ubuntu).
Install Glances (with all features):
.. code-block:: console
pipx install 'glances[all]'
The glances script will be installed in the ~/.local/bin folder.
Shell tab completion 🔍
=======================
Glances 4.3.2 and higher includes shell tab autocompletion thanks to the --print-completion option.
For example, on a Linux operating system with bash shell:
.. code-block:: console
$ mkdir -p ${XDG_DATA_HOME:="$HOME/.local/share"}/bash-completion
$ glances --print-completion bash > ${XDG_DATA_HOME:="$HOME/.local/share"}/bash-completion/glances
$ source ${XDG_DATA_HOME:="$HOME/.local/share"}/bash-completion/glances
Following shells are supported: bash, zsh and tcsh.
Requirements 🧩
===============
Glances is developed in Python. A minimal Python version 3.10 or higher
should be installed on your system.
*Note for Python 2 users*
Glances version 4 or higher do not support Python 2 (and Python 3 < 3.10).
Please uses Glances version 3.4.x if you need Python 2 support.
Dependencies:
- ``psutil`` (better with latest version)
- ``defusedxml`` (in order to monkey patch xmlrpc)
- ``packaging`` (for the version comparison)
- ``windows-curses`` (Windows Curses implementation) [Windows-only]
- ``shtab`` (Shell autocompletion) [All but Windows]
- ``jinja2`` (for fetch mode and templating)
Extra dependencies:
- ``batinfo`` (for battery monitoring)
- ``bernhard`` (for the Riemann export module)
- ``cassandra-driver`` (for the Cassandra export module)
- ``chevron`` (for the action script feature)
- ``docker`` (for the Containers Docker monitoring support)
- ``elasticsearch`` (for the Elastic Search export module)
- ``FastAPI`` and ``Uvicorn`` (for Web server mode)
- ``graphitesender`` (For the Graphite export module)
- ``hddtemp`` (for HDD temperature monitoring support) [Linux-only]
- ``influxdb`` (for the InfluxDB version 1 export module)
- ``influxdb-client`` (for the InfluxDB version 2 export module)
- ``kafka-python`` (for the Kafka export module)
- ``nvidia-ml-py`` (for the GPU plugin)
- ``pycouchdb`` (for the CouchDB export module)
- ``pika`` (for the RabbitMQ/ActiveMQ export module)
- ``podman`` (for the Containers Podman monitoring support)
- ``potsdb`` (for the OpenTSDB export module)
- ``prometheus_client`` (for the Prometheus export module)
- ``psycopg[binary]`` (for the PostgreSQL/TimeScale export module)
- ``pygal`` (for the graph export module)
- ``pymdstat`` (for RAID support) [Linux-only]
- ``pymongo`` (for the MongoDB export module)
- ``pysnmp-lextudio`` (for SNMP support)
- ``pySMART.smartx`` (for HDD Smart support) [Linux-only]
- ``pyzmq`` (for the ZeroMQ export module)
- ``requests`` (for the Ports, Cloud plugins and RESTful export module)
- ``sparklines`` (for the Quick Plugin sparklines option)
- ``statsd`` (for the StatsD export module)
- ``wifi`` (for the wifi plugin) [Linux-only]
- ``zeroconf`` (for the autodiscover mode)
Project sponsorship 🙌
======================
You can help me to achieve my goals of improving this open-source project
or just say "thank you" by:
- sponsor me using one-time or monthly tier Github sponsors_ page
- send me some pieces of bitcoin: 185KN9FCix3svJYp7JQM7hRMfSKyeaJR4X
- buy me a gift on my wishlist_ page
Any and all contributions are greatly appreciated.
Authors and Contributors 🔥
===========================
Nicolas Hennion (@nicolargo) <nicolas@nicolargo.com>
.. image:: https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40nicolargo
:target: https://twitter.com/nicolargo
License 📜
==========
Glances is distributed under the LGPL version 3 license. See ``COPYING`` for more details.
.. _psutil: https://github.com/giampaolo/psutil
.. _readthedocs: https://glances.readthedocs.io/
.. _forum: https://www.reddit.com/r/glances/
.. _sponsors: https://github.com/sponsors/nicolargo
.. _wishlist: https://www.amazon.fr/hz/wishlist/ls/BWAAQKWFR3FI?ref_=wl_share
.. _PythonApi: https://glances.readthedocs.io/en/develop/api/python.html
.. _RestfulApi: https://glances.readthedocs.io/en/develop/api/restful.html
.. _FAQ: https://github.com/nicolargo/glances/blob/develop/docs/faq.rst
.. _Discussions: https://github.com/nicolargo/glances/discussions

View File

@ -1,112 +1,307 @@
===============================
Glances - An eye on your system
===============================
.. raw:: html
<div align="center">
.. image:: https://img.shields.io/pypi/v/glances.svg
.. image:: ./docs/_static/glances-responsive-webdesign.png
.. raw:: html
<h1>Glances</h1>
An Eye on your System
| |pypi| |test| |contributors| |quality|
| |starts| |docker| |pypistat| |sponsors|
| |reddit|
.. |pypi| image:: https://img.shields.io/pypi/v/glances.svg
:target: https://pypi.python.org/pypi/Glances
.. image:: https://img.shields.io/pypi/dm/glances.svg
:target: https://pypi.python.org/pypi/glances#downloads
:alt: Downloads this month
.. image:: https://img.shields.io/github/stars/nicolargo/glances.svg
.. |starts| image:: https://img.shields.io/github/stars/nicolargo/glances.svg
:target: https://github.com/nicolargo/glances/
:alt: Github stars
.. image:: https://travis-ci.org/nicolargo/glances.svg?branch=master
:target: https://travis-ci.org/nicolargo/glances
.. image:: https://circleci.com/gh/nicolargo/glances/tree/develop.svg?style=svg
:target: https://circleci.com/gh/nicolargo/glances/tree/develop
.. image:: https://img.shields.io/scrutinizer/g/nicolargo/glances.svg
:target: https://scrutinizer-ci.com/g/nicolargo/glances/
.. image:: https://api.flattr.com/button/flattr-badge-large.png
:target: https://flattr.com/thing/484466/nicolargoglances-on-GitHub
Follow Glances on Twitter: `@nicolargo`_ or `@glances_system`_
.. |docker| image:: https://img.shields.io/docker/pulls/nicolargo/glances
:target: https://hub.docker.com/r/nicolargo/glances/
:alt: Docker pull
**Glances** is a cross-platform curses-based system monitoring tool
written in Python.
.. |pypistat| image:: https://pepy.tech/badge/glances/month
:target: https://pepy.tech/project/glances
:alt: Pypi downloads
.. image:: https://raw.githubusercontent.com/nicolargo/glances/master/docs/_static/screenshot-wide.png
.. |test| image:: https://github.com/nicolargo/glances/actions/workflows/ci.yml/badge.svg?branch=develop
:target: https://github.com/nicolargo/glances/actions
:alt: Linux tests (GitHub Actions)
Requirements
============
.. |contributors| image:: https://img.shields.io/github/contributors/nicolargo/glances
:target: https://github.com/nicolargo/glances/issues?q=is%3Aissue+is%3Aopen+label%3A%22needs+contributor%22
:alt: Contributors
- ``python >= 2.6`` or ``>= 3.3`` (tested with version 2.6, 2.7, 3.3, 3.4, 3.5)
- ``psutil >= 2.0.0``
- ``setuptools``
.. |quality| image:: https://scrutinizer-ci.com/g/nicolargo/glances/badges/quality-score.png?b=develop
:target: https://scrutinizer-ci.com/g/nicolargo/glances/?branch=develop
:alt: Code quality
Optional dependencies:
.. |sponsors| image:: https://img.shields.io/github/sponsors/nicolargo
:target: https://github.com/sponsors/nicolargo
:alt: Sponsors
- ``bottle`` (for Web server mode)
- ``py3sensors`` (for hardware monitoring support) [Linux-only]
- ``hddtemp`` (for HDD temperature monitoring support) [Linux-only]
- ``batinfo`` (for battery monitoring support) [Linux-only]
- ``pymdstat`` (for RAID support) [Linux-only]
- ``pysnmp`` (for SNMP support)
- ``zeroconf`` (for the autodiscover mode)
- ``netifaces`` (for the IP plugin)
- ``influxdb`` (for the InfluxDB export module)
- ``statsd`` (for the StatsD export module)
- ``pystache`` (for the action script feature)
- ``docker-py`` (for the Docker monitoring support) [Linux-only]
- ``matplotlib`` (for graphical/chart support)
- ``pika`` (for the RabbitMQ/ActiveMQ export module)
- ``bernhard`` (for the Riemann export module)
- ``py-cpuinfo`` (for the Quicklook CPU info module)
- ``scandir`` (for the Folders plugin) [Only for Python < 3.5]
.. |twitter| image:: https://img.shields.io/badge/X-000000?style=for-the-badge&logo=x&logoColor=white
:target: https://twitter.com/nicolargo
:alt: @nicolargo
Installation
============
.. |reddit| image:: https://img.shields.io/badge/Reddit-FF4500?style=for-the-badge&logo=reddit&logoColor=white
:target: https://www.reddit.com/r/glances/
:alt: @reddit
Several method to test/install Glances on your system. Choose your weapon !
.. raw:: html
Glances Auto Install script: the total way
------------------------------------------
</div>
To install both dependencies and latest Glances production ready version
(aka *master* branch), just enter the following command line:
Summary 🌟
==========
**Glances** is an open-source system cross-platform monitoring tool.
It allows real-time monitoring of various aspects of your system such as
CPU, memory, disk, network usage etc. It also allows monitoring of running processes,
logged in users, temperatures, voltages, fan speeds etc.
It also supports container monitoring, it supports different container management
systems such as Docker, LXC. The information is presented in an easy to read dashboard
and can also be used for remote monitoring of systems via a web interface or command
line interface. It is easy to install and use and can be customized to show only
the information that you are interested in.
In client/server mode, remote monitoring could be done via terminal,
Web interface or API (XML-RPC and RESTful).
Stats can also be exported to files or external time/value databases, CSV or direct
output to STDOUT.
Glances is written in Python and uses libraries to grab information from
your system. It is based on an open architecture where developers can
add new plugins or exports modules.
Usage 👋
========
For the standalone mode, just run:
.. code-block:: console
curl -L https://bit.ly/glances | /bin/bash
$ glances
or
.. image:: ./docs/_static/glances-summary.png
For the Web server mode, run:
.. code-block:: console
wget -O- https://bit.ly/glances | /bin/bash
$ glances -w
*Note*: Only supported on some GNU/Linux distributions. If you want to
support other distributions, please contribute to `glancesautoinstall`_.
and enter the URL ``http://<ip>:61208`` in your favorite web browser.
PyPI: The simple way
--------------------
In this mode, a HTTP/Restful API is exposed, see document `RestfulApi`_ for more details.
Glances is on ``PyPI``. By using PyPI, you are sure to have the latest
stable version.
.. image:: ./docs/_static/screenshot-web.png
To install, simply use ``pip``:
For the client/server mode (remote monitoring through XML-RPC), run the following command on the server:
.. code-block:: console
$ glances -s
and this one on the client:
.. code-block:: console
$ glances -c <ip>
You can also detect and display all Glances servers available on your
network (or defined in the configuration file) in TUI:
.. code-block:: console
$ glances --browser
or WebUI:
.. code-block:: console
$ glances -w --browser
It possible to display raw stats on stdout:
.. code-block:: console
$ glances --stdout cpu.user,mem.used,load
cpu.user: 30.7
mem.used: 3278204928
load: {'cpucore': 4, 'min1': 0.21, 'min5': 0.4, 'min15': 0.27}
cpu.user: 3.4
mem.used: 3275251712
load: {'cpucore': 4, 'min1': 0.19, 'min5': 0.39, 'min15': 0.27}
...
or in a CSV format thanks to the stdout-csv option:
.. code-block:: console
$ glances --stdout-csv now,cpu.user,mem.used,load
now,cpu.user,mem.used,load.cpucore,load.min1,load.min5,load.min15
2018-12-08 22:04:20 CEST,7.3,5948149760,4,1.04,0.99,1.04
2018-12-08 22:04:23 CEST,5.4,5949136896,4,1.04,0.99,1.04
...
or in a JSON format thanks to the stdout-json option (attribute not supported in this mode in order to have a real JSON object in output):
.. code-block:: console
$ glances --stdout-json cpu,mem
cpu: {"total": 29.0, "user": 24.7, "nice": 0.0, "system": 3.8, "idle": 71.4, "iowait": 0.0, "irq": 0.0, "softirq": 0.0, "steal": 0.0, "guest": 0.0, "guest_nice": 0.0, "time_since_update": 1, "cpucore": 4, "ctx_switches": 0, "interrupts": 0, "soft_interrupts": 0, "syscalls": 0}
mem: {"total": 7837949952, "available": 2919079936, "percent": 62.8, "used": 4918870016, "free": 2919079936, "active": 2841214976, "inactive": 3340550144, "buffers": 546799616, "cached": 3068141568, "shared": 788156416}
...
Last but not least, you can use the fetch mode to get a quick look of a machine:
.. code-block:: console
$ glances --fetch
Results look like this:
.. image:: ./docs/_static/screenshot-fetch.png
Use Glances as a Python library 📚
==================================
You can access the Glances API by importing the `glances.api` module and creating an
instance of the `GlancesAPI` class. This instance provides access to all Glances plugins
and their fields. For example, to access the CPU plugin and its total field, you can
use the following code:
.. code-block:: python
>>> from glances import api
>>> gl = api.GlancesAPI()
>>> gl.cpu
{'cpucore': 16,
'ctx_switches': 1214157811,
'guest': 0.0,
'idle': 91.4,
'interrupts': 991768733,
'iowait': 0.3,
'irq': 0.0,
'nice': 0.0,
'soft_interrupts': 423297898,
'steal': 0.0,
'syscalls': 0,
'system': 5.4,
'total': 7.3,
'user': 3.0}
>>> gl.cpu.get("total")
7.3
>>> gl.mem.get("used")
12498582144
>>> gl.auto_unit(gl.mem.get("used"))
11.6G
If the stats return a list of items (like network interfaces or processes), you can
access them by their name:
.. code-block:: python
>>> gl.network.keys()
['wlp0s20f3', 'veth33b370c', 'veth19c7711']
>>> gl.network.get("wlp0s20f3")
{'alias': None,
'bytes_all': 362,
'bytes_all_gauge': 9242285709,
'bytes_all_rate_per_sec': 1032.0,
'bytes_recv': 210,
'bytes_recv_gauge': 7420522678,
'bytes_recv_rate_per_sec': 599.0,
'bytes_sent': 152,
'bytes_sent_gauge': 1821763031,
'bytes_sent_rate_per_sec': 433.0,
'interface_name': 'wlp0s20f3',
'key': 'interface_name',
'speed': 0,
'time_since_update': 0.3504955768585205}
For a complete example of how to use Glances as a library, have a look to the `PythonApi`_.
Documentation 📜
================
For complete documentation have a look at the readthedocs_ website.
If you have any question (after RTFM! and the `FAQ`_), please post it on the official Reddit `forum`_ or in GitHub `Discussions`_.
Gateway to other services 🌐
============================
Glances can export stats to:
- files: ``CSV`` and ``JSON``
- databases: ``InfluxDB``, ``ElasticSearch``, ``PostgreSQL/TimeScale``, ``Cassandra``, ``CouchDB``, ``OpenTSDB``, ``Prometheus``, ``StatsD``, ``Riemann`` and ``Graphite``
- brokers: ``RabbitMQ/ActiveMQ``, ``NATS``, ``ZeroMQ`` and ``Kafka``
- others: ``RESTful`` endpoint
Installation 🚀
===============
There are several methods to test/install Glances on your system. Choose your weapon!
PyPI: Pip, the standard way
---------------------------
Glances is on ``PyPI``. By using PyPI, you will be using the latest stable version.
To install Glances, simply use the ``pip`` command line in an virtual environment.
.. code-block:: console
cd ~
python3 -m venv ~/.venv
source ~/.venv/bin/activate
pip install glances
*Note*: Python headers are required to install `psutil`_. For example,
on Debian/Ubuntu you need to install first the *python-dev* package.
For Fedora/CentOS/RHEL install first *python-devel* package.
*Note*: Python headers are required to install `psutil`_, a Glances
dependency. For example, on Debian/Ubuntu **the simplest** is
``apt install python3-psutil`` or alternatively need to install first
the *python-dev* package and gcc (*python-devel* on Fedora/CentOS/RHEL).
For Windows, just install psutil from the binary installation file.
You can also install the following libraries in order to use optional
features (like the Web interface):
By default, Glances is installed **without** the Web interface dependencies.
To install it, use the following command:
.. code-block:: console
pip install bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb potsdb statsd pystache docker-py pysnmp pika py-cpuinfo scandir
pip install 'glances[web]'
Install or upgrade Glances from the Git ``develop`` repository:
For a full installation (with all features, see features list bellow):
.. code-block:: console
git clone -b develop https://github.com/nicolargo/glances.git
pip install 'glances[all]'
Features list:
- all: install dependencies for all features
- action: install dependencies for action feature
- browser: install dependencies for Glances centram browser
- cloud: install dependencies for cloud plugin
- containers: install dependencies for container plugin
- export: install dependencies for all exports modules
- gpu: install dependencies for GPU plugin
- graph: install dependencies for graph export
- ip: install dependencies for IP public option
- raid: install dependencies for RAID plugin
- sensors: install dependencies for sensors plugin
- smart: install dependencies for smart plugin
- snmp: install dependencies for SNMP
- sparklines: install dependencies for sparklines option
- web: install dependencies for Webserver (WebUI) and Web API
- wifi: install dependencies for Wifi plugin
To upgrade Glances to the latest version:
@ -114,74 +309,156 @@ To upgrade Glances to the latest version:
pip install --upgrade glances
If you need to install Glances in a specific user location, use:
PyPI: PipX, the alternative way
-------------------------------
Install PipX on your system. For example on Ubuntu/Debian:
.. code-block:: console
export PYTHONUSERBASE=~/mylocalpath
pip install --user glances
sudo apt install pipx
Docker: the funny way
---------------------
A Glances container is available. It will include the latest development HEAD version. You can use it to monitor your server and all your others containers !
Get the Glances container:
Then install Glances (with all features):
.. code-block:: console
docker pull nicolargo/glances
pipx install 'glances[all]'
Run the container in console mode:
The glances script will be installed in the ~/.local/bin folder.
To upgrade Glances to the latest version:
.. code-block:: console
docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it docker.io/nicolargo/glances
pipx upgrade glances
Docker: the cloudy way
----------------------
GNU/Linux
---------
Glances Docker images are available. You can use it to monitor your
server and all your containers !
At the moment, packages exist for the following GNU/Linux distributions:
The following tags are available:
- Arch Linux
- Debian
- Fedora/CentOS/RHEL
- Gentoo
- Slackware (SlackBuild)
- Ubuntu
- Void Linux
- *latest-full* for a full Alpine Glances image (latest release) with all dependencies
- *latest* for a basic Alpine Glances (latest release) version with minimal dependencies (FastAPI and Docker)
- *dev* for a basic Alpine Glances image (based on development branch) with all dependencies (Warning: may be instable)
- *ubuntu-latest-full* for a full Ubuntu Glances image (latest release) with all dependencies
- *ubuntu-latest* for a basic Ubuntu Glances (latest release) version with minimal dependencies (FastAPI and Docker)
- *ubuntu-dev* for a basic Ubuntu Glances image (based on development branch) with all dependencies (Warning: may be instable)
So you should be able to install it using your favorite package manager.
Run last version of Glances container in *console mode*:
.. code-block:: console
docker run --rm -e TZ="${TZ}" -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host --network host -it nicolargo/glances:latest-full
By default, the /etc/glances/glances.conf file is used (based on docker-compose/glances.conf).
Additionally, if you want to use your own glances.conf file, you can
create your own Dockerfile:
.. code-block:: console
FROM nicolargo/glances:latest
COPY glances.conf /root/.config/glances/glances.conf
CMD python -m glances -C /root/.config/glances/glances.conf $GLANCES_OPT
Alternatively, you can specify something along the same lines with
docker run options (notice the `GLANCES_OPT` environment
variable setting parameters for the glances startup command):
.. code-block:: console
docker run -e TZ="${TZ}" -v $HOME/.config/glances/glances.conf:/glances.conf:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host -e GLANCES_OPT="-C /glances.conf" -it nicolargo/glances:latest-full
Where $HOME/.config/glances/glances.conf is a local directory containing your glances.conf file.
Run the container in *Web server mode*:
.. code-block:: console
docker run -d --restart="always" -p 61208-61209:61208-61209 -e TZ="${TZ}" -e GLANCES_OPT="-w" -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host nicolargo/glances:latest-full
For a full list of options, see the Glances `Docker`_ documentation page.
It is also possible to use a simple Docker compose file (see in ./docker-compose/docker-compose.yml):
.. code-block:: console
cd ./docker-compose
docker-compose up
It will start a Glances server with WebUI.
Brew: The missing package manager
---------------------------------
For Linux and Mac OS, it is also possible to install Glances with `Brew`_:
.. code-block:: console
brew install glances
GNU/Linux package
-----------------
`Glances` is available on many Linux distributions, so you should be
able to install it using your favorite package manager. Nevetheless,
i do not recommend it. Be aware that when you use this method the operating
system `package`_ for `Glances`may not be the latest version and only basics
plugins are enabled.
Note: The Debian package (and all other Debian-based distributions) do
not include anymore the JS statics files used by the Web interface
(see ``issue2021``). If you want to add it to your Glances installation,
follow the instructions: ``issue2021comment``. In Glances version 4 and
higher, the path to the statics file is configurable (see ``issue2612``).
FreeBSD
-------
To install the binary package:
On FreeBSD, package name depends on the Python version.
Check for Python version:
.. code-block:: console
# pkg install py27-glances
# python --version
To install Glances from ports:
Install the Glances package:
.. code-block:: console
# pkg install pyXY-glances
Where X and Y are the Major and Minor Values of your Python System.
.. code-block:: console
# Example for Python 3.11.3: pkg install py311-glances
**NOTE:** Check Glances Binary Package Version for your System Architecture.
You must have the Correct Python Version Installed which corresponds to the Glances Binary Package.
To install Glances from Ports:
.. code-block:: console
# cd /usr/ports/sysutils/py-glances/
# make install clean
OS X
----
macOS
-----
OS X users can install Glances using ``Homebrew`` or ``MacPorts``.
MacOS users can install Glances using ``Homebrew`` or ``MacPorts``.
Homebrew
````````
.. code-block:: console
$ brew install python
$ pip install glances
$ brew install glances
MacPorts
````````
@ -193,13 +470,34 @@ MacPorts
Windows
-------
Install `Python`_ for Windows (Python 2.7.9+ and 3.4+ ship with pip) and
then just:
Install `Python`_ for Windows (Python 3.4+ ship with pip) and
follow the Glances Pip install procedure.
Android
-------
You need a rooted device and the `Termux`_ application (available on the
Google Play Store).
Start Termux on your device and enter:
.. code-block:: console
$ apt update
$ apt upgrade
$ apt install clang python
$ pip install fastapi uvicorn jinja2
$ pip install glances
And start Glances:
.. code-block:: console
$ glances
You can also run Glances in server mode (-s or -w) in order to remotely
monitor your Android device.
Source
------
@ -207,98 +505,97 @@ To install Glances from source:
.. code-block:: console
$ wget https://github.com/nicolargo/glances/archive/vX.Y.tar.gz -O - | tar xz
$ cd glances-*
# python setup.py install
$ pip install https://github.com/nicolargo/glances/archive/vX.Y.tar.gz
*Note*: Python headers are required to install psutil. For example,
on Debian/Ubuntu you need to install first the *python-dev* package.
*Note*: Python headers are required to install psutil.
Chef
----
An awesome ``Chef`` cookbook is available to monitor your infrastructure: https://supermarket.chef.io/cookbooks/glances (thanks to Antoine Rouyer)
An awesome ``Chef`` cookbook is available to monitor your infrastructure:
https://supermarket.chef.io/cookbooks/glances (thanks to Antoine Rouyer)
Puppet
------
You can install Glances using ``Puppet``: https://github.com/rverchere/puppet-glances
Known issue on RHEL/CentOS/Fedora installation
==============================================
Ansible
-------
For Python 2.6 RedHat-based distros there might be an issue with starting Glances:
A Glances ``Ansible`` role is available: https://galaxy.ansible.com/zaxos/glances-ansible-role/
Traceback (most recent call last):
File "/usr/bin/glances", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
workingset.require(_requires)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
Shell tab completion 🔍
=======================
Try upgrading setuptools, has been proven to solve the problem:
Glances 4.3.2 and higher includes shell tab autocompletion thanks to the --print-completion option.
sudo pip install -U setuptools
Usage
=====
For the standalone mode, just run:
For example, on a Linux operating system with bash shell:
.. code-block:: console
$ glances
$ mkdir -p ${XDG_DATA_HOME:="$HOME/.local/share"}/bash-completion
$ glances --print-completion bash > ${XDG_DATA_HOME:="$HOME/.local/share"}/bash-completion/glances
$ source ${XDG_DATA_HOME:="$HOME/.local/share"}/bash-completion/glances
For the Web server mode, run:
Following shells are supported: bash, zsh and tcsh.
.. code-block:: console
Requirements 🧩
===============
$ glances -w
Glances is developed in Python. A minimal Python version 3.10 or higher
should be installed on your system.
and enter the URL ``http://<ip>:61208`` in your favorite web browser.
*Note for Python 2 users*
For the client/server mode, run:
Glances version 4 or higher do not support Python 2 (and Python 3 < 3.10).
Please uses Glances version 3.4.x if you need Python 2 support.
.. code-block:: console
Dependencies:
$ glances -s
- ``psutil`` (better with latest version)
- ``defusedxml`` (in order to monkey patch xmlrpc)
- ``packaging`` (for the version comparison)
- ``windows-curses`` (Windows Curses implementation) [Windows-only]
- ``shtab`` (Shell autocompletion) [All but Windows]
- ``jinja2`` (for fetch mode and templating)
on the server side and run:
Extra dependencies:
.. code-block:: console
- ``batinfo`` (for battery monitoring)
- ``bernhard`` (for the Riemann export module)
- ``cassandra-driver`` (for the Cassandra export module)
- ``chevron`` (for the action script feature)
- ``docker`` (for the Containers Docker monitoring support)
- ``elasticsearch`` (for the Elastic Search export module)
- ``FastAPI`` and ``Uvicorn`` (for Web server mode)
- ``graphitesender`` (For the Graphite export module)
- ``hddtemp`` (for HDD temperature monitoring support) [Linux-only]
- ``influxdb`` (for the InfluxDB version 1 export module)
- ``influxdb-client`` (for the InfluxDB version 2 export module)
- ``kafka-python`` (for the Kafka export module)
- ``nats-py`` (for the NATS export module)
- ``nvidia-ml-py`` (for the GPU plugin)
- ``pycouchdb`` (for the CouchDB export module)
- ``pika`` (for the RabbitMQ/ActiveMQ export module)
- ``podman`` (for the Containers Podman monitoring support)
- ``potsdb`` (for the OpenTSDB export module)
- ``prometheus_client`` (for the Prometheus export module)
- ``psycopg[binary]`` (for the PostgreSQL/TimeScale export module)
- ``pygal`` (for the graph export module)
- ``pymdstat`` (for RAID support) [Linux-only]
- ``pymongo`` (for the MongoDB export module)
- ``pysnmp-lextudio`` (for SNMP support)
- ``pySMART.smartx`` (for HDD Smart support) [Linux-only]
- ``pyzmq`` (for the ZeroMQ export module)
- ``requests`` (for the Ports, Cloud plugins and RESTful export module)
- ``sparklines`` (for the Quick Plugin sparklines option)
- ``statsd`` (for the StatsD export module)
- ``wifi`` (for the wifi plugin) [Linux-only]
- ``zeroconf`` (for the autodiscover mode)
$ glances -c <ip>
on the client one.
You can also detect and display all Glances servers available on your
network or defined in the configuration file:
.. code-block:: console
$ glances --browser
and RTFM, always.
Documentation
=============
For complete documentation have a look at the readthedocs_ website.
If you have any question (after RTFM!), please post it on the official Q&A `forum`_.
Gateway to other services
=========================
Glances can export stats to: ``CSV`` file, ``InfluxDB``, ``OpenTSDB``,
``StatsD``, ``RabbitMQ`` and ``Riemann`` server.
How to contribute ?
===================
How to contribute ? 🤝
======================
If you want to contribute to the Glances project, read this `wiki`_ page.
@ -307,21 +604,53 @@ There is also a chat dedicated to the Glances developers:
.. image:: https://badges.gitter.im/Join%20Chat.svg
:target: https://gitter.im/nicolargo/glances?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
Author
======
Project sponsorship 🙌
======================
You can help me to achieve my goals of improving this open-source project
or just say "thank you" by:
- sponsor me using one-time or monthly tier Github sponsors_ page
- send me some pieces of bitcoin: 185KN9FCix3svJYp7JQM7hRMfSKyeaJR4X
- buy me a gift on my wishlist_ page
Any and all contributions are greatly appreciated.
Authors and Contributors 🔥
===========================
Nicolas Hennion (@nicolargo) <nicolas@nicolargo.com>
License
=======
.. image:: https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40nicolargo
:target: https://twitter.com/nicolargo
LGPL. See ``COPYING`` for more details.
License 📜
==========
Glances is distributed under the LGPL version 3 license. See ``COPYING`` for more details.
More stars ! 🌟
===============
Please give us a star on `GitHub`_ if you like this project.
.. image:: https://api.star-history.com/svg?repos=nicolargo/glances&type=Date
:target: https://www.star-history.com/#nicolargo/glances&Date
:alt: Star history
.. _psutil: https://github.com/giampaolo/psutil
.. _glancesautoinstall: https://github.com/nicolargo/glancesautoinstall
.. _@nicolargo: https://twitter.com/nicolargo
.. _@glances_system: https://twitter.com/glances_system
.. _Brew: https://formulae.brew.sh/formula/glances
.. _Python: https://www.python.org/getit/
.. _readthedocs: https://glances.readthedocs.org/
.. _forum: https://groups.google.com/forum/?hl=en#!forum/glances-users
.. _Termux: https://play.google.com/store/apps/details?id=com.termux
.. _readthedocs: https://glances.readthedocs.io/
.. _forum: https://www.reddit.com/r/glances/
.. _wiki: https://github.com/nicolargo/glances/wiki/How-to-contribute-to-Glances-%3F
.. _package: https://repology.org/project/glances/versions
.. _sponsors: https://github.com/sponsors/nicolargo
.. _wishlist: https://www.amazon.fr/hz/wishlist/ls/BWAAQKWFR3FI?ref_=wl_share
.. _Docker: https://github.com/nicolargo/glances/blob/master/docs/docker.rst
.. _GitHub: https://github.com/nicolargo/glances
.. _PythonApi: https://glances.readthedocs.io/en/develop/api/python.html
.. _RestfulApi: https://glances.readthedocs.io/en/develop/api/restful.html
.. _FAQ: https://github.com/nicolargo/glances/blob/develop/docs/faq.rst
.. _Discussions: https://github.com/nicolargo/glances/discussions

30
SECURITY.md Normal file
View File

@ -0,0 +1,30 @@
# Security Policy
## Supported Versions
| Version | Support security updates |
| ------- | ------------------------ |
| 4.x | :white_check_mark: |
| < 4.0 | :x: |
## Reporting a Vulnerability
If there are any vulnerabilities in {{cookiecutter.project_name}}, don't hesitate to report them.
1. Describe the vulnerability.
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
* Full paths of source file(s) related to the manifestation of the issue
* The location of the affected source code (tag/branch/commit or direct URL)
* Any special configuration required to reproduce the issue
* Step-by-step instructions to reproduce the issue
* Proof-of-concept or exploit code (if possible)
* Impact of the issue, including how an attacker might exploit the issue
2. If you have a fix, that is most welcome -- please attach or summarize it in your message!
3. We will evaluate the vulnerability and, if necessary, release a fix or mitigating steps to address it. We will contact you to let you know the outcome, and will credit you in the report.
4. Please do not disclose the vulnerability publicly until a fix is released!
Once we have either a) published a fix, or b) declined to address the vulnerability for whatever reason, you are free to publicly disclose it.

237
all-requirements.txt Normal file
View File

@ -0,0 +1,237 @@
# This file was autogenerated by uv via the following command:
# uv export --no-emit-workspace --no-hashes --all-extras --no-group dev --output-file all-requirements.txt
annotated-doc==0.0.4
# via fastapi
annotated-types==0.7.0
# via pydantic
anyio==4.12.0
# via
# elasticsearch
# starlette
batinfo==0.4.2 ; sys_platform == 'linux'
# via glances
bernhard==0.2.6
# via glances
cassandra-driver==3.29.3
# via glances
certifi==2025.11.12
# via
# elastic-transport
# influxdb-client
# influxdb3-python
# requests
cffi==2.0.0 ; implementation_name == 'pypy' or platform_python_implementation != 'PyPy'
# via
# cryptography
# pyzmq
chardet==5.2.0
# via pysmart
charset-normalizer==3.4.4
# via requests
chevron==0.14.0
# via glances
click==8.1.8
# via
# geomet
# uvicorn
colorama==0.4.6 ; sys_platform == 'win32'
# via click
cryptography==46.0.3
# via pysnmpcrypto
defusedxml==0.7.1
# via glances
dnspython==2.8.0
# via pymongo
docker==7.1.0
# via glances
elastic-transport==9.2.1
# via elasticsearch
elasticsearch==9.2.1
# via glances
exceptiongroup==1.2.2 ; python_full_version < '3.11'
# via anyio
fastapi==0.128.0
# via glances
geomet==1.1.0
# via cassandra-driver
graphitesender==0.11.2
# via glances
h11==0.16.0
# via uvicorn
humanfriendly==10.0
# via pysmart
ibm-cloud-sdk-core==3.24.2
# via ibmcloudant
ibmcloudant==0.11.2
# via glances
idna==3.11
# via
# anyio
# requests
ifaddr==0.2.0
# via zeroconf
importlib-metadata==8.7.1
# via pygal
influxdb==5.3.2
# via glances
influxdb-client==1.49.0
# via glances
influxdb3-python==0.16.0
# via glances
jinja2==3.1.6
# via
# glances
# pysmi-lextudio
kafka-python==2.3.0
# via glances
markupsafe==3.0.3
# via jinja2
msgpack==1.1.2
# via influxdb
nats-py==2.12.0
# via glances
nvidia-ml-py==13.590.44
# via glances
packaging==25.0
# via glances
paho-mqtt==2.1.0
# via glances
pbkdf2==1.3
# via wifi
pika==1.3.2
# via glances
ply==3.11
# via pysmi-lextudio
podman==5.6.0
# via glances
potsdb==1.0.3
# via glances
prometheus-client==0.23.1
# via glances
protobuf==6.33.2
# via bernhard
psutil==7.2.1
# via glances
psycopg==3.3.2
# via glances
psycopg-binary==3.3.2 ; implementation_name != 'pypy'
# via psycopg
pyarrow==22.0.0
# via influxdb3-python
pyasn1==0.6.1
# via pysnmp-lextudio
pycparser==2.23 ; (implementation_name != 'PyPy' and platform_python_implementation != 'PyPy') or (implementation_name == 'pypy' and platform_python_implementation == 'PyPy')
# via cffi
pydantic==2.12.5
# via fastapi
pydantic-core==2.41.5
# via pydantic
pygal==3.1.0
# via glances
pyjwt==2.10.1
# via
# ibm-cloud-sdk-core
# ibmcloudant
pymdstat==0.4.3
# via glances
pymongo==4.15.5
# via glances
pyreadline3==3.5.4 ; sys_platform == 'win32'
# via humanfriendly
pysmart==1.4.2
# via glances
pysmi-lextudio==1.4.3
# via pysnmp-lextudio
pysnmp-lextudio==6.1.2
# via glances
pysnmpcrypto==0.0.4
# via pysnmp-lextudio
python-dateutil==2.9.0.post0
# via
# elasticsearch
# glances
# ibm-cloud-sdk-core
# ibmcloudant
# influxdb
# influxdb-client
# influxdb3-python
pytz==2025.2
# via influxdb
pywin32==311 ; sys_platform == 'win32'
# via docker
pyzmq==27.1.0
# via glances
reactivex==4.1.0
# via
# influxdb-client
# influxdb3-python
requests==2.32.5
# via
# docker
# glances
# ibm-cloud-sdk-core
# ibmcloudant
# influxdb
# podman
# pysmi-lextudio
setuptools==80.9.0
# via
# influxdb-client
# wifi
shtab==1.8.0 ; sys_platform != 'win32'
# via glances
six==1.17.0
# via
# glances
# influxdb
# python-dateutil
sniffio==1.3.1
# via
# elastic-transport
# elasticsearch
sparklines==0.7.0
# via glances
starlette==0.50.0
# via fastapi
statsd==4.0.1
# via glances
termcolor==3.3.0
# via sparklines
tomli==2.0.2 ; python_full_version < '3.11'
# via podman
typing-extensions==4.15.0
# via
# anyio
# cryptography
# elasticsearch
# fastapi
# psycopg
# pydantic
# pydantic-core
# reactivex
# starlette
# typing-inspection
# uvicorn
typing-inspection==0.4.2
# via pydantic
tzdata==2025.3 ; sys_platform == 'win32'
# via psycopg
urllib3==2.6.2
# via
# docker
# elastic-transport
# ibm-cloud-sdk-core
# influxdb-client
# influxdb3-python
# podman
# requests
uvicorn==0.40.0
# via glances
wifi==0.3.8
# via glances
windows-curses==2.4.1 ; sys_platform == 'win32'
# via glances
zeroconf==0.148.0
# via glances
zipp==3.23.0
# via importlib-metadata

View File

@ -0,0 +1,9 @@
✨ {{ gl.system['hostname'] }}{{ ' - ' + gl.ip['address'] if gl.ip['address'] else '' }}
⚙️ {{ gl.system['hr_name'] }} | Uptime: {{ gl.uptime }}
💡 LOAD {{ '%0.2f'| format(gl.load['min1']) }} {{ '%0.2f'| format(gl.load['min5']) }} {{ '%0.2f'| format(gl.load['min15']) }}
⚡ CPU {{ gl.bar(gl.cpu['total']) }} {{ gl.cpu['total'] }}% of {{ gl.core['log'] }} cores
🧠 MEM {{ gl.bar(gl.mem['percent']) }} {{ gl.mem['percent'] }}% ({{ gl.auto_unit(gl.mem['used']) }} {{ gl.auto_unit(gl.mem['total']) }})
{% for fs in gl.fs.keys() %}💾 {% if loop.index == 1 %}DISK{% else %} {% endif %} {{ gl.bar(gl.fs[fs]['percent']) }} {{ gl.fs[fs]['percent'] }}% ({{ gl.auto_unit(gl.fs[fs]['used']) }} {{ gl.auto_unit(gl.fs[fs]['size']) }}) for {{ fs }}
{% endfor %}{% for net in gl.network.keys() %}📡 {% if loop.index == 1 %}NET{% else %} {% endif %} ↓ {{ gl.auto_unit(gl.network[net]['bytes_recv_rate_per_sec']) }}b/s ↑ {{ gl.auto_unit(gl.network[net]['bytes_sent_rate_per_sec']) }}b/s for {{ net }}
{% endfor %}

View File

@ -0,0 +1,23 @@
_____ _
/ ____| |
| | __| | __ _ _ __ ___ ___ ___
| | |_ | |/ _` | '_ \ / __/ _ \/ __|
| |__| | | (_| | | | | (_| __/\__
\_____|_|\__,_|_| |_|\___\___||___/
✨ {{ gl.system['hostname'] }}{{ ' - ' + gl.ip['address'] if gl.ip['address'] else '' }}
⚙️ {{ gl.system['hr_name'] }} | Uptime: {{ gl.uptime }}
💡 LOAD {{ '%0.2f'| format(gl.load['min1']) }} {{ '%0.2f'| format(gl.load['min5']) }} {{ '%0.2f'| format(gl.load['min15']) }}
⚡ CPU {{ gl.bar(gl.cpu['total']) }} {{ gl.cpu['total'] }}% of {{ gl.core['log'] }} cores
🧠 MEM {{ gl.bar(gl.mem['percent']) }} {{ gl.mem['percent'] }}% ({{ gl.auto_unit(gl.mem['used']) }} {{ gl.auto_unit(gl.mem['total']) }})
{% for fs in gl.fs.keys() %}💾 {% if loop.index == 1 %}DISK{% else %} {% endif %} {{ gl.bar(gl.fs[fs]['percent']) }} {{ gl.fs[fs]['percent'] }}% ({{ gl.auto_unit(gl.fs[fs]['used']) }} {{ gl.auto_unit(gl.fs[fs]['size']) }}) for {{ fs }}
{% endfor %}{% for net in gl.network.keys() %}📡 {% if loop.index == 1 %}NET{% else %} {% endif %} ↓ {{ gl.auto_unit(gl.network[net]['bytes_recv_rate_per_sec']) }}b/s ↑ {{ gl.auto_unit(gl.network[net]['bytes_sent_rate_per_sec']) }}b/s for {{ net }}
{% endfor %}
🔥 TOP PROCESS by CPU
{% for process in gl.top_process() %}{{ loop.index }}️⃣ {{ process['name'][:20] }}{{ ' ' * (20 - process['name'][:20] | length) }} ⚡ {{ process['cpu_percent'] }}% CPU{{ ' ' * (8 - (gl.auto_unit(process['cpu_percent']) | length)) }} 🧠 {{ gl.auto_unit(process['memory_info']['rss']) }}B MEM
{% endfor %}
🔥 TOP PROCESS by MEM
{% for process in gl.top_process(sorted_by='memory_percent', sorted_by_secondary='cpu_percent') %}{{ loop.index }}️⃣ {{ process['name'][:20] }}{{ ' ' * (20 - process['name'][:20] | length) }} 🧠 {{ gl.auto_unit(process['memory_info']['rss']) }}B MEM{{ ' ' * (7 - (gl.auto_unit(process['memory_info']['rss']) | length)) }} ⚡ {{ process['cpu_percent'] }}% CPU
{% endfor %}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

395
dev-requirements.txt Normal file
View File

@ -0,0 +1,395 @@
# This file was autogenerated by uv via the following command:
# uv export --no-hashes --only-dev --output-file dev-requirements.txt
alabaster==1.0.0
# via sphinx
annotated-types==0.7.0
# via pydantic
anyio==4.12.0
# via
# httpx
# mcp
# sse-starlette
# starlette
attrs==25.4.0
# via
# glom
# jsonschema
# outcome
# referencing
# reuse
# semgrep
# trio
babel==2.17.0
# via sphinx
boltons==21.0.0
# via
# face
# glom
# semgrep
boolean-py==5.0
# via license-expression
bracex==2.6
# via wcmatch
certifi==2025.11.12
# via
# httpcore
# httpx
# requests
# selenium
cffi==2.0.0 ; (implementation_name != 'pypy' and os_name == 'nt') or platform_python_implementation != 'PyPy'
# via
# cryptography
# trio
cfgv==3.5.0
# via pre-commit
charset-normalizer==3.4.4
# via
# python-debian
# requests
click==8.1.8
# via
# click-option-group
# reuse
# semgrep
# typer
# uvicorn
click-option-group==0.5.9
# via semgrep
codespell==2.4.1
colorama==0.4.6
# via
# click
# pytest
# semgrep
# sphinx
contourpy==1.3.2 ; python_full_version < '3.11'
# via matplotlib
contourpy==1.3.3 ; python_full_version >= '3.11'
# via matplotlib
cryptography==46.0.3
# via pyjwt
cycler==0.12.1
# via matplotlib
distlib==0.4.0
# via virtualenv
docutils==0.21.2
# via
# rstcheck-core
# sphinx
# sphinx-rtd-theme
exceptiongroup==1.2.2
# via
# anyio
# pytest
# semgrep
# trio
# trio-websocket
face==24.0.0
# via glom
filelock==3.20.2
# via virtualenv
fonttools==4.61.1
# via matplotlib
glom==22.1.0
# via semgrep
googleapis-common-protos==1.72.0
# via opentelemetry-exporter-otlp-proto-http
gprof2dot==2025.4.14
h11==0.16.0
# via
# httpcore
# uvicorn
# wsproto
httpcore==1.0.9
# via httpx
httpx==0.28.1
# via mcp
httpx-sse==0.4.3
# via mcp
identify==2.6.15
# via pre-commit
idna==3.11
# via
# anyio
# httpx
# requests
# trio
imagesize==1.4.1
# via sphinx
importlib-metadata==8.7.1
# via opentelemetry-api
iniconfig==2.3.0
# via pytest
jinja2==3.1.6
# via
# reuse
# sphinx
jsonschema==4.25.1
# via
# mcp
# semgrep
jsonschema-specifications==2025.9.1
# via jsonschema
kiwisolver==1.4.9
# via matplotlib
license-expression==30.4.4
# via reuse
markdown-it-py==4.0.0
# via rich
markupsafe==3.0.3
# via jinja2
matplotlib==3.10.8
mcp==1.23.3
# via semgrep
mdurl==0.1.2
# via markdown-it-py
memory-profiler==0.61.0
nodeenv==1.10.0
# via
# pre-commit
# pyright
numpy==2.2.6 ; python_full_version < '3.11'
# via
# contourpy
# matplotlib
numpy==2.4.0 ; python_full_version >= '3.11'
# via
# contourpy
# matplotlib
opentelemetry-api==1.37.0
# via
# opentelemetry-exporter-otlp-proto-http
# opentelemetry-instrumentation
# opentelemetry-instrumentation-requests
# opentelemetry-sdk
# opentelemetry-semantic-conventions
# semgrep
opentelemetry-exporter-otlp-proto-common==1.37.0
# via opentelemetry-exporter-otlp-proto-http
opentelemetry-exporter-otlp-proto-http==1.37.0
# via semgrep
opentelemetry-instrumentation==0.58b0
# via opentelemetry-instrumentation-requests
opentelemetry-instrumentation-requests==0.58b0
# via semgrep
opentelemetry-proto==1.37.0
# via
# opentelemetry-exporter-otlp-proto-common
# opentelemetry-exporter-otlp-proto-http
opentelemetry-sdk==1.37.0
# via
# opentelemetry-exporter-otlp-proto-http
# semgrep
opentelemetry-semantic-conventions==0.58b0
# via
# opentelemetry-instrumentation
# opentelemetry-instrumentation-requests
# opentelemetry-sdk
opentelemetry-util-http==0.58b0
# via opentelemetry-instrumentation-requests
outcome==1.3.0.post0
# via
# trio
# trio-websocket
packaging==25.0
# via
# matplotlib
# opentelemetry-instrumentation
# pytest
# requirements-parser
# semgrep
# sphinx
# webdriver-manager
peewee==3.18.3
# via semgrep
pillow==12.1.0
# via matplotlib
platformdirs==4.5.1
# via virtualenv
pluggy==1.6.0
# via pytest
pre-commit==4.5.1
protobuf==6.33.2
# via
# googleapis-common-protos
# opentelemetry-proto
psutil==7.2.1
# via memory-profiler
py-spy==0.4.1
pycparser==2.23 ; (implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt') or (implementation_name != 'PyPy' and platform_python_implementation != 'PyPy')
# via cffi
pydantic==2.12.5
# via
# mcp
# pydantic-settings
# rstcheck-core
pydantic-core==2.41.5
# via pydantic
pydantic-settings==2.12.0
# via mcp
pygments==2.19.2
# via
# pytest
# rich
# sphinx
pyinstrument==5.1.1
pyjwt==2.10.1
# via mcp
pyparsing==3.3.1
# via matplotlib
pyright==1.1.407
pysocks==1.7.1
# via urllib3
pytest==9.0.2
python-dateutil==2.9.0.post0
# via matplotlib
python-debian==1.0.1
# via reuse
python-dotenv==1.2.1
# via
# pydantic-settings
# webdriver-manager
python-magic==0.4.27
# via reuse
python-multipart==0.0.21
# via mcp
pywin32==311 ; sys_platform == 'win32'
# via
# mcp
# semgrep
pyyaml==6.0.3
# via pre-commit
referencing==0.37.0
# via
# jsonschema
# jsonschema-specifications
requests==2.32.5
# via
# opentelemetry-exporter-otlp-proto-http
# semgrep
# sphinx
# webdriver-manager
requirements-parser==0.13.0
reuse==6.2.0
rich==13.5.3
# via
# semgrep
# typer
roman-numerals==4.1.0 ; python_full_version >= '3.11'
# via roman-numerals-py
roman-numerals-py==4.1.0 ; python_full_version >= '3.11'
# via sphinx
rpds-py==0.30.0
# via
# jsonschema
# referencing
rstcheck==6.2.5
rstcheck-core==1.2.2
# via rstcheck
ruamel-yaml==0.19.1
# via semgrep
ruamel-yaml-clib==0.2.14
# via semgrep
ruff==0.14.10
selenium==4.39.0
semgrep==1.146.0
setuptools==80.9.0
shellingham==1.5.4
# via typer
six==1.17.0
# via python-dateutil
sniffio==1.3.1
# via trio
snowballstemmer==3.0.1
# via sphinx
sortedcontainers==2.4.0
# via trio
sphinx==8.1.3 ; python_full_version < '3.11'
# via
# sphinx-rtd-theme
# sphinxcontrib-jquery
sphinx==8.2.3 ; python_full_version >= '3.11'
# via
# sphinx-rtd-theme
# sphinxcontrib-jquery
sphinx-rtd-theme==3.0.2
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==2.0.0
# via sphinx
sphinxcontrib-htmlhelp==2.1.0
# via sphinx
sphinxcontrib-jquery==4.1
# via sphinx-rtd-theme
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
sse-starlette==3.1.2
# via mcp
starlette==0.50.0
# via
# mcp
# sse-starlette
tomli==2.0.2
# via
# pytest
# semgrep
# sphinx
tomlkit==0.13.3
# via reuse
trio==0.32.0
# via
# selenium
# trio-websocket
trio-websocket==0.12.2
# via selenium
typer==0.21.0
# via rstcheck
typing-extensions==4.15.0
# via
# anyio
# cryptography
# mcp
# opentelemetry-api
# opentelemetry-exporter-otlp-proto-http
# opentelemetry-sdk
# opentelemetry-semantic-conventions
# pydantic
# pydantic-core
# pyright
# referencing
# selenium
# semgrep
# starlette
# typer
# typing-inspection
# uvicorn
# virtualenv
typing-inspection==0.4.2
# via
# mcp
# pydantic
# pydantic-settings
urllib3==2.6.2
# via
# requests
# selenium
# semgrep
uvicorn==0.40.0 ; sys_platform != 'emscripten'
# via mcp
virtualenv==20.35.4
# via pre-commit
wcmatch==8.5.2
# via semgrep
webdriver-manager==4.0.2
websocket-client==1.9.0
# via selenium
wrapt==1.17.3
# via opentelemetry-instrumentation
wsproto==1.3.2
# via trio-websocket
zipp==3.23.0
# via importlib-metadata

3
docker-bin.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
/venv/bin/python3 -m glances "$@"

View File

@ -0,0 +1,55 @@
services:
glances:
# See all images tags here: https://hub.docker.com/r/nicolargo/glances/tags
image: nicolargo/glances:latest-full
restart: always
pid: "host"
network_mode: "host"
read_only: true
privileged: false
# Uncomment next line for SATA or NVME smartctl monitoring
# cap_add:
# Uncomment next line for SATA smartctl monitoring
# - SYS_RAWIO
# Uncomment next line for NVME smartctl monitoring
# - SYS_ADMIN
# devices:
# - "/dev/nvme0"
volumes:
- "/:/rootfs:ro"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "/run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro"
- "./glances.conf:/glances/conf/glances.conf"
# Uncomment for proper distro information in upper panel.
# # Works only for distros that do have this file (most of distros do).
# - "/etc/os-release:/etc/os-release:ro"
tmpfs:
- /tmp
environment:
# Please set to your local timezone (or use local ${TZ} environment variable if set on your host)
- TZ=Europe/Paris
- GLANCES_OPT=-C /glances/conf/glances.conf -w --enable-plugin smart
- PYTHONPYCACHEPREFIX=/tmp/py_caches
# # Uncomment for GPU compatibility (Nvidia) inside the container
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
# Uncomment to protect Glances WebUI by a login/password (add --password to GLANCES_OPT)
# secrets:
# - source: glances_password
# target: /root/.config/glances/<login>.pwd
# secrets:
# glances_password:
# file: ./secrets/glances_password

969
docker-compose/glances.conf Normal file
View File

@ -0,0 +1,969 @@
##############################################################################
# Globals Glances parameters
##############################################################################
[global]
# Stats refresh rate (default is a minimum of 2 seconds)
# Can be overwrite by the -t <sec> option
# It is also possible to overwrite it in each plugin sections
refresh=2
# Does Glances should check if a newer version is available on PyPI ?
check_update=False
# History size (maximum number of values)
# Default is 1200 values (~1h with the default refresh rate)
history_size=1200
# Set the way Glances should display the date (default is %Y-%m-%d %H:%M:%S %Z)
#strftime_format=%Y-%m-%d %H:%M:%S %Z
# Define external directory for loading additional plugins
# The layout follows the glances standard for plugin definitions
#plugin_dir=/home/user/dev/plugins
##############################################################################
# User interface
##############################################################################
[outputs]
# Options for all UIs
#--------------------
# Separator in the Curses and WebUI interface (between top and others plugins)
#separator=True
# Set the the Curses and WebUI interface left menu plugin list (comma-separated)
#left_menu=network,wifi,connections,ports,diskio,fs,irq,folders,raid,smart,sensors,now
# Limit the number of processes to display (in the WebUI)
max_processes_display=25
#
# Specifics options for TUI
#--------------------------
# Disable background color
#disable_bg=True
#
# Specifics options for WebUI
#----------------------------
# Set URL prefix for the WebUI and the API
# Example: url_prefix=/glances/ => http://localhost/glances/
# Note: The final / is mandatory
# Default is no prefix (/)
#url_prefix=/glances/
# Set root path for WebUI statics files
# Why ? On Debian system, WebUI statics files are not provided.
# You can download it in a specific folder
# thanks to https://github.com/nicolargo/glances/issues/2021
# then configure this folder with the webui_root_path key
# Default is folder where glances_restful_api.py is hosted
#webui_root_path=
# CORS options
# Comma separated list of origins that should be permitted to make cross-origin requests.
# Default is *
#cors_origins=*
# Indicate that cookies should be supported for cross-origin requests.
# Default is True
#cors_credentials=True
# Comma separated list of HTTP methods that should be allowed for cross-origin requests.
# Default is *
#cors_methods=*
# Comma separated list of HTTP request headers that should be supported for cross-origin requests.
# Default is *
#cors_headers=*
# Define SSL files (keyfile_password is optional)
#ssl_keyfile_password=kfp
#ssl_keyfile=./glances.local+3-key.pem
#ssl_certfile=./glances.local+3.pem
##############################################################################
# Plugins
##############################################################################
[quicklook]
# Set to true to disable a plugin
# Note: you can also disable it from the command line (see --disable-plugin <plugin_name>)
disable=False
# Stats list (default is cpu,mem,load)
# Available stats are: cpu,mem,load,swap
list=cpu,mem,load
# Graphical bar char used in the terminal user interface (default is |)
bar_char=|
# Define CPU, MEM and SWAP thresholds in %
cpu_careful=50
cpu_warning=70
cpu_critical=90
mem_careful=50
mem_warning=70
mem_critical=90
swap_careful=50
swap_warning=70
swap_critical=90
# Source: http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
# With 1 CPU core, the load should be lower than 1.00 ~ 100%
load_careful=70
load_warning=100
load_critical=500
[system]
# This plugin display the first line in the Glances UI with:
# Hostname / Operating system name / Architecture information
# Set to true to disable a plugin
disable=False
# Default refresh rate is 60 seconds
#refresh=60
# System information to display (a string where {key} will be replaced by the value)
# Available information are: hostname, os_name, os_version, os_arch, linux_distro, platform
#system_info_msg= | My {os_name} system |
[cpu]
disable=False
# See https://scoutapm.com/blog/slow_server_flow_chart
#
# I/O wait percentage should be lower than 1/# (# = Logical CPU cores)
# Leave commented to just use the default config:
# Careful=1/#*100-20% / Warning=1/#*100-10% / Critical=1/#*100
#iowait_careful=30
#iowait_warning=40
#iowait_critical=50
#
# Total % is 100 - idle
total_careful=65
total_warning=75
total_critical=85
total_log=True
#
# Default values if not defined: 50/70/90 (except for iowait)
user_careful=50
user_warning=70
user_critical=90
user_log=False
#user_critical_action=echo "{{time}} User CPU {{user}} higher than {{critical}}" > /tmp/cpu.alert
#
system_careful=50
system_warning=70
system_critical=90
system_log=False
#
steal_careful=50
steal_warning=70
steal_critical=90
#steal_log=True
#
# Context switch limit (core / second)
# Leave commented to just use the default config critical is 50000*(Logical CPU cores)
#ctx_switches_careful=10000
#ctx_switches_warning=12000
#ctx_switches_critical=14000
[percpu]
disable=False
# Define the maximum number of CPU displayed at a time
# If the number of CPU is higher than the one configured in max_cpu_display then:
# - display top 'max_cpu_display' (sorted by CPU consumption)
# - a last line will be added with the mean of all other CPUs
max_cpu_display=4
# Define CPU thresholds in %
# Default values if not defined: 50/70/90
user_careful=50
user_warning=70
user_critical=90
iowait_careful=50
iowait_warning=70
iowait_critical=90
system_careful=50
system_warning=70
system_critical=90
[gpu]
disable=False
# Default processor values if not defined: 50/70/90
proc_careful=50
proc_warning=70
proc_critical=90
# Default memory values if not defined: 50/70/90
mem_careful=50
mem_warning=70
mem_critical=90
# Temperature
temperature_careful=60
temperature_warning=70
temperature_critical=80
[mem]
disable=False
# Display available memory instead of used memory
#available=True
# Define RAM thresholds in %
# Default values if not defined: 50/70/90
careful=50
warning=70
critical=90
#critical_action_repeat=echo "{{time}} {{percent}} higher than {{critical}}"" >> /tmp/memory.alert
[memswap]
disable=False
# Define SWAP thresholds in %
# Default values if not defined: 50/70/90
careful=50
warning=70
critical=90
#warning_action=echo "{{time}} {{percent}} higher than {{warning}}"" > /tmp/memory.alert
[load]
disable=False
# Define LOAD thresholds
# Value * number of cores
# Default values if not defined: 0.7/1.0/5.0 per number of cores
# Source: http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
# http://www.linuxjournal.com/article/9001
careful=0.7
warning=1.0
critical=5.0
#log=False
[network]
disable=False
# Default bitrate thresholds in % of the network interface speed
# Default values if not defined: 70/80/90
rx_careful=70
rx_warning=80
rx_critical=90
tx_careful=70
tx_warning=80
tx_critical=90
# Define the list of hidden network interfaces (comma-separated regexp)
#hide=docker.*,lo
# Define the list of wireless network interfaces to be show (comma-separated)
#show=docker.*
# Automatically hide interface not up (default is False)
hide_no_up=True
# Automatically hide interface with no IP address (default is False)
hide_no_ip=True
# Set hide_zero to True to automatically hide interface with no traffic
hide_zero=False
# Set hide_threshold_bytes to an integer value to automatically hide
# interface with traffic less or equal than this value
#hide_threshold_bytes=0
# It is possible to overwrite the bitrate thresholds per interface
# WLAN 0 Default limits (in bits per second aka bps) for interface bitrate
#wlan0_rx_careful=4000000
#wlan0_rx_warning=5000000
#wlan0_rx_critical=6000000
#wlan0_rx_log=True
#wlan0_tx_careful=700000
#wlan0_tx_warning=900000
#wlan0_tx_critical=1000000
#wlan0_tx_log=True
#wlan0_rx_critical_action=echo "{{time}} {{interface_name}} RX {{bytes_recv_rate_per_sec}}Bps" > /tmp/network.alert
# Alias for network interface name
#alias=wlp0s20f3:WIFI
[ip]
# Disable display of private IP address
disable=False
# Configure the online service where public IP address information will be downloaded
# - public_disabled: Disable public IP address information (set to True for offline platform)
# - public_refresh_interval: Refresh interval between to calls to the online service
# - public_api: URL of the API (the API should return an JSON object)
# - public_username: Login for the online service (if needed)
# - public_password: Password for the online service (if needed)
# - public_field: Field name of the public IP address in onlibe service JSON message
# - public_template: Template to build the public message
#
# Example for IPLeak service:
# public_api=https://ipv4.ipleak.net/json/
# public_field=ip
# public_template={ip} {continent_name}/{country_name}/{city_name}
#
public_disabled=True
public_refresh_interval=300
public_api=https://ipv4.ipleak.net/json/
#public_username=<myname>
#public_password=<mysecret>
public_field=ip
public_template={continent_name}/{country_name}/{city_name}
[connections]
# Display additional information about TCP connections
# This plugin is disabled by default because it consumes lots of CPU
disable=True
# nf_conntrack thresholds in %
nf_conntrack_percent_careful=70
nf_conntrack_percent_warning=80
nf_conntrack_percent_critical=90
[wifi]
disable=False
# Define SIGNAL thresholds in dBm (lower is better...)
# Based on: http://serverfault.com/questions/501025/industry-standard-for-minimum-wifi-signal-strength
careful=-65
warning=-75
critical=-85
[diskio]
disable=False
# Define the list of hidden disks (comma-separated regexp)
#hide=sda2,sda5,loop.*
hide=loop.*,/dev/loop.*
# Set hide_zero to True to automatically hide disk with no read/write
hide_zero=False
# Set hide_threshold_bytes to an integer value to automatically hide
# interface with traffic less or equal than this value
#hide_threshold_bytes=0
# Define the list of disks to be show (comma-separated)
#show=sda.*
# Alias for sda1 and sdb1
#alias=sda1:SystemDisk,sdb1:DataDisk
# Default latency thresholds (in ms) (rx = read / tx = write)
rx_latency_careful=10
rx_latency_warning=20
rx_latency_critical=50
tx_latency_careful=10
tx_latency_warning=20
tx_latency_critical=50
# Set latency thresholds (latency in ms) for a given disk name (rx = read / tx = write)
# dm-0_rx_latency_careful=10
# dm-0_rx_latency_warning=20
# dm-0_rx_latency_critical=50
# dm-0_rx_latency_log=False
# dm-0_tx_latency_careful=10
# dm-0_tx_latency_warning=20
# dm-0_tx_latency_critical=50
# dm-0_tx_latency_log=False
# There is no default bitrate thresholds for disk (because it is not possible to know the disk speed)
# Set bitrate thresholds (in bytes per second) for a given disk name (rx = read / tx = write)
#dm-0_rx_careful=4000000000
#dm-0_rx_warning=5000000000
#dm-0_rx_critical=6000000000
#dm-0_rx_log=False
#dm-0_tx_careful=700000000
#dm-0_tx_warning=900000000
#dm-0_tx_critical=1000000000
#dm-0_tx_log=False
[fs]
disable=False
# Define the list of file system to hide (comma-separated regexp)
hide=/boot.*,.*/snap.*
# Define the list of file system to show (comma-separated regexp)
#show=/,/srv
# Define filesystem space thresholds in %
# Default values if not defined: 50/70/90
careful=50
warning=70
critical=90
# It is also possible to define per mount point value
# Example: /_careful=40
#/_careful=1
#/_warning=5
#/_critical=10
#/_critical_action=echo "{{time}} {{mnt_point}} filesystem space {{percent}}% higher than {{critical}}%" > /tmp/fs.alert
# Allow additional file system types (comma-separated FS type)
#allow=shm
# Alias for root file system
#alias=/:Root,/zsfpool:ZSF
[irq]
# Documentation: https://glances.readthedocs.io/en/latest/aoa/irq.html
# This plugin is disabled by default
disable=True
[folders]
# Documentation: https://glances.readthedocs.io/en/latest/aoa/folders.html
disable=False
# Define a folder list to monitor
# The list is composed of items (list_#nb <= 10)
# An item is defined by:
# * path: absolute path
# * careful: optional careful threshold (in MB)
# * warning: optional warning threshold (in MB)
# * critical: optional critical threshold (in MB)
# * refresh: interval in second between two refreshes
#folder_1_path=/tmp
#folder_1_careful=2500
#folder_1_warning=3000
#folder_1_critical=3500
#folder_1_refresh=60
#folder_2_path=/home/nicolargo/Videos
#folder_2_warning=17000
#folder_2_critical=20000
#folder_3_path=/nonexisting
#folder_4_path=/root
[cloud]
# Documentation: https://glances.readthedocs.io/en/latest/aoa/cloud.html
# This plugin is disabled by default
disable=True
[raid]
# Documentation: https://glances.readthedocs.io/en/latest/aoa/raid.html
# This plugin is disabled by default
disable=True
[smart]
# Documentation: https://glances.readthedocs.io/en/latest/aoa/smart.html
# This plugin is disabled by default
disable=True
# Define the list of sensors to hide (comma-separated regexp)
#hide=.*Hide_this_driver.*
# Define the list of sensors to show (comma-separated regexp)
#show=.*Drive_Temperature.*
# List of attributes to hide (comma separated)
#hide_attributes=Self-tests,Errors
[hddtemp]
disable=False
# Define hddtemp server IP and port (default is 127.0.0.1 and 7634 (TCP))
host=127.0.0.1
port=7634
[sensors]
# Documentation: https://glances.readthedocs.io/en/latest/aoa/sensors.html
disable=False
# Set the refresh multiplicator for the sensors
# By default refresh every Glances refresh * 5 (increase to reduce CPU consumption)
#refresh=5
# Hide some sensors (comma separated list of regexp)
hide=unknown.*
# Show only the following sensors (comma separated list of regexp)
#show=CPU.*
# Sensors core thresholds (in Celsius...)
# By default values are grabbed from the system
# Overwrite thresholds for a specific sensor
# temperature_core_Ambient_careful=40
# temperature_core_Ambient_warning=60
# temperature_core_Ambient_critical=85
# temperature_core_Ambient_log=True
# temperature_core_Ambient_critical_action=echo "{{time}} {{label}} temperature {{value}}{{unit}} higher than {{critical}}{{unit}}" > /tmp/temperature.alert
# Overwrite thresholds for a specific type of sensor
#temperature_core_careful=45
#temperature_core_warning=65
#temperature_core_critical=80
# Temperatures threshold in °C for hddtemp
# Default values if not defined: 45/52/60
#temperature_hdd_careful=45
#temperature_hdd_warning=52
#temperature_hdd_critical=60
# Battery threshold in %
# Default values if not defined: 70/80/90
#battery_careful=70
#battery_warning=80
#battery_critical=90
# Fan speed threshold in RPM
#fan_speed_careful=100
# Sensors alias
#alias=core 0:CPU Core 0,core 1:CPU Core 1
[processcount]
disable=False
# If you want to change the refresh rate of the processing list, please uncomment:
#refresh=10
[processlist]
disable=False
# Sort key: if not defined, the sort is automatically done by Glances (recommended)
# Should be one of the following:
# cpu_percent, memory_percent, io_counters, name, cpu_times, username
#sort_key=memory_percent
# List of stats to disable (not grabed and not display)
# Stats that can be disabled: cpu_percent,memory_info,memory_percent,username,cpu_times,num_threads,nice,status,io_counters,cmdline
# Stats that can not be disable: pid,name
#disable_stats=cpu_percent,memory_info,memory_percent,username,cpu_times,num_threads,nice,status,io_counters,cmdline
# Disable display of virtual memory
#disable_virtual_memory=True
# Define CPU/MEM (per process) thresholds in %
# Default values if not defined: 50/70/90
cpu_careful=50
cpu_warning=70
cpu_critical=90
mem_careful=50
mem_warning=70
mem_critical=90
#
# Nice priorities range from -20 to 19.
# Configure nice levels using a comma-separated list.
#
# Nice: Example 1, non-zero is warning (default behavior)
nice_warning=-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
#
# Nice: Example 2, low priority processes escalate from careful to critical
#nice_ok=O
#nice_careful=1,2,3,4,5,6,7,8,9
#nice_warning=10,11,12,13,14
#nice_critical=15,16,17,18,19
#
# Status: define threshold regarding the process status (first letter of process status)
# R: Running, S: Sleeping, Z: Zombie (complete list here https://psutil.readthedocs.io/en/latest/#process-status-constants)
status_ok=R,W,P,I
status_critical=Z,D
# Define the list of processes to export using:
# a comma-separated list of Glances filter
#export=.*firefox.*,pid:1234
# Define a list of process to focus on (comma-separated list of Glances filter)
#focus=.*firefox.*,.*python.*
[ports]
disable=False
# Interval in second between two scans
# Ports scanner plugin configuration
refresh=30
# Set the default timeout (in second) for a scan (can be overwritten in the scan list)
timeout=3
# If port_default_gateway is True, add the default gateway on top of the scan list
port_default_gateway=False
#
# Define the scan list (1 < x < 255)
# port_x_host (name or IP) is mandatory
# port_x_port (TCP port number) is optional (if not set, use ICMP)
# port_x_description is optional (if not set, define to host:port)
# port_x_timeout is optional and overwrite the default timeout value
# port_x_rtt_warning is optional and defines the warning threshold in ms
#
#port_1_host=192.168.0.1
#port_1_port=80
#port_1_description=Home Box
#port_1_timeout=1
#port_2_host=www.free.fr
#port_2_description=My ISP
#port_3_host=www.google.com
#port_3_description=Internet ICMP
#port_3_rtt_warning=1000
#port_4_description=Internet Web
#port_4_host=www.google.com
#port_4_port=80
#port_4_rtt_warning=1000
#
# Define Web (URL) monitoring list (1 < x < 255)
# web_x_url is the URL to monitor (example: http://my.site.com/folder)
# web_x_description is optional (if not set, define to URL)
# web_x_timeout is optional and overwrite the default timeout value
# web_x_rtt_warning is optional and defines the warning respond time in ms (approximately)
#
#web_1_url=https://blog.nicolargo.com
#web_1_description=My Blog
#web_1_rtt_warning=3000
#web_2_url=https://github.com
#web_3_url=http://www.google.fr
#web_3_description=Google Fr
#web_4_url=https://blog.nicolargo.com/nonexist
#web_4_description=Intranet
[vms]
disable=True
# Define the maximum VMs size name (default is 20 chars)
max_name_size=20
# By default, Glances only display running VMs with states:
# 'Running', 'Paused', 'Starting' or 'Restarting'
# Set the following key to True to display all VMs regarding their states
all=False
[containers]
disable=False
# Only show specific containers (comma-separated list of container name or regular expression)
# Comment this line to display all containers (default configuration)
; show=telegraf
# Hide some containers (comma-separated list of container name or regular expression)
# Comment this line to display all containers (default configuration)
; hide=telegraf
# Define the maximum docker size name (default is 20 chars)
max_name_size=20
# List of stats to disable (not display)
# Following stats can be disabled: name,status,uptime,cpu,mem,diskio,networkio,ports,command
disable_stats=command
# Thresholds for CPU and MEM (in %)
; cpu_careful=50
; cpu_warning=70
; cpu_critical=90
; mem_careful=20
; mem_warning=50
; mem_critical=70
#
# Per container thresholds
; containername_cpu_careful=10
; containername_cpu_warning=20
; containername_cpu_critical=30
#
# By default, Glances only display running containers
# Set the following key to True to display all containers
all=False
# Define Podman sock
; podman_sock=unix:///run/user/1000/podman/podman.sock
[amps]
# AMPs configuration are defined in the bottom of this file
disable=False
[alert]
disable=False
# Maximum number of events to display (default is 10 events)
;max_events=10
# Minimum duration for an event to be taken into account (default is 6 seconds)
;min_duration=6
# Minimum time between two events of the same type (default is 6 seconds)
# This is used to avoid too many alerts for the same event
# Events will be merged
;min_interval=6
##############################################################################
# Browser mode - Static servers definition
##############################################################################
[serverlist]
# Define columns (comma separated list of <plugin>:<field>:(<key>)) to grab/display
# Default is: system:hr_name,load:min5,cpu:total,mem:percent
# You can also add stats with key, like sensors:value:Ambient (key is case sensitive)
#columns=system:hr_name,load:min5,cpu:total,mem:percent,memswap:percent,sensors:value:Ambient,sensors:value:Composite
# Define the static servers list
# _protocol can be: rpc (default if not defined) or rest
# List is limited to 256 servers max (1 to 256)
#server_1_name=localhost
#server_1_alias=Local WebUI
#server_1_port=61266
#server_1_protocol=rest
#server_2_name=localhost
#server_2_alias=My local PC
#server_2_port=61209
#server_2_protocol=rpc
#server_3_name=192.168.0.17
#server_3_alias=Another PC on my network
#server_3_port=61209
#server_1_protocol=rpc
#server_4_name=notagooddefinition
#server_4_port=61237
[passwords]
# Define the passwords list related to the [serverlist] section
# Syntax: host=password
# Where: host is the hostname
# password is the clear password
# Additionally (and optionally) a default password could be defined
#localhost=abc
#default=defaultpassword
#
# Define the path of the local '.pwd' file (default is system one)
#local_password_path=~/.config/glances
##############################################################################
# Exports
##############################################################################
[export]
# Common section for all exporters
# Do not export following fields (comma separated list of regex)
#exclude_fields=.*_critical,.*_careful,.*_warning,.*\.key$
[graph]
# Configuration for the --export graph option
# Set the path where the graph (.svg files) will be created
# Can be overwrite by the --graph-path command line option
path=/tmp/glances
# It is possible to generate the graphs automatically by setting the
# generate_every to a non zero value corresponding to the seconds between
# two generation. Set it to 0 to disable graph auto generation.
generate_every=0
# See following configuration keys definitions in the Pygal lib documentation
# http://pygal.org/en/stable/documentation/index.html
width=800
height=600
style=DarkStyle
[influxdb]
# !!!
# Will be DEPRECATED in future release.
# Please have a look on the new influxdb3 export module
# !!!
# Configuration for the --export influxdb option
# https://influxdb.com/
host=localhost
port=8086
protocol=http
user=root
password=root
db=glances
# Prefix will be added for all measurement name
# Ex: prefix=foo
# => foo.cpu
# => foo.mem
# You can also use dynamic values
#prefix=foo
# Following tags will be added for all measurements
# You can also use dynamic values.
# Note: hostname and name (for process) are always added as a tag
#tags=foo:bar,spam:eggs,domain:`domainname`
[influxdb2]
# Configuration for the --export influxdb2 option
# https://influxdb.com/
host=localhost
port=8086
protocol=http
org=nicolargo
bucket=glances
token=PUT_YOUR_INFLUXDB2_TOKEN_HERE
# Set the interval between two exports (in seconds)
# If the interval is set to 0, the Glances refresh time is used (default behavor)
#interval=0
# Prefix will be added for all measurement name
# Ex: prefix=foo
# => foo.cpu
# => foo.mem
# You can also use dynamic values
#prefix=foo
# Following tags will be added for all measurements
# You can also use dynamic values.
# Note: hostname and name (for process) are always added as a tag
#tags=foo:bar,spam:eggs,domain:`domainname`
[influxdb3]
# Configuration for the --export influxdb3 option
# https://influxdb.com/
host=http://localhost:8181
org=nicolargo
database=glances
token=PUT_YOUR_INFLUXDB3_TOKEN_HERE
# Set the interval between two exports (in seconds)
# If the interval is set to 0, the Glances refresh time is used (default behavor)
#interval=0
# Prefix will be added for all measurement name
# Ex: prefix=foo
# => foo.cpu
# => foo.mem
# You can also use dynamic values
#prefix=foo
# Following tags will be added for all measurements
# You can also use dynamic values.
# Note: hostname and name (for process) are always added as a tag
#tags=foo:bar,spam:eggs,domain:`domainname`
[cassandra]
# Configuration for the --export cassandra option
# Also works for the ScyllaDB
# https://influxdb.com/ or http://www.scylladb.com/
host=localhost
port=9042
protocol_version=3
keyspace=glances
replication_factor=2
# If not define, table name is set to host key
table=localhost
# If not define, username and password will not be used
#username=cassandra
#password=password
[opentsdb]
# Configuration for the --export opentsdb option
# http://opentsdb.net/
host=localhost
port=4242
#prefix=glances
#tags=foo:bar,spam:eggs
[statsd]
# Configuration for the --export statsd option
# https://github.com/etsy/statsd
host=localhost
port=8125
#prefix=glances
[elasticsearch]
# Configuration for the --export elasticsearch option
# Data are available via the ES RESTful API. ex: URL/<index>/cpu
# https://www.elastic.co
scheme=http
host=localhost
port=9200
index=glances
[riemann]
# Configuration for the --export riemann option
# http://riemann.io
host=localhost
port=5555
[rabbitmq]
# Configuration for the --export rabbitmq option
host=localhost
port=5672
user=guest
password=guest
queue=glances_queue
#protocol=amqps
[mqtt]
# Configuration for the --export mqtt option
host=localhost
# Overwrite device name in the topic
#devicename=localhost
port=8883
tls=false
user=guest
password=guest
topic=glances
topic_structure=per-metric
callback_api_version=2
[couchdb]
# Configuration for the --export couchdb option
# https://www.couchdb.org
host=localhost
port=5984
db=glances
user=admin
password=admin
[mongodb]
# Configuration for the --export mongodb option
# https://www.mongodb.com
host=localhost
port=27017
db=glances
user=root
password=example
[kafka]
# Configuration for the --export kafka option
# http://kafka.apache.org/
host=localhost
port=9092
topic=glances
#compression=gzip
# Tags will be added for all events
#tags=foo:bar,spam:eggs
# You can also use dynamic values
#tags=hostname:`hostname -f`
[zeromq]
# Configuration for the --export zeromq option
# http://www.zeromq.org
# Use * to bind on all interfaces
host=*
port=5678
# Glances envelopes the stats in a publish message with two frames:
# - First frame containing the following prefix (STRING)
# - Second frame with the Glances plugin name (STRING)
# - Third frame with the Glances plugin stats (JSON)
prefix=G
[prometheus]
# Configuration for the --export prometheus option
# https://prometheus.io
# Create a Prometheus exporter listening on localhost:9091 (default configuration)
# Metric are exporter using the following name:
# <prefix>_<plugin>_<stats>{labelkey:labelvalue}
# Note: You should add this exporter to your Prometheus server configuration:
# scrape_configs:
# - job_name: 'glances_exporter'
# scrape_interval: 5s
# static_configs:
# - targets: ['localhost:9091']
#
# Labels will be added for all measurements (default is src:glances)
# labels=foo:bar,spam:eggs
# You can also use dynamic values
# labels=system:`uname -s`
#
host=localhost
port=9091
#prefix=glances
labels=src:glances
[restful]
# Configuration for the --export restful option
# Example, export to http://localhost:6789/
host=localhost
port=6789
protocol=http
path=/
[graphite]
# Configuration for the --export graphite option
# https://graphiteapp.org/
host=localhost
port=2003
# Prefix will be added for all measurement name
prefix=glances
# System name added between the prefix and the stats
# By default, system_name = FQDN
#system_name=mycomputer
[timescaledb]
# Configuration for the --export timescaledb option
# https://www.timescale.com/
host=localhost
port=5432
db=glances
user=postgres
password=password
# Overwrite device name (default is the FQDN)
# Most of the time, you should not overwrite this value
#hostname=mycomputer
[nats]
# Configuration for the --export nats option
# https://nats.io/
# Host is a separated list of NATS nodes
host=nats://localhost:4222
# Prefix for the subjects (default is 'glances')
prefix=glances
##############################################################################
# AMPS
# * enable: Enable (true) or disable (false) the AMP
# * regex: Regular expression to filter the process(es)
# * refresh: The AMP is executed every refresh seconds
# * one_line: (optional) Force (if true) the AMP to be displayed in one line
# * command: (optional) command to execute when the process is detected (thk to the regex)
# * countmin: (optional) minimal number of processes
# A warning will be displayed if number of process < count
# * countmax: (optional) maximum number of processes
# A warning will be displayed if number of process > count
# * <foo>: Others variables can be defined and used in the AMP script
##############################################################################
[amp_dropbox]
# Use the default AMP (no dedicated AMP Python script)
# Check if the Dropbox daemon is running
# Every 3 seconds, display the 'dropbox status' command line
enable=false
regex=.*dropbox.*
refresh=3
one_line=false
command=dropbox status
countmin=1
[amp_python]
# Use the default AMP (no dedicated AMP Python script)
# Monitor all the Python scripts
# Alert if more than 20 Python scripts are running
enable=false
regex=.*python.*
refresh=3
countmax=20
[amp_conntrack]
# Use && separator for multiple commands
# If the regex key is not defined, the AMP will be executed every refresh second
# and the process count will not be displayed (countmin and countmax will be ignore)
enable=false
refresh=30
one_line=false
command=sysctl net.netfilter.nf_conntrack_count && sysctl net.netfilter.nf_conntrack_max
[amp_nginx]
# Use the NGinx AMP
# Nginx status page should be enable (https://easyengine.io/tutorials/nginx/status-page/)
enable=false
regex=\/usr\/sbin\/nginx
refresh=60
one_line=false
status_url=http://localhost/nginx_status
[amp_systemd]
# Use the Systemd AMP
enable=false
regex=\/lib\/systemd\/systemd
refresh=30
one_line=true
systemctl_cmd=/bin/systemctl --plain
[amp_systemv]
# Use the Systemv AMP
enable=false
regex=\/sbin\/init
refresh=30
one_line=true
service_cmd=/usr/bin/service --status-all

11
docker-files/README.md Normal file
View File

@ -0,0 +1,11 @@
# Dockerfiles
```bash
make docker
```
Then test the image with:
```bash
make run-docker-alpine-dev
```

View File

@ -0,0 +1,149 @@
#
# Glances Dockerfile (based on Alpine)
#
# https://github.com/nicolargo/glances
#
# Note: ENV is for future running containers. ARG for building your Docker image.
# WARNING: the Alpine image version and Python version should be set.
# Alpine 3.18 tag is a link to the latest 3.18.x version.
# Be aware that if you change the Alpine version, you may have to change the Python version.
ARG IMAGE_VERSION=3.23
ARG PYTHON_VERSION=3.12
##############################################################################
# Base layer to be used for building dependencies and the release images
FROM alpine:${IMAGE_VERSION} AS base
# Upgrade the system
RUN apk update \
&& apk upgrade --no-cache
# Install the minimal set of packages
RUN apk add --no-cache \
python3 \
curl \
lm-sensors \
wireless-tools \
smartmontools \
iputils \
tzdata
##############################################################################
# BUILD Stages
##############################################################################
# BUILD: Base image shared by all build images
FROM base AS build
ARG PYTHON_VERSION
RUN apk add --no-cache \
python3-dev \
py3-pip \
py3-wheel \
musl-dev \
linux-headers \
build-base \
libzmq \
zeromq-dev \
# Required for 'cryptography' dependency of optional requirement 'cassandra-driver' \
# Refer: https://cryptography.io/en/latest/installation/#alpine \
# `git` required to clone cargo crates (dependencies)
git \
gcc \
cargo \
pkgconfig \
libffi-dev \
openssl-dev \
cmake
# for cmake: Issue: https://github.com/nicolargo/glances/issues/2735
RUN python${PYTHON_VERSION} -m venv venv-build
RUN /venv-build/bin/python${PYTHON_VERSION} -m pip install --upgrade pip
RUN python${PYTHON_VERSION} -m venv --without-pip venv
COPY pyproject.toml docker-requirements.txt all-requirements.txt ./
##############################################################################
# BUILD: Install the minimal image deps
FROM build AS buildminimal
ARG PYTHON_VERSION
RUN /venv-build/bin/python${PYTHON_VERSION} -m pip install --target="/venv/lib/python${PYTHON_VERSION}/site-packages" \
-r docker-requirements.txt
##############################################################################
# BUILD: Install all the deps
FROM build AS buildfull
ARG PYTHON_VERSION
# Required for optional dependency cassandra-driver
ARG CASS_DRIVER_NO_CYTHON=1
# See issue 2368
ARG CARGO_NET_GIT_FETCH_WITH_CLI=true
RUN /venv-build/bin/python${PYTHON_VERSION} -m pip install --target="/venv/lib/python${PYTHON_VERSION}/site-packages" \
-r all-requirements.txt
##############################################################################
# RELEASE Stages
##############################################################################
# Base image shared by all releases
FROM base AS release
ARG PYTHON_VERSION
# Copy source code and config file
COPY ./docker-compose/glances.conf /etc/glances/glances.conf
COPY ./glances/. /app/glances/
# Copy binary and update PATH
COPY docker-bin.sh /usr/local/bin/glances
RUN chmod a+x /usr/local/bin/glances
ENV PATH="/venv/bin:$PATH"
# EXPOSE PORT (XMLRPC / WebUI)
EXPOSE 61209 61208
# Add glances user
# RUN addgroup -g 1000 glances && \
# adduser -D -u 1000 -G glances glances && \
# chown -R glances:glances /app
# Define default command.
WORKDIR /app
ENV PYTHON_VERSION=${PYTHON_VERSION}
CMD ["/bin/sh", "-c", "/venv/bin/python${PYTHON_VERSION} -m glances ${GLANCES_OPT}"]
################################################################################
# RELEASE: minimal
FROM release AS minimal
COPY --from=buildminimal /venv /venv
# USER glances
################################################################################
# RELEASE: full
FROM release AS full
RUN apk add --no-cache libzmq
COPY --from=buildfull /venv /venv
# USER glances
################################################################################
# RELEASE: dev - to be compatible with CI
FROM full AS dev
# Add the specific logger configuration file for Docker dev
# All logs will be forwarded to stdout
COPY ./docker-files/docker-logger.json /app
ENV LOG_CFG=/app/docker-logger.json
# USER glances
WORKDIR /app
ENV PYTHON_VERSION=${PYTHON_VERSION}
CMD ["/bin/sh", "-c", "/venv/bin/python${PYTHON_VERSION} -m glances ${GLANCES_OPT}"]

View File

@ -0,0 +1,24 @@
{
"version": 1,
"disable_existing_loggers": "False",
"root": { "level": "INFO", "handlers": ["console"] },
"formatters": {
"standard": { "format": "%(asctime)s -- %(levelname)s -- %(message)s" },
"short": { "format": "%(levelname)s -- %(message)s" },
"long": {
"format": "%(asctime)s -- %(levelname)s -- %(message)s (%(funcName)s in %(filename)s)"
},
"free": { "format": "%(message)s" }
},
"handlers": {
"console": { "class": "logging.StreamHandler", "formatter": "standard" }
},
"loggers": {
"debug": { "handlers": ["console"], "level": "DEBUG" },
"verbose": { "handlers": ["console"], "level": "INFO" },
"standard": { "handlers": ["console"], "level": "INFO" },
"requests": { "handlers": ["console"], "level": "ERROR" },
"elasticsearch": { "handlers": ["console"], "level": "ERROR" },
"elasticsearch.trace": { "handlers": ["console"], "level": "ERROR" }
}
}

View File

@ -0,0 +1,145 @@
#
# Glances Dockerfile (based on Ubuntu)
#
# https://github.com/nicolargo/glances
#
# WARNING: the versions should be set.
# Ex: Python 3.12 for Ubuntu 24.04
# Note: ENV is for future running containers. ARG for building your Docker image.
ARG IMAGE_VERSION=24.04
ARG PYTHON_VERSION=3.12
##############################################################################
# Base layer to be used for building dependencies and the release images
FROM ubuntu:${IMAGE_VERSION} AS base
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3 \
curl \
lm-sensors \
wireless-tools \
smartmontools \
net-tools \
tzdata \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
##############################################################################
# BUILD Stages
##############################################################################
# BUILD: Base image shared by all build images
FROM base AS build
ARG PYTHON_VERSION
ARG DEBIAN_FRONTEND=noninteractive
# Upgrade the system
RUN apt-get update \
&& apt-get upgrade -y
# Install build-time dependencies
RUN apt-get install -y --no-install-recommends \
python3-dev \
python3-venv \
python3-pip \
python3-wheel \
libzmq5 \
musl-dev \
build-essential
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m venv --without-pip venv
COPY pyproject.toml docker-requirements.txt all-requirements.txt ./
##############################################################################
# BUILD: Install the minimal image deps
FROM build AS buildminimal
ARG PYTHON_VERSION
RUN python3 -m pip install --target="/venv/lib/python${PYTHON_VERSION}/site-packages" \
-r docker-requirements.txt
##############################################################################
# BUILD: Install all the deps
FROM build AS buildfull
ARG PYTHON_VERSION
RUN python3 -m pip install --target="/venv/lib/python${PYTHON_VERSION}/site-packages" \
-r all-requirements.txt
##############################################################################
# RELEASE Stages
##############################################################################
# Base image shared by all releases
FROM base AS release
ARG PYTHON_VERSION
# Copy Glances source code and config file
COPY ./docker-compose/glances.conf /etc/glances/glances.conf
COPY ./glances/. /app/glances/
# Copy binary and update PATH
COPY docker-bin.sh /usr/local/bin/glances
RUN chmod a+x /usr/local/bin/glances
ENV PATH="/venv/bin:$PATH"
# EXPOSE PORT (XMLRPC / WebUI)
EXPOSE 61209 61208
# Add glances user
# NOTE: If used, the Glances Docker plugin do not work...
# UID and GUID 1000 are already configured for the ubuntu user
# Create anew one with UID and GUID 1001
# RUN groupadd -g 1001 glances && \
# useradd -u 1001 -g glances glances && \
# chown -R glances:glances /app
# Define default command.
WORKDIR /app
ENV PYTHON_VERSION=${PYTHON_VERSION}
CMD ["/bin/sh", "-c", "/venv/bin/python${PYTHON_VERSION} -m glances ${GLANCES_OPT}"]
################################################################################
# RELEASE: minimal
FROM release AS minimal
ARG PYTHON_VERSION
COPY --from=buildMinimal /venv /venv
# USER glances
################################################################################
# RELEASE: full
FROM release AS full
ARG PYTHON_VERSION
RUN apt-get update \
&& apt-get install -y --no-install-recommends libzmq5 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY --from=buildfull /venv /venv
# USER glances
################################################################################
# RELEASE: dev - to be compatible with CI
FROM full AS dev
ARG PYTHON_VERSION
# Add the specific logger configuration file for Docker dev
# All logs will be forwarded to stdout
COPY ./docker-files/docker-logger.json /app
ENV LOG_CFG=/app/docker-logger.json
# USER glances
WORKDIR /app
ENV PYTHON_VERSION=${PYTHON_VERSION}
CMD ["/bin/sh", "-c", "/venv/bin/python${PYTHON_VERSION} -m glances ${GLANCES_OPT}"]

83
docker-requirements.txt Normal file
View File

@ -0,0 +1,83 @@
# This file was autogenerated by uv via the following command:
# uv export --no-emit-workspace --no-hashes --no-group dev --extra containers --extra web --output-file docker-requirements.txt
annotated-doc==0.0.4
# via fastapi
annotated-types==0.7.0
# via pydantic
anyio==4.12.0
# via starlette
certifi==2025.11.12
# via requests
charset-normalizer==3.4.4
# via requests
click==8.1.8
# via uvicorn
colorama==0.4.6 ; sys_platform == 'win32'
# via click
defusedxml==0.7.1
# via glances
docker==7.1.0
# via glances
exceptiongroup==1.2.2 ; python_full_version < '3.11'
# via anyio
fastapi==0.128.0
# via glances
h11==0.16.0
# via uvicorn
idna==3.11
# via
# anyio
# requests
jinja2==3.1.6
# via glances
markupsafe==3.0.3
# via jinja2
packaging==25.0
# via glances
podman==5.6.0
# via glances
psutil==7.2.1
# via glances
pydantic==2.12.5
# via fastapi
pydantic-core==2.41.5
# via pydantic
python-dateutil==2.9.0.post0
# via glances
pywin32==311 ; sys_platform == 'win32'
# via docker
requests==2.32.5
# via
# docker
# glances
# podman
shtab==1.8.0 ; sys_platform != 'win32'
# via glances
six==1.17.0
# via
# glances
# python-dateutil
starlette==0.50.0
# via fastapi
tomli==2.0.2 ; python_full_version < '3.11'
# via podman
typing-extensions==4.15.0
# via
# anyio
# fastapi
# pydantic
# pydantic-core
# starlette
# typing-inspection
# uvicorn
typing-inspection==0.4.2
# via pydantic
urllib3==2.6.2
# via
# docker
# podman
# requests
uvicorn==0.40.0
# via glances
windows-curses==2.4.1 ; sys_platform == 'win32'
# via glances

View File

@ -3,7 +3,7 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXBUILD = ../.venv/bin/sphinx-build
PAPER =
BUILDDIR = _build

View File

@ -1,13 +1,13 @@
Building the docs
=================
First install Sphinx:
First install Sphinx and the RTD theme:
pip install sphinx
make venv
or update it if already installed:
pip install --upgrade sphinx
make venv-upgrade
Go to the docs folder:

8
docs/_static/Glances Logo dark.svg vendored Normal file
View File

@ -0,0 +1,8 @@
<svg width="466" height="513" viewBox="0 0 466 513" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M255.158 74.6719C210.447 74.6719 169.577 90.8033 137.94 117.597L101.314 74.351C142.801 39.2144 196.539 18 255.158 18C313.777 18 367.514 39.2144 409.002 74.351L372.375 117.597C340.739 90.8033 299.869 74.6719 255.158 74.6719Z" fill="#57CB6A"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M69.724 269.786C78.8585 239.798 93.6848 213.11 114.202 189.72C109.215 190.339 104.374 191.744 99.6848 193.934C99.4507 193.778 99.2179 193.622 98.9852 193.466C98.7524 193.31 98.5197 193.153 98.2856 192.997C115.671 167.026 137.51 145.644 163.821 128.851C148.064 102.5 139.949 73.9389 139.475 43.1663C175.368 48.9377 205.645 65.0133 230.302 91.3932C274.053 98.9935 313.69 115.849 349.218 141.961C357.984 148.228 364.694 156.188 369.349 165.841C371.421 173.282 373.29 180.773 374.963 188.315C378.06 195.163 382.598 200.939 388.553 205.639C396.216 212.36 404.635 217.979 413.827 222.496C425.428 226.146 437.299 228.487 449.419 229.519C450.036 238.808 447.687 247.236 442.388 254.803C422.562 269.701 400.243 275.475 375.436 272.127C354.959 268.606 334.526 265.016 314.115 261.358C298.373 261.798 289.313 269.913 286.953 285.706C285.479 298.85 288.291 311.024 295.383 322.227C298.898 327.698 302.636 333.004 306.612 338.146C317.576 350.517 329.288 362.067 341.732 372.795C335.351 374.599 328.801 375.692 322.073 376.072C329.039 380.163 337.274 385.383 345.878 390.837C360.519 400.118 376.227 410.074 388.553 416.286C337.769 445.709 282.887 477.418 169.436 434.6C120.749 416.226 83.0894 382.995 69.724 348.786C58.1736 319.223 60.5895 299.774 69.724 269.786ZM293.571 177.683C316.621 190.99 343.292 187.948 343.292 187.948C343.292 187.948 333.852 161.145 310.802 147.837C287.753 134.529 259.821 139.756 259.821 139.756C259.821 139.756 270.521 164.375 293.571 177.683Z" fill="#494949"/>
<path opacity="0.976" fill-rule="evenodd" clip-rule="evenodd" d="M296.872 356.751C291.496 356.475 286.193 356.007 280.958 355.347C300.379 370.178 315.357 388.594 325.89 410.591C321.407 409.082 316.726 407.989 311.849 407.314C315.577 416.3 319.321 425.351 323.082 434.468C261.493 452.42 204.235 443.369 151.309 407.314C150.685 402.008 150.685 396.702 151.309 391.396C152.52 380.056 154.079 368.82 155.99 357.688C146.778 368.801 139.913 381.286 135.396 395.141C133.367 393.112 131.34 391.084 129.311 389.055C131.985 368.86 138.225 349.821 148.033 331.938C145.902 332.304 143.718 332.304 141.48 331.938C142.614 332.774 142.614 333.554 141.48 334.279C137.084 337.409 132.716 340.53 128.375 343.643C140.699 316.793 158.484 294.164 181.732 275.758C188.213 271.424 195.078 267.834 202.326 264.99C204.288 277.522 207.565 289.694 212.155 301.507C212.731 303.02 213.667 304.268 214.964 305.252C224.041 288.216 235.118 272.61 248.195 258.435C247.883 258.123 247.57 257.811 247.259 257.499C236.51 263.412 226.992 270.903 218.708 279.971C214.966 269.684 212.781 259.072 212.155 248.135C211.792 247.267 211.168 246.642 210.283 246.263C195.64 251.401 181.911 258.268 169.095 266.862C174.297 249.902 182.254 234.297 192.965 220.045C191.167 218.977 189.295 218.82 187.349 219.577C181.431 221.394 175.503 223.112 169.563 224.727C169.563 224.415 169.563 224.102 169.563 223.791C186.845 203.591 208.688 191.107 235.089 186.337C228.102 183.226 220.925 180.573 213.559 178.378C232.751 178.16 251.16 181.905 268.789 189.614C293.076 201.759 316.79 214.868 339.932 228.94C364.586 243.299 391.108 249.229 419.5 246.731C424.816 244.085 429.496 244.865 433.541 249.072C417.681 261.779 399.582 266.617 379.248 263.585C362.612 260.632 346.075 257.198 329.635 253.285C289.901 244.644 271.023 260.717 273.001 301.507C274.036 311.264 276.532 320.627 280.49 329.597C285.501 339.011 290.961 348.063 296.872 356.751Z" fill="#656565"/>
<path opacity="0.976" fill-rule="evenodd" clip-rule="evenodd" d="M196.71 87.0847C188.449 82.7977 180.024 78.7402 171.436 74.9123C171.124 75.2244 170.811 75.5365 170.5 75.8486C174.6 82.3323 178.344 89.0428 181.733 95.98C178.363 95.004 175.243 93.2874 172.372 90.8301C172.06 91.1422 171.747 91.4544 171.436 91.7665C172.803 97.9843 174.052 104.227 175.18 110.493C164.477 95.9365 157.3 79.7065 153.65 61.8035C170.36 66.374 184.714 74.8011 196.71 87.0847Z" fill="#656565"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M137.94 117.597C98.5802 150.932 73.6684 200.623 73.6684 256.161C73.6684 356.395 154.924 437.65 255.158 437.65C292.62 437.65 327.376 426.327 356.267 406.904V308.015H412.939V435.092L402.098 443.601C361.629 475.365 310.568 494.322 255.158 494.322C123.625 494.322 16.9966 387.694 16.9966 256.161C16.9966 183.263 49.7834 117.993 101.314 74.3508L137.94 117.597Z" fill="#57CB6A"/>
<path d="M298.832 173.943V157.86C298.411 158.251 297.894 158.641 297.28 159.032C296.682 159.407 296.052 159.765 295.389 160.106C294.726 160.432 294.071 160.733 293.425 161.01C292.778 161.27 292.213 161.474 291.728 161.62V156.81C292.277 156.582 292.908 156.24 293.619 155.785C294.346 155.329 295.049 154.849 295.728 154.344C296.407 153.823 297.021 153.326 297.571 152.854C298.12 152.382 298.492 152.016 298.686 151.756H303.899V173.943H298.832Z" fill="#57CB6A"/>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

8
docs/_static/Glances Logo.svg vendored Normal file
View File

@ -0,0 +1,8 @@
<svg width="466" height="513" viewBox="0 0 466 513" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M254.919 74.6719C210.209 74.6719 169.338 90.8033 137.702 117.597L101.076 74.351C142.563 39.2144 196.3 18 254.919 18C313.539 18 367.276 39.2144 408.763 74.351L372.137 117.597C340.501 90.8033 299.63 74.6719 254.919 74.6719Z" fill="#57CB6A"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M69.4858 269.786C78.6202 239.798 93.4465 213.11 113.963 189.72C108.977 190.339 104.136 191.744 99.4465 193.934C99.2124 193.778 98.9797 193.622 98.7469 193.466C98.5141 193.31 98.2814 193.153 98.0473 192.997C115.432 167.026 137.272 145.644 163.583 128.851C147.826 102.5 139.711 73.9389 139.237 43.1663C175.13 48.9377 205.406 65.0133 230.063 91.3932C273.815 98.9935 313.452 115.849 348.979 141.961C357.746 148.228 364.456 156.188 369.111 165.841C371.183 173.282 373.052 180.773 374.725 188.315C377.822 195.163 382.36 200.939 388.315 205.639C395.978 212.36 404.397 217.979 413.588 222.496C425.19 226.146 437.061 228.487 449.181 229.519C449.798 238.808 447.449 247.236 442.15 254.803C422.323 269.701 400.004 275.475 375.197 272.127C354.721 268.606 334.288 265.016 313.877 261.358C298.135 261.798 289.075 269.913 286.714 285.706C285.24 298.85 288.053 311.024 295.145 322.227C298.66 327.698 302.398 333.004 306.373 338.146C317.338 350.517 329.049 362.067 341.494 372.795C335.112 374.599 328.562 375.692 321.835 376.072C328.8 380.163 337.036 385.383 345.639 390.837C360.281 400.118 375.988 410.074 388.315 416.286C337.531 445.709 282.649 477.418 169.198 434.6C120.511 416.226 82.8511 382.995 69.4857 348.786C57.9354 319.223 60.3512 299.774 69.4858 269.786ZM293.333 177.683C316.383 190.99 343.053 187.948 343.053 187.948C343.053 187.948 333.614 161.145 310.564 147.837C287.514 134.529 259.583 139.756 259.583 139.756C259.583 139.756 270.283 164.375 293.333 177.683Z" fill="#EBEBEB"/>
<path opacity="0.976" fill-rule="evenodd" clip-rule="evenodd" d="M296.633 356.751C291.258 356.475 285.954 356.007 280.72 355.347C300.141 370.178 315.118 388.594 325.652 410.591C321.168 409.082 316.488 407.989 311.611 407.314C315.338 416.3 319.083 425.351 322.844 434.468C261.255 452.42 203.997 443.369 151.071 407.314C150.447 402.008 150.447 396.702 151.071 391.396C152.281 380.056 153.841 368.82 155.751 357.688C146.539 368.801 139.675 381.286 135.157 395.141C133.129 393.112 131.101 391.084 129.073 389.055C131.746 368.86 137.986 349.821 147.795 331.938C145.664 332.304 143.48 332.304 141.242 331.938C142.376 332.774 142.376 333.554 141.242 334.279C136.846 337.409 132.477 340.53 128.137 343.643C140.46 316.793 158.246 294.164 181.494 275.758C187.975 271.424 194.84 267.834 202.088 264.99C204.05 277.522 207.326 289.694 211.917 301.507C212.493 303.02 213.429 304.268 214.725 305.252C223.803 288.216 234.879 272.61 247.956 258.435C247.645 258.123 247.332 257.811 247.02 257.499C236.271 263.412 226.754 270.903 218.47 279.971C214.728 269.684 212.543 259.072 211.917 248.135C211.554 247.267 210.929 246.642 210.045 246.263C195.401 251.401 181.673 258.268 168.857 266.862C174.059 249.902 182.015 234.297 192.727 220.045C190.929 218.977 189.057 218.82 187.111 219.577C181.193 221.394 175.264 223.112 169.325 224.727C169.325 224.415 169.325 224.102 169.325 223.791C186.607 203.591 208.45 191.107 234.851 186.337C227.864 183.226 220.687 180.573 213.321 178.378C232.513 178.16 250.922 181.905 268.551 189.614C292.837 201.759 316.551 214.868 339.693 228.94C364.347 243.299 390.87 249.229 419.261 246.731C424.577 244.085 429.258 244.865 433.303 249.072C417.442 261.779 399.344 266.617 379.009 263.585C362.374 260.632 345.837 257.198 329.396 253.285C289.663 244.644 270.785 260.717 272.763 301.507C273.797 311.264 276.294 320.627 280.252 329.597C285.263 339.011 290.723 348.063 296.633 356.751Z" fill="#C1C1C1"/>
<path opacity="0.976" fill-rule="evenodd" clip-rule="evenodd" d="M196.472 87.0847C188.211 82.7977 179.786 78.7402 171.197 74.9123C170.886 75.2244 170.573 75.5365 170.261 75.8486C174.361 82.3323 178.106 89.0428 181.494 95.98C178.124 95.004 175.004 93.2874 172.133 90.8301C171.822 91.1422 171.509 91.4544 171.197 91.7665C172.565 97.9843 173.814 104.227 174.942 110.493C164.238 95.9365 157.061 79.7065 153.412 61.8035C170.122 66.374 184.476 74.8011 196.472 87.0847Z" fill="#C1C1C1"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M137.702 117.597C98.3419 150.932 73.4302 200.623 73.4302 256.161C73.4302 356.395 154.686 437.65 254.92 437.65C292.382 437.65 327.138 426.327 356.029 406.904V308.015H412.701V435.092L401.86 443.601C361.391 475.365 310.33 494.322 254.92 494.322C123.387 494.322 16.7583 387.694 16.7583 256.161C16.7583 183.263 49.5451 117.993 101.076 74.3508L137.702 117.597Z" fill="#57CB6A"/>
<path d="M298.593 173.943V157.86C298.173 158.251 297.656 158.641 297.041 159.032C296.443 159.407 295.813 159.765 295.15 160.106C294.488 160.432 293.833 160.733 293.186 161.01C292.54 161.27 291.974 161.474 291.489 161.62V156.81C292.039 156.582 292.669 156.24 293.38 155.785C294.108 155.329 294.811 154.849 295.49 154.344C296.169 153.823 296.783 153.326 297.332 152.854C297.882 152.382 298.254 152.016 298.448 151.756H303.66V173.943H298.593Z" fill="#57CB6A"/>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

15
docs/_static/Glances Text Logo dark.svg vendored Normal file
View File

@ -0,0 +1,15 @@
<svg width="680" height="728" viewBox="0 0 680 728" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M119.501 582.227C117.131 587.757 115.551 592.496 113.181 598.026C104.492 593.286 95.012 590.916 85.5325 590.126C62.6238 588.546 46.0347 598.816 39.715 620.935C34.9753 637.524 34.9753 654.113 42.0849 669.912C48.4045 684.131 58.674 692.031 74.4731 693.611C83.9526 694.401 92.6421 693.611 102.122 692.031C102.122 684.131 102.122 675.442 102.122 667.542C102.122 659.643 102.122 651.743 102.122 643.843C108.441 643.843 113.971 643.843 119.501 643.843C119.501 664.382 119.501 684.131 119.501 705.46C113.971 706.25 108.441 707.83 102.912 708.62C94.2221 709.41 85.5325 710.99 76.843 710.99C42.8748 710.99 20.756 688.871 16.8062 656.483C15.2263 643.054 15.2263 628.834 19.9661 615.405C28.6556 589.336 50.7744 573.537 78.4229 572.747C89.4823 572.747 99.7518 574.327 109.231 577.487C113.181 579.067 116.341 580.647 119.501 582.227Z" fill="#494949"/>
<path d="M576.096 663.595C553.187 663.595 531.068 663.595 508.159 663.595C509.739 668.335 509.739 673.074 511.319 677.814C515.269 688.084 523.169 692.823 533.438 694.403C543.707 695.983 553.977 695.193 564.246 691.243C565.036 691.243 566.616 690.453 567.406 690.453C568.196 695.193 568.986 699.933 569.776 705.463C562.666 707.043 556.347 708.622 550.027 709.412C537.388 710.992 524.748 710.202 512.899 703.883C502.63 698.353 495.52 690.453 492.36 679.394C487.62 662.805 487.62 646.216 495.52 630.417C504.999 611.458 525.538 602.768 546.077 607.508C561.086 611.458 568.986 620.937 572.936 635.946C576.096 644.636 576.886 653.325 576.096 663.595ZM508.949 648.586C525.538 648.586 541.338 648.586 557.927 648.586C557.927 632.787 550.027 622.517 536.598 621.727C521.589 620.937 510.529 632.787 508.949 648.586Z" fill="#494949"/>
<path d="M268.802 706.25C249.843 708.62 231.674 712.569 213.505 707.04C200.076 703.09 193.756 692.82 193.756 678.601C193.756 665.172 200.866 654.903 213.505 650.953C224.565 647.003 236.414 647.003 248.263 649.373C249.843 649.373 250.633 650.163 252.213 650.163C253.793 634.364 248.263 624.094 234.044 622.514C224.565 621.724 215.875 623.304 206.396 625.674C205.606 620.934 204.816 616.195 204.026 611.455C209.556 608.295 215.875 608.295 222.195 607.505C232.464 606.715 241.944 606.715 251.423 610.665C259.323 613.825 264.853 620.144 267.222 628.044C268.012 631.204 269.592 635.154 269.592 638.313C268.802 660.432 268.802 683.341 268.802 706.25ZM251.423 663.592C241.154 661.222 230.094 660.432 220.615 664.382C214.295 666.752 211.135 672.282 211.135 678.601C211.135 686.501 215.085 690.451 222.195 692.82C231.674 695.98 241.944 694.4 251.423 693.61C251.423 683.341 251.423 673.861 251.423 663.592Z" fill="#494949"/>
<path d="M298.826 612.249C304.356 611.459 309.886 609.879 316.205 609.089C326.475 608.299 337.534 607.509 347.804 608.299C364.393 609.879 374.662 620.938 377.032 638.317C377.822 643.847 377.822 648.587 377.822 654.116C377.822 670.706 377.822 686.505 377.822 703.094C377.822 704.674 377.822 706.254 377.822 707.834C371.502 707.834 365.973 707.834 359.653 707.834C359.653 706.254 359.653 704.674 359.653 703.094C359.653 688.085 359.653 673.075 359.653 658.066C359.653 650.957 358.863 643.847 357.283 636.737C355.703 628.838 350.173 624.888 343.064 624.098C334.374 622.518 325.685 624.098 316.995 625.678C316.995 653.326 316.995 680.975 316.995 708.623C310.676 708.623 305.146 708.623 299.616 708.623C298.826 676.235 298.826 644.637 298.826 612.249Z" fill="#494949"/>
<path d="M657.454 610.664C656.664 616.193 655.084 620.933 654.294 624.883C647.184 623.303 640.865 621.723 633.755 621.723C629.805 621.723 625.066 622.513 621.116 623.303C613.216 626.463 610.846 635.152 617.166 641.472C619.536 643.842 623.486 646.212 627.436 647.792C633.755 650.952 640.075 652.531 646.394 655.691C653.504 658.851 659.824 663.591 662.194 672.28C666.143 688.869 660.614 703.879 639.285 707.828C625.066 710.988 610.846 710.198 597.417 704.669C596.627 704.669 595.837 703.879 595.047 703.879L594.257 703.089C595.047 698.349 596.627 693.609 597.417 688.869C604.527 690.449 610.846 692.819 617.956 693.609C624.276 694.399 631.385 693.609 637.705 692.029C646.395 689.659 648.764 680.18 642.445 673.86C640.075 671.49 636.915 669.121 633.755 668.331C627.436 665.171 621.906 662.801 615.586 660.431C608.477 657.271 602.157 653.321 598.997 645.422C592.677 629.623 601.367 613.034 618.746 608.294C628.225 605.134 645.605 605.924 657.454 610.664Z" fill="#494949"/>
<path d="M474.178 690.45C474.968 695.19 475.758 699.929 476.548 704.669C474.968 705.459 474.178 706.249 473.388 706.249C459.958 710.199 446.529 710.989 433.1 707.039C418.881 702.299 408.611 692.82 404.661 678.6C399.922 662.801 399.922 647.002 407.821 631.203C414.931 616.194 427.57 607.504 444.159 605.924C454.429 605.134 464.698 605.924 474.968 610.664C473.388 615.404 472.598 620.144 471.018 624.883C465.488 624.093 460.748 622.513 456.009 621.723C446.529 620.934 436.26 621.723 429.15 629.623C425.99 632.783 423.62 637.523 422.04 641.472C418.881 653.322 418.881 665.171 422.83 676.231C426.78 686.5 433.89 691.24 444.159 692.82C452.849 694.4 462.328 693.61 471.018 690.45C471.808 691.24 472.598 691.24 474.178 690.45Z" fill="#494949"/>
<path d="M181.11 694.401C180.32 699.141 179.53 703.88 178.74 708.62C162.151 711.78 147.932 701.511 147.932 684.132C147.932 646.214 147.932 608.296 147.932 571.168C147.932 568.798 147.932 566.428 147.932 564.058C154.252 563.268 159.781 561.688 166.101 560.898C166.101 563.268 166.101 564.848 166.101 566.428C166.101 602.766 166.101 639.104 166.101 675.442C166.101 677.812 166.101 680.182 166.101 681.762C166.891 688.871 169.261 692.031 177.161 693.611C177.95 693.611 178.74 694.401 181.11 694.401Z" fill="#494949"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M363.176 77.9551C315.086 77.9551 271.127 95.3057 237.099 124.124L197.705 77.6099C242.328 39.8177 300.127 17 363.176 17C426.226 17 484.025 39.8177 528.647 77.6099L489.253 124.124C455.226 95.3057 411.266 77.9551 363.176 77.9551Z" fill="#57CB6A"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M163.728 287.816C173.553 255.562 189.499 226.856 211.567 201.698C206.204 202.364 200.997 203.875 195.953 206.231C195.701 206.063 195.451 205.895 195.2 205.727C194.95 205.559 194.7 205.391 194.448 205.224C213.147 177.289 236.637 154.292 264.937 136.229C247.989 107.887 239.26 77.1667 238.751 44.0684C277.357 50.276 309.921 67.5666 336.442 95.9402C383.5 104.115 426.133 122.245 464.345 150.33C473.774 157.07 480.992 165.632 485.998 176.014C488.227 184.018 490.237 192.075 492.037 200.188C495.367 207.553 500.249 213.765 506.654 218.821C514.896 226.05 523.951 232.093 533.837 236.951C546.316 240.877 559.084 243.395 572.12 244.505C572.784 254.497 570.257 263.562 564.558 271.7C543.233 287.724 519.227 293.935 492.545 290.334C470.521 286.547 448.544 282.685 426.589 278.751C409.658 279.224 399.913 287.953 397.374 304.939C395.789 319.077 398.814 332.171 406.442 344.22C410.222 350.104 414.243 355.812 418.519 361.343C430.312 374.648 442.909 387.071 456.294 398.61C449.43 400.551 442.385 401.726 435.149 402.135C442.641 406.535 451.499 412.15 460.753 418.015C476.501 427.998 493.395 438.707 506.654 445.388C452.031 477.035 393.002 511.14 270.976 465.087C218.61 445.323 178.103 409.581 163.728 372.787C151.304 340.989 153.903 320.07 163.728 287.816ZM404.493 188.751C429.285 203.065 457.971 199.792 457.971 199.792C457.971 199.792 447.819 170.964 423.027 156.65C398.235 142.336 368.192 147.958 368.192 147.958C368.192 147.958 379.701 174.438 404.493 188.751Z" fill="#494949"/>
<path opacity="0.976" fill-rule="evenodd" clip-rule="evenodd" d="M408.043 381.354C402.262 381.057 396.557 380.553 390.927 379.843C411.816 395.796 427.925 415.603 439.255 439.263C434.432 437.639 429.398 436.464 424.152 435.738C428.162 445.403 432.189 455.138 436.234 464.944C369.99 484.253 308.405 474.518 251.479 435.738C250.808 430.031 250.808 424.324 251.479 418.617C252.781 406.42 254.458 394.335 256.513 382.361C246.605 394.314 239.222 407.743 234.363 422.645C232.181 420.463 230 418.282 227.818 416.099C230.694 394.378 237.406 373.9 247.955 354.665C245.664 355.059 243.315 355.059 240.907 354.665C242.127 355.565 242.127 356.404 240.907 357.183C236.179 360.55 231.48 363.907 226.812 367.254C240.067 338.375 259.197 314.037 284.201 294.239C291.172 289.578 298.556 285.717 306.352 282.657C308.462 296.136 311.986 309.229 316.924 321.934C317.543 323.562 318.55 324.904 319.944 325.963C329.708 307.638 341.622 290.853 355.687 275.607C355.352 275.272 355.016 274.935 354.68 274.6C343.119 280.96 332.882 289.017 323.972 298.771C319.947 287.706 317.597 276.292 316.924 264.529C316.533 263.594 315.862 262.923 314.91 262.515C299.16 268.042 284.394 275.427 270.609 284.671C276.204 266.429 284.762 249.645 296.284 234.316C294.349 233.167 292.336 232.998 290.242 233.812C283.877 235.767 277.501 237.614 271.113 239.351C271.113 239.016 271.113 238.679 271.113 238.344C289.701 216.618 313.194 203.19 341.591 198.06C334.076 194.714 326.357 191.86 318.434 189.499C339.076 189.265 358.877 193.293 377.838 201.585C403.96 214.648 429.466 228.747 454.358 243.883C480.875 259.327 509.402 265.705 539.939 263.018C545.657 260.172 550.691 261.011 555.042 265.536C537.983 279.204 518.516 284.407 496.645 281.146C478.752 277.97 460.965 274.277 443.282 270.068C400.546 260.773 380.241 278.062 382.368 321.934C383.481 332.428 386.166 342.5 390.423 352.148C395.813 362.273 401.686 372.009 408.043 381.354Z" fill="#666666"/>
<path opacity="0.976" fill-rule="evenodd" clip-rule="evenodd" d="M300.311 91.306C291.426 86.695 282.364 82.3308 273.127 78.2136C272.791 78.5492 272.455 78.885 272.12 79.2207C276.53 86.1944 280.557 93.4121 284.202 100.874C280.577 99.8239 277.221 97.9775 274.133 95.3345C273.798 95.6701 273.462 96.0059 273.127 96.3416C274.598 103.029 275.941 109.744 277.154 116.484C265.642 100.827 257.922 83.3702 253.997 64.114C271.97 69.03 287.409 78.094 300.311 91.306Z" fill="#666666"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M237.1 124.124C194.765 159.979 167.97 213.426 167.97 273.161C167.97 380.971 255.367 468.367 363.176 468.367C403.47 468.367 440.853 456.188 471.927 435.297V328.934H532.882V465.615L521.222 474.767C477.695 508.932 422.774 529.322 363.176 529.322C221.702 529.322 107.015 414.635 107.015 273.161C107.015 194.753 142.28 124.551 197.705 77.6099L237.1 124.124Z" fill="#57CB6A"/>
<path d="M410.151 184.729V167.431C409.699 167.851 409.143 168.271 408.482 168.691C407.839 169.094 407.161 169.479 406.448 169.847C405.735 170.197 405.031 170.521 404.336 170.819C403.64 171.099 403.032 171.318 402.51 171.475V166.301C403.101 166.056 403.779 165.688 404.544 165.198C405.327 164.708 406.083 164.191 406.813 163.649C407.543 163.088 408.204 162.554 408.795 162.047C409.386 161.539 409.786 161.145 409.995 160.865H415.601V184.729H410.151Z" fill="#57CB6A"/>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

15
docs/_static/Glances Text Logo.svg vendored Normal file
View File

@ -0,0 +1,15 @@
<svg width="680" height="728" viewBox="0 0 680 728" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M120.262 582.227C117.893 587.757 116.313 592.496 113.943 598.026C105.253 593.286 95.7737 590.916 86.2942 590.126C63.3855 588.546 46.7964 598.816 40.4767 620.935C35.737 637.524 35.737 654.113 42.8466 669.912C49.1663 684.131 59.4357 692.031 75.2348 693.611C84.7143 694.401 93.4039 693.611 102.883 692.031C102.883 684.131 102.883 675.442 102.883 667.542C102.883 659.643 102.883 651.743 102.883 643.843C109.203 643.843 114.733 643.843 120.262 643.843C120.262 664.382 120.262 684.131 120.262 705.46C114.733 706.25 109.203 707.83 103.673 708.62C94.9838 709.41 86.2943 710.99 77.6047 710.99C43.6366 710.99 21.5177 688.871 17.568 656.483C15.988 643.054 15.988 628.834 20.7278 615.405C29.4173 589.336 51.5361 573.537 79.1846 572.747C90.244 572.747 100.513 574.327 109.993 577.487C113.943 579.067 117.103 580.647 120.262 582.227Z" fill="#C8C8C8"/>
<path d="M576.857 663.595C553.949 663.595 531.83 663.595 508.921 663.595C510.501 668.335 510.501 673.075 512.081 677.814C516.031 688.084 523.93 692.824 534.2 694.403C544.469 695.983 554.739 695.193 565.008 691.244C565.798 691.244 567.378 690.454 568.168 690.454C568.958 695.193 569.748 699.933 570.538 705.463C563.428 707.043 557.108 708.623 550.789 709.413C538.149 710.993 525.51 710.203 513.661 703.883C503.391 698.353 496.282 690.454 493.122 679.394C488.382 662.805 488.382 646.216 496.282 630.417C505.761 611.458 526.3 602.768 546.839 607.508C561.848 611.458 569.748 620.937 573.698 635.947C576.857 644.636 577.647 653.326 576.857 663.595ZM509.711 648.586C526.3 648.586 542.099 648.586 558.688 648.586C558.688 632.787 550.789 622.517 537.36 621.727C522.35 620.937 511.291 632.787 509.711 648.586Z" fill="#C8C8C8"/>
<path d="M269.564 706.25C250.605 708.62 232.436 712.569 214.267 707.04C200.838 703.09 194.518 692.82 194.518 678.601C194.518 665.172 201.628 654.903 214.267 650.953C225.326 647.003 237.176 647.003 249.025 649.373C250.605 649.373 251.395 650.163 252.975 650.163C254.555 634.364 249.025 624.094 234.806 622.514C225.326 621.724 216.637 623.304 207.157 625.674C206.367 620.934 205.577 616.195 204.788 611.455C210.317 608.295 216.637 608.295 222.957 607.505C233.226 606.715 242.705 606.715 252.185 610.665C260.085 613.825 265.614 620.144 267.984 628.044C268.774 631.204 270.354 635.154 270.354 638.313C269.564 660.432 269.564 683.341 269.564 706.25ZM252.185 663.592C241.916 661.222 230.856 660.432 221.377 664.382C215.057 666.752 211.897 672.282 211.897 678.601C211.897 686.501 215.847 690.451 222.957 692.82C232.436 695.98 242.705 694.4 252.185 693.61C252.185 683.341 252.185 673.861 252.185 663.592Z" fill="#C8C8C8"/>
<path d="M299.588 612.249C305.118 611.459 310.648 609.879 316.967 609.089C327.237 608.299 338.296 607.509 348.566 608.299C365.155 609.879 375.424 620.938 377.794 638.317C378.584 643.847 378.584 648.587 378.584 654.116C378.584 670.706 378.584 686.505 378.584 703.094C378.584 704.674 378.584 706.254 378.584 707.834C372.264 707.834 366.735 707.834 360.415 707.834C360.415 706.254 360.415 704.674 360.415 703.094C360.415 688.085 360.415 673.075 360.415 658.066C360.415 650.957 359.625 643.847 358.045 636.737C356.465 628.838 350.936 624.888 343.826 624.098C335.136 622.518 326.447 624.098 317.757 625.678C317.757 653.326 317.757 680.975 317.757 708.623C311.438 708.623 305.908 708.623 300.378 708.623C299.588 676.235 299.588 644.637 299.588 612.249Z" fill="#C8C8C8"/>
<path d="M658.216 610.664C657.426 616.193 655.846 620.933 655.056 624.883C647.947 623.303 641.627 621.723 634.517 621.723C630.568 621.723 625.828 622.513 621.878 623.303C613.979 626.463 611.609 635.152 617.928 641.472C620.298 643.842 624.248 646.212 628.198 647.792C634.517 650.952 640.837 652.531 647.157 655.691C654.266 658.851 660.586 663.591 662.956 672.28C666.906 688.869 661.376 703.879 640.047 707.828C625.828 710.988 611.609 710.198 598.179 704.669C597.389 704.669 596.599 703.879 595.809 703.879L595.02 703.089C595.809 698.349 597.389 693.609 598.179 688.869C605.289 690.449 611.609 692.819 618.718 693.609C625.038 694.399 632.148 693.609 638.467 692.029C647.157 689.659 649.527 680.18 643.207 673.86C640.837 671.49 637.677 669.121 634.517 668.331C628.198 665.171 622.668 662.801 616.348 660.431C609.239 657.271 602.919 653.321 599.759 645.422C593.44 629.623 602.129 613.034 619.508 608.294C628.988 605.134 646.367 605.924 658.216 610.664Z" fill="#C8C8C8"/>
<path d="M474.939 690.45C475.729 695.19 476.519 699.929 477.309 704.669C475.729 705.459 474.939 706.249 474.149 706.249C460.72 710.199 447.291 710.989 433.862 707.039C419.642 702.299 409.373 692.82 405.423 678.6C400.683 662.801 400.683 647.002 408.583 631.203C415.693 616.194 428.332 607.504 444.921 605.924C455.19 605.134 465.46 605.924 475.729 610.664C474.149 615.404 473.359 620.144 471.78 624.883C466.25 624.093 461.51 622.513 456.77 621.723C447.291 620.934 437.021 621.723 429.912 629.623C426.752 632.783 424.382 637.523 422.802 641.472C419.642 653.322 419.642 665.171 423.592 676.231C427.542 686.5 434.652 691.24 444.921 692.82C453.611 694.4 463.09 693.61 471.78 690.45C472.57 691.24 473.36 691.24 474.939 690.45Z" fill="#C8C8C8"/>
<path d="M181.872 694.401C181.082 699.141 180.292 703.88 179.502 708.62C162.913 711.78 148.694 701.511 148.694 684.132C148.694 646.214 148.694 608.296 148.694 571.168C148.694 568.798 148.694 566.428 148.694 564.058C155.014 563.268 160.543 561.688 166.863 560.898C166.863 563.268 166.863 564.848 166.863 566.428C166.863 602.766 166.863 639.104 166.863 675.442C166.863 677.812 166.863 680.182 166.863 681.762C167.653 688.871 170.023 692.031 177.922 693.611C178.712 693.611 179.502 694.401 181.872 694.401Z" fill="#C8C8C8"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M363.938 77.9551C315.848 77.9551 271.889 95.3057 237.861 124.124L198.467 77.6099C243.09 39.8177 300.888 17 363.938 17C426.988 17 484.786 39.8177 529.409 77.6099L490.015 124.124C455.987 95.3057 412.028 77.9551 363.938 77.9551Z" fill="#57CB6A"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M164.49 287.816C174.314 255.562 190.261 226.856 212.329 201.698C206.966 202.364 201.759 203.875 196.715 206.231C196.463 206.063 196.213 205.895 195.962 205.727C195.712 205.559 195.461 205.391 195.21 205.224C213.909 177.289 237.398 154.292 265.699 136.229C248.751 107.887 240.022 77.1667 239.512 44.0684C278.118 50.276 310.683 67.5666 337.204 95.9402C384.261 104.115 426.895 122.245 465.107 150.33C474.536 157.07 481.753 165.632 486.76 176.014C488.989 184.018 490.999 192.075 492.799 200.188C496.129 207.553 501.01 213.765 507.416 218.821C515.658 226.05 524.713 232.093 534.599 236.951C547.077 240.877 559.845 243.395 572.882 244.505C573.545 254.497 571.019 263.562 565.319 271.7C543.994 287.724 519.988 293.935 493.306 290.334C471.283 286.547 449.305 282.685 427.351 278.751C410.419 279.224 400.675 287.953 398.136 304.939C396.551 319.077 399.575 332.171 407.203 344.22C410.984 350.104 415.005 355.812 419.281 361.343C431.074 374.648 443.671 387.071 457.055 398.61C450.192 400.551 443.147 401.726 435.911 402.135C443.403 406.535 452.261 412.15 461.515 418.015C477.263 427.998 494.157 438.707 507.416 445.388C452.793 477.035 393.764 511.14 271.737 465.087C219.371 445.323 178.865 409.581 164.49 372.787C152.066 340.989 154.665 320.07 164.49 287.816ZM405.255 188.751C430.047 203.065 458.733 199.792 458.733 199.792C458.733 199.792 448.58 170.964 423.788 156.65C398.997 142.336 368.954 147.958 368.954 147.958C368.954 147.958 380.463 174.438 405.255 188.751Z" fill="#EBEBEB"/>
<path opacity="0.976" fill-rule="evenodd" clip-rule="evenodd" d="M408.805 381.354C403.023 381.057 397.319 380.553 391.688 379.843C412.577 395.796 428.687 415.603 440.017 439.263C435.194 437.639 430.16 436.464 424.914 435.738C428.923 445.403 432.951 455.138 436.996 464.944C370.752 484.253 309.167 474.518 252.241 435.738C251.569 430.031 251.569 424.324 252.241 418.617C253.543 406.42 255.22 394.335 257.275 382.361C247.367 394.314 239.984 407.743 235.125 422.645C232.943 420.463 230.762 418.282 228.58 416.099C231.456 394.378 238.167 373.9 248.717 354.665C246.425 355.059 244.076 355.059 241.669 354.665C242.888 355.565 242.888 356.404 241.669 357.183C236.941 360.55 232.242 363.907 227.573 367.254C240.828 338.375 259.958 314.037 284.963 294.239C291.934 289.578 299.318 285.717 307.114 282.657C309.224 296.136 312.748 309.229 317.685 321.934C318.305 323.562 319.312 324.904 320.706 325.963C330.469 307.638 342.383 290.853 356.449 275.607C356.114 275.272 355.777 274.935 355.442 274.6C343.88 280.96 333.644 289.017 324.733 298.771C320.709 287.706 318.359 276.292 317.685 264.529C317.295 263.594 316.623 262.923 315.672 262.515C299.922 268.042 285.155 275.427 271.371 284.671C276.966 266.429 285.524 249.645 297.045 234.316C295.111 233.167 293.097 232.998 291.004 233.812C284.639 235.767 278.263 237.614 271.874 239.351C271.874 239.016 271.874 238.679 271.874 238.344C290.463 216.618 313.956 203.19 342.353 198.06C334.838 194.714 327.119 191.86 319.196 189.499C339.838 189.265 359.639 193.293 378.599 201.585C404.722 214.648 430.228 228.747 455.119 243.883C481.636 259.327 510.163 265.705 540.701 263.018C546.419 260.172 551.453 261.011 555.803 265.536C538.744 279.204 519.278 284.407 497.407 281.146C479.514 277.97 461.727 274.277 444.044 270.068C401.308 260.773 381.003 278.062 383.13 321.934C384.243 332.428 386.928 342.5 391.185 352.148C396.574 362.273 402.447 372.009 408.805 381.354Z" fill="#C1C1C1"/>
<path opacity="0.976" fill-rule="evenodd" clip-rule="evenodd" d="M301.073 91.306C292.188 86.695 283.126 82.3308 273.888 78.2136C273.553 78.5492 273.217 78.885 272.881 79.2207C277.291 86.1944 281.319 93.4121 284.964 100.874C281.339 99.8239 277.983 97.9775 274.895 95.3345C274.56 95.6701 274.224 96.0059 273.888 96.3416C275.359 103.029 276.702 109.744 277.916 116.484C266.403 100.827 258.684 83.3702 254.758 64.114C272.731 69.03 288.17 78.094 301.073 91.306Z" fill="#C1C1C1"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M237.861 124.124C195.527 159.979 168.732 213.426 168.732 273.161C168.732 380.971 256.129 468.367 363.938 468.367C404.232 468.367 441.614 456.188 472.689 435.297V328.934H533.644V465.615L521.984 474.767C478.457 508.932 423.536 529.322 363.938 529.322C222.464 529.322 107.777 414.635 107.777 273.161C107.777 194.753 143.042 124.551 198.467 77.6099L237.861 124.124Z" fill="#57CB6A"/>
<path d="M410.913 184.729V167.431C410.461 167.851 409.904 168.271 409.244 168.691C408.601 169.094 407.922 169.479 407.21 169.847C406.497 170.197 405.793 170.521 405.097 170.819C404.402 171.099 403.794 171.318 403.272 171.475V166.301C403.863 166.056 404.541 165.688 405.306 165.198C406.088 164.708 406.845 164.191 407.575 163.649C408.305 163.088 408.966 162.554 409.557 162.047C410.148 161.539 410.548 161.145 410.756 160.865H416.363V184.729H410.913Z" fill="#57CB6A"/>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

BIN
docs/_static/amp-dropbox.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
docs/_static/amp-python-warning.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
docs/_static/amp-python.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
docs/_static/amps.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
docs/_static/aws.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
docs/_static/browser.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
docs/_static/cloud.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
docs/_static/connections.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
docs/_static/containers.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

BIN
docs/_static/cpu.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

File diff suppressed because it is too large Load Diff

BIN
docs/_static/glances-architecture.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

1220
docs/_static/glances-cgraph.svg vendored Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 76 KiB

491
docs/_static/glances-flame.svg vendored Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 203 KiB

BIN
docs/_static/glances-influxdb.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

33
docs/_static/glances-pyinstrument.html vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 KiB

After

Width:  |  Height:  |  Size: 288 KiB

BIN
docs/_static/glances-summary.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

BIN
docs/_static/gpu.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 138 KiB

4
docs/_static/graph-load.svg vendored Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 183 KiB

BIN
docs/_static/hddtemp.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 19 KiB

BIN
docs/_static/ip.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
docs/_static/irq.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
docs/_static/loadpercent.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
docs/_static/mem.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
docs/_static/pergpu.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
docs/_static/ports.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
docs/_static/processlist-extended.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 157 KiB

BIN
docs/_static/prometheus_exporter.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
docs/_static/prometheus_server.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
docs/_static/reddit.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
docs/_static/screencast.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

BIN
docs/_static/screenshot-fetch.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Some files were not shown because too many files have changed in this diff Show More