============================================================================== Glances ChangeLog ============================================================================== =============== Version 4.2.1 =============== Enhancements: * [WEBUI] Came back to default Black Theme / Reduce font size #2993 * Improve hide_zero option #2958 Bug corrected: * Possible memory leak #2976 * Docker/Podman shoud not flood log file with ERROR if containers list can not be retreived #2994 * Using "-w" option gives error: NameError: name 'Any' is not defined #2992 * Non blocking error message when Glances starts from a container (alpine-dev image) #2991 Continuous integration and documentation: * Migrate from setup.py to pyproject.yml #2956 * Make pyproject.toml's version dynamic #2990 Thanks to all contributors and bug reporters ! Special thanks to: * @branchvincent for pyproject migration =============== Version 4.2.0 =============== Enhancements: * [WEBUI] Migration to bootstrap 5 #2914 * New Ubuntu Multipass VM orchestartor plugin #2252 * Show only active Disk I/O (and network interface) #2929 * Make the central client UI configurable (example: GPU status) #1289 * Please make py-orjson optional: it pulls in dependency on Rust #2930 * Use defusedxml lib #2979 * Do not display Unknown information in the cloud plugin #2485 * Filter Docker containers - #2962 * Add retain to availability topic in MQTT plugin #2974 * Make fields labelled in Green easier to see #2882 Bug corrected: * In TUI, when processes are filtered, column are not aligned #2980 * Can't kill process. Standalone, Ubuntu 24.04 #2942 * Internal Server Error #2943 * Timezone for warning/errors is incorrect #2901 * Error while initializing the containers plugin ('type' object is not subscriptable) #2922 * url_prefix do not work in Glances < 4.2.0 - Correct issue with mount #2912 * Raid plugin breaks with inactive raid0 arrays #2908 * Crash when terminal is resized #2872 * Check if server name is not null in the Glances browser - Related to #2861 * Only display VMs with a running status (in the Vms plugin) Continuous integration and documentation: * Incomplete pipx install to allow webui + containers #2955 * Stick FastAPI version to 0.82.0 or higher (latest is better) - Related to #2926 * api/4/vms returns a dict, thus breaking make test-restful #2918 * Migration to Alpine 3.20 and Python 3.12 for Alpine Docker Improve code quality (thanks to Ariel Otilibili !): * Merge pull request #2959 from ariel-anieli/plugins-port-alerts * Merge pull request #2957 from ariel-anieli/plugin-port-msg * Merge pull request #2954 from ariel-anieli/makefile * Merge pull request #2941 from ariel-anieli/refactor-alert * Merge pull request #2950 from ariel-anieli/revert-commit-01823df9 * Merge pull request #2932 from ariel-anieli/refactorize-display-plugin * Merge pull request #2924 from ariel-anieli/makefile * Merge pull request #2919 from ariel-anieli/refactor-plugin-model-msg-curse * Merge pull request #2917 from ariel-anieli/makefile * Merge pull request #2915 from ariel-anieli/refactor-process-thread * Merge pull request #2913 from ariel-anieli/makefile * Merge pull request #2910 from ariel-anieli/makefile * Merge pull request #2900 from ariel-anieli/issue-2801-catch-key * Merge pull request #2907 from ariel-anieli/refactorize-makefile * Merge pull request #2891 from ariel-anieli/issue-2801-plugin-msg-curse * Merge pull request #2884 from ariel-anieli/issue-2801-plugin-update Thanks to all contributors and bug reporters ! Special thanks to: * Ariel Otilibili, he has made an incredible work to improve Glances code quality ! * RazCrimson, thanks for all your contributions ! * Bharath Vignesh J K * Neveda * ey-jo =============== Version 4.1.2 =============== Bug corrected: * AttributeError: 'CpuPercent' object has no attribute 'cpu_percent' #2859 =============== Version 4.1.1 =============== Bug corrected: * Sensors data is not exported using InfluxDB2 exporter #2856 =============== Version 4.1.0 =============== Enhancements: * Call process_iter.clear_cache() (PsUtil 6+) when Glances user force a refresh (F5 or CTRL-R) #2753 * PsUtil 6+ no longer check PID reused #2755 * Add support for automatically hiding network interfaces that are down or that don't have any IP addresses #2799 Bug corrected: * API: Network module is disabled but appears in endpoint "all" #2815 * API is not compatible with requests containing special/encoding char #2820 * 'j' hot key crashes Glances #2831 * Raspberry PI - CPU info is not correct #2616 * Graph export is broken if there is no graph section in Glances configuration file #2839 * Glances API status check returns Error 405 - Method Not Allowed #2841 * Rootless podman containers cause glances to fail with KeyError #2827 * --export-process-filter Filter using complete command #2824 * Exception when Glances is ran with limited plugin list #2822 * Disable separator option do not work #2823 Continuous integration and documentation: * test test_107_fs_plugin_method fails on aarch64-linux #2819 Thanks to all contributors and bug reporters ! Special thanks to: * Bharath Vignesh J K * RazCrimson * Vadim Small =============== Version 4.0.8 =============== * Make CORS option configurable security webui #2812 * When Glances is installed via venv, default configuration file is not used documentation packaging #2803 * GET /1272f6e9e8f9d6bfd6de.png results in 404 bug webui #2781 by Emporea was closed May 25, 2024 * Screen frequently flickers when outputting to local display bug needs test #2490 * Retire ujson for being in maintenance mode dependencies enhancement #2791 =============== Version 4.0.7 =============== * cpu_hz_current not available on NetBSD #2792 * SensorType change in REST API breaks compatibility in 4.0.4 #2788 =============== Version 4.0.6 =============== * No GPU info on Web View #2796 =============== Version 4.0.5 =============== * SensorType change in REST API breaks compatibility in 4.0.4 #2788 * Please make pydantic optional dependency, not required one #2777 * Update the Grafana dashboard #2780 * 4.0.4 - On Glances startup "ERROR -- Can not init battery class #2776 * In codeSpace (with Python 3.8), an error occurs in ./unittest-restful.py #2773 Use Ruff as default Linter. =============== Version 4.0.4 =============== Hostfix release for support sensors plugin on python 3.8 =============== Version 4.0.3 =============== Additional fixes for Sensor plugin =============== Version 4.0.2 =============== * hotfix: plugin(sensors) - race conditions btw fan_speed & temperature… #2766 * fix: include requirements.txt and SECURITY.md for pypi dist #2761 Thanks to RazCrimson for the sensors patch ! =============== Version 4.0.1 =============== Correct issue with CI (miss pydantic dep). =============== Version 4.0.0 =============== See release note in Wiki format: https://github.com/nicolargo/glances/wiki/Glances-4.0-Release-Note **BREAKING CHANGES:** * The minimal Python version is 3.8 * The Glances API version 3 is replaced by the version 4. So Restfull API URL is now /api/4/ #2610 * Alias definition change in the configuration file #1735 Glances version 3.x and lower: sda1_alias=InternalDisk sdb1_alias=ExternalDisk Glances version 4.x and higher: alias=sda1:InternalDisk,sdb1:ExternalDisk * Alert data model change from a list of list to a list of dict #2633 * Docker memory usage uses the same algorithm than docker stats #2637 Special notes for package maintainers: Minimal requirements for Glances version 4 are: * psutil * defusedxml * packaging * ujson * pydantic * fastapi (for WebUI / RestFull API) * uvicorn (for WebUI / RestFull API) * jinja2 (for WebUI / RestFull API) Majors changes between Glances version 3 and version 4: * Bottle has been replaced by FastAPI and Uvicorn * CouchDB has been replaced by PyCouchDB * nvidia-ml-py has been replaced by py3nvml * pysnmp has been replaced by pysnmp-lextudio Enhancements: * Export individual processes stats #794 * [WebUI] Feature Request: Ability to hide Engine and Pod columns in Containers #2423 * [IP plugin] Make the public ip information more configurable (not only from the Censys service) #2732 * Getting field information (description, unit) from the API #2630 * Refactor alias configuration and allow alias for fs devices #1735 * Improve alert with mininimal interval/duration configuration keys #2558 * --stdout plugin.attr is not compliant with plugins returning list of dicts #2446 * Lot's of log messages when a proxy is used with the Podman plugin #2714 * [WEBUI & CURSES] Make the left menu configurable #2648 * [WEBUI] Custom system header information #2695 * [CURSES] Use normal color for normal text instead of an arbitrary color #2687 * [WEBUI] Showing the full arguments on the command column of the TASKS #2634 * Add graph export for GPU plugin (related to #2542) * Refactor Alert data model from list of list to list of dict #2633 * Use enum instead of int for callback API version. #2712 * Make the alerts number configurable (related to #2558) * [WebUI] Added smart plugin support #2435 * No more threshold display in the WebUI cpu/mem and memswap plugins #2420 * Refactor Glances curses code #2580 * Hide password in the Glances browser form #503 * Replace Bottle by FastAPI #2181 * Replace py3nvml with nvidia-ml-py #2688 Bug corrected: * Crash when reading timezone for generating alert #2659 * Newline in container command corrupts display / hides container #2733 * RAID plugin not showing up in Glances web UI (Docker install) #2716 * Alerts showing different time than time plugin #2214 * OpenBSD crash on start without a swap file/partition #2719 * Folders plugin always fails on special directories #2518 * Update dependency urllib3 to v2 #2397 * Crach when ENTER key is pressed in the Alpine minimal image #2658 * Crash when a process is pinned in the develop branch of Glances #2639 * TERM setting causes glances to crash #2598 * macOS: Read user config from ~/.config/glances #2641 * Docker Prometheus issue with IRQ plugin #2564 * Remove systemd from Curses (related to #2595) * Screen frequently flickers when outputting to local display #2490 * Incorrect linux_distro in docker version glances #2439 * Influxdb2 export not working #2407 * Ignore/detect symlink loops in folders plugin #2494 * Remove Clear-text logging of sensitive information - Code Scanning #36 * Cannot start Glances 3.4.0.1 on Windows 10: SIGHUP not defined #2408 * 3.4.0 crash on startupwith minimal deps #2401 CI and documentation: * New logo for Glances version 4.0 #2713 * Update api.rst documentation #2496 * Change Renovate config #2729 * Docker compose password unrecognized arguments when applying docs #2698 * Docker includes OS Release Volume mount info #2473 * Update prometheus.rst, fix minor typos #2640 * Fix typos and make grammatical and stylistic edits in project documentation #2625 * MongoDB and CouchDB documentation flipped #2565 * No module named 'influxdb' on the snap version of glances #1738 Many thinks to the contributors: * Bharath Vignesh J K * Christoph Zimmermann * RazCrimson * Robin Candau * Github GPG access * Continuous Integration * Georgiy Timchenko * turbocrime * Kiskae * snyk-bot * Alexander Grigoryev * Claes Hallström * Francois Pires * Maarten Kossen (mpkossen) * Osama Albahrani * csteiner * k26pl * kdkd * monochromec * and all the beta testers ! =============== Version 3.4.0.5 =============== Correct issue with GPU plugin in Docker images #2705 =============== Version 3.4.0.4 =============== Cyber security patch (update some deps in the WebUI and Docker image) =============== Version 3.4.0.3 =============== Bugs corrected: * Add glances binary to '/usr/local/bin' + Update ENV PATH to include '/venv/bin' in Dockerfiles #2419 * No more threshold display in the WebUI cpu/mem and memswap plugins #2420 =============== Version 3.4.0.2 =============== Bugs corrected: * Cannot start Glances 3.4.0.1 on Windows 10: SIGHUP not defined #2408 * Influxdb2 export not working #2407 =============== Version 3.4.0.1 =============== Bug corrected: * 3.4.0 crash on startupwith minimal deps #2401 =============== Version 3.4.0 =============== Enhancements: * Enhance process "extended stats" display (in Curses interface) #2225 _You can now *pin* a specific process to the top of the process list_ * Improve Glances start time by disabling Docker and Podman version getter - Related to #1985 * Customizable InfluxDB2 export interval #2348 * Improve kill signal management #2194 * Display a critical error message if Glances is ran with both webserver and rpcserver mode * Refactor the Cloud plugin, disable it by default in the default configuration file - Related to #2279 * Correct clear-text logging of sensitive information (security alert #29) * Use of a broken or weak cryptographic hashing algorithm (SHA256) on password storage #2175 Bug corrected: * Correct issue (error message) concerning the Cloud plugin - Related to #2392 * InfluxDB2 export doesn't process folders correctly - missing key #2327 * Index error when displaying programs on MacOS #2360 * Dissociate 2 sensors with exactly the same names #2280 * All times displayed in UTC - Container not using TZ/localtime (Docker) #2278 * It is not possible to return API data for a particular mount point (FS plugin) #1162 Documentation and CI: * chg: Dockerfile - structured & cleaner build process #2386 * Ubuntu is back as additional Docker images. Alpine stays the default one. Related to #2185 * Improve Makefile amd docker-compose to support Podman and GPU * Workaround to pin urlib3<2.0 - Related to #2392 * Error while generating the documentation (ModuleNotFoundError: No module named 'glances') #2391 * Update Flamegraph (memory profiling) * Improve template for issue report and feature request * Parameters in the VIRT column #2343 * Graph generation documentation is not clear #2336 * docs: Docker - include tag details * Add global architecture diagram (Excalidraw) * Links to documents in sample glances.conf are not valid. #2271 * Add semgrep support * Smartmontools missing from full docker image #2262 * Improve documentation regarding regexp in configuration file * Improve documentation about the [ip] plugin #2251 Cyber security update: * All libs have been updated to the latest version Full roadmap here: https://github.com/nicolargo/glances/milestone/62?closed=1 Refactor the Docker images factory, from now, Alpine and Ubuntu images will be provided (nicolargo/glances): - *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 (Bottle 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 (Bottle and Docker) - *ubuntu-dev* for a basic Ubuntu Glances image (based on development branch) with all dependencies (Warning: may be instable) Contributors for this version: * Nicolargo * RazCrimson: a very special thanks to @RazCrimson for his huge work on this version ! * Bharath Vignesh J K * Raz Crimson * fr4nc0is * Florian Calvet * Ali Erdinç Köroğlu * Jose Vicente Nunez * Rui Chen * Ryan Horiguchi * mfridge * snyk-bot =============== Version 3.3.1.1 =============== Hard patch on the master branch. Bug corrected: * "ModuleNotFoundError: No module named 'ujson'" #2246 * Remove surrounding quotes for quoted command arguments #2247 (related to #2239) =============== Version 3.3.1 =============== Enhancements: * Minor change on the help screen * Refactor some loop in the processes function * Replace json by ujson #2201 Bug corrected: * Unable to see docker related information #2180 * CSV export dependent on sort order for docker container cpu #2156 * Error when process list is displayed in Programs mode #2209 * Console formatting permanently messed up when other text printed #2211 * API GET uptime returns formatted string, not seconds as the doc says #2158 * Glances UI is breaking for multiline commands #2189 Documentation and CI: * Add unitary test for memory profiling * Update memory profile chart * Add run-docker-ubuntu-* in Makefile * The open-web-browser option was missing dashes #2219 * Correct regexp in glances.conf file example * What is CW from network #2222 (related to discussion #2221) * Change Glances repology URL * Add example for the date format * Correct Flake8 configuration file * Drop UT for Python 3.5 and 3.6 (no more available in Ubuntu 22.04) * Correct unitary test with Python 3.5 * Update Makefile with comments * Update Python minimal requirement for py3nvlm * Update security policy (user can open private issue directly in Github) * Add a simple run script. Entry point for IDE debugger Cyber security update: * Security alert on ujson < 5.4 * Merge pull request #2243 from nicolargo/renovate/nvidia-cuda-12.x * Merge pull request #2244 from nicolargo/renovate/crazy-max-ghaction-docker-meta-4.x * Merge pull request #2228 from nicolargo/renovate/zeroconf-0.x * Merge pull request #2242 from nicolargo/renovate/crazy-max-ghaction-docker-meta-4.x * Merge pull request #2239 from mfridge/action-command-split * Merge pull request #2165 from nicolargo/renovate/zeroconf-0.x * Merge pull request #2199 from nicolargo/renovate/alpine-3.x * Merge pull request #2202 from chncaption/oscs_fix_cdr0ts8au51t49so8c6g * Bump loader-utils from 2.0.0 to 2.0.3 in /glances/outputs/static #2187 - Update Web lib Contributors for this version: * Nicolargo * renovate[bot] * chncaption * fkwong * *mfridge And also a big thanks to @RazCrimson (https://github.com/RazCrimson) for the support to the Glances community ! =============== Version 3.3.0.4 =============== Refactor the Docker images factory, from now, only Alpine image will be provided. The following Docker images (nicolargo/glances) are availables: - *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 (Bottle and Docker) - *dev* for a basic Alpine Glances image (based on development branch) with all dependencies (Warning: may be instable) =============== Version 3.3.0.2 =============== Bug corrected: * Password files in same configuration dir in effect #2143 * Fail to load config file on Python 3.10 #2176 =============== Version 3.3.0.1 =============== Just a version to rebuild the Docker images. =============== Version 3.3.0 =============== Enhancements: * Migration from AngularJS to Angular/React/Vue #2100 (many thanks to @fr4nc0is) * Improve the IP module with a link to Censys #2105 * Add the public IP information to the WebUI #2105 * Add an option to show a configurable clock/time module to display #2150 * Add sort information on Docker plugin (console mode). Related to #2138 * Password files in same configuration dir in effect #2143 * If the container name is long, then display the start, not the end - Related to #1732 * Make the Web UI same than Console for CPU plugin * [WINDOWS] Reorganise CPU stats display #2131 * Remove the static exportable_plugins list from glances_export.py #1556 * Limiting data exported for economic storage #1443 Bug corrected: * glances.conf FS hide not applying #1666 * AMP: regex with special chars #2152 * fix(help-screen): add missing shortcuts and columnize algorithmically #2135 * Correct issue with the regexp filter (use fullmatch instead of match) * Errors when running Glances as web service #1702 * Apply alias to Duplicate sensor name #1686 * Make the hide function in sensors section compliant with lower/uppercase #1590 * Web UI truncates the days part of CPU time counter of the process list #2108 * Correct alignment issue with the diskio plugin (Console UI) Documentation and CI: * Refactor Docker file CI * Add Codespell to the CI pipeline #2148 * Please add docker-compose example and document example. #2151 * [DOC] Glances failed to start and some other issues - BSD #2106 * [REQUEST Docker image] Output log to stdout #2128 (for debian) * Fix code scanning alert - Clear-text logging of sensitive information #2124 * Improve makefile (with online documentation) * buildx failed with: ERROR: failed to solve: python:3.10-slim-buster: no match for platform in manifest #2120 * [Update docs] Can I export only the fields I need in csv report? #2113 * Windows Python 3 installation fails on dependency package "future" #2109 Contributors for this version: * fr4nc0is : a very special thanks to @fr4nc0is for his huge work on the Glances v3.3.0 WebUI !!! * Kostis Anagnostopoulos * Kian-Meng Ang * dependabot[bot] * matthewaaronthacker * and your servant Nicolargo =============== Version 3.2.7 =============== Enhancements: * Config to disable all plugins by default (or enable an exclusive list) #2089 * Keybind(s) for modifying nice level #2081 * [WEBUI] Reorganize help screen #2037 * Add a Json stdout option #2060 * Improve error message when export error occurs * Improve error message when MQTT error occurs * Change the way core are displayed * Remove unused key in the process list * Refactor top menu of the curse interface * Improve Irix display for the load plugin Bug corrected: * In the sensor plugin thresholds in the configuration file should overwrite system ones #2058 * Drive names truncated in Web UI #2055 * Correct issue with CPU label Documentation and CI: * Improve makefile help #2078 * Add quote to the update command line (already ok for the installation). Related to #2073 * Make Glances (almost) compliant with REUSE #2042 * Update README for Debian package users * Update documentation for Docker * Update docs for new shortcut * Disable Pyright on the Git actions pipeline * Refactor comments * Except datutil import error * Another dep issue solved in the Alpine Docker + issue in the outdated method Contributors for this version: * Nicolargo * Sylvain MOUQUET * FastThenLeft * Jiajie Chen * dbrennand * ewuerger =============== Version 3.2.6 =============== Enhancement requests: * Create a Show option in the configuration file to only show some stats #2052 * Use glances.conf file inside docker-compose folder for Docker images * Optionally disable public ip #2030 * Update public ip at intervals #2029 Bug corrected: * Unitary tests should run loopback interface #2051 * Add python-datutil dep for Focker plugin #2045 * Add venv to list of .PHONY in Makefile #2043 * Glances API Documentation displays non valid json #2036 A big thanks to @RazCrimson for his contribution ! Thanks for others contributors: * Steven Conaway * aekoroglu =============== Version 3.2.5 =============== Enhancement requests: * Add a Accumulated per program function to the Glances process list needs test new feature plugin/ps #2015 * Including battery and AC adapter health in Glances enhancement new feature #1049 * Display uptime of a docker container enhancement plugin/docker #2004 * Add a code formatter enhancement #1964 Bugs corrected: * Threading.Event.isSet is deprecated in Python 3.10 #2017 * Fix code scanning alert - Clear-text logging of sensitive information security #2006 * The gpu temperature unit are displayed incorrectly in web ui bug #2002 * Doc for 'alert' Restfull/JSON API response documentation #1994 * Show the spinning state of a disk documentation #1993 * Web server status check endpoint enhancement #1988 * --time parameter being ignored for client/server mode bug #1978 * Amp with pipe do not work documentation #1976 * glances_ip.py plugin relies on low rating / malicious site domain bug security #1975 * "N" command freezes/unfreezes the current time instead of show/hide bug #1974 * Missing commands in help "h" screen enhancement needs contributor #1973 * Grafana dashboards not displayed with influxdb2 enhancement needs contributor #1960 * Glances reports different amounts of used memory than free -m or top documentation #1924 * Missing: Help command doesn't have info on TCP Connections bug documentation enhancement needs contributor #1675 * Docstring convention documentation enhancement #940 Thanks for the bug report and the patch: @RazCrimson, @Karthikeyan Singaravelan, @Moldavite, @ledwards =============== Version 3.2.4.1 =============== Bugs corrected: * Missing packaging dependency when using pip install #1955 =============== Version 3.2.4 =============== Bugs corrected: * Failure to start on Apple M1 Max #1939 * Influxdb2 via SSL #1934 * Update WebUI (security patch). Thanks to @notFloran. * Switch from black <> white theme with the '9' hotkey - Related to issue #976 * Fix: Docker plugin - Invalid IO stats with Arch Linux #1945 * Bug Fix: Docker plugin - Network stats not being displayed #1944 * Fix Grafana CPU temperature panel #1954 * is_disabled name fix #1949 * Fix tipo in documentation #1932 * distutils is deprecated in Python 3.10 #1923 * Separate battery percentages #1920 * Update docs and correct make docs-server target in Makefile Enhancement requests: * Improve --issue by displaying the second update iteration and not the first one. More relevant * Improve --issue option with Python version and paths * Correct an issue on idle display * Refactor Mem + MemSwap Curse * Refactor CPU Curses code Contributors for this version: * Nicolargo * RazCrimson * Floran Brutel * H4ckerxx44 * Mohamad Mansour * Néfix Estrada * Zameer Manji =============== Version 3.2.3.1 =============== Patch to correct issue (regression) #1922: * Incorrect processes disk IO stats #1922 * DSM 6 docker error crash /sys/class/power_supply #1921 =============== Version 3.2.3 =============== Bugs corrected: * Docker container monitoring only show half command? #1912 * Processor name getting cut off #1917 * batinfo not in docker image (and in requirements files...) ? #1915 * Glances don't send hostname (tag) to influxdb2 #1913 * Public IP address doesn't display anymore #1910 * Debian Docker images broken with version 3.2.2 #1905 Enhancement requests: * Make the process sort list configurable through the command line #1903 * [WebUI] truncates network name #1699 =============== Version 3.2.2 =============== Bugs corrected: * [3.2.0/3.2.1] keybinding not working anymore #1904 * InfluxDB/InfluxDB2 Export object has no attribute hostname #1899 Documentation: The "make docs" generate RestFull/API documentation file. =============== Version 3.2.1 =============== Bugs corrected: * Glances 3.2.0 and influxdb export - Missing network data bug #1893 Enhancement requests: * Security audit - B411 enhancement (Monkey patch XML RPC Lib) #1025 * Also search glances.conf file in /usr/share/doc/glances/glances.conf #1862 =============== Version 3.2.0 =============== This release is a major version (but minor number because the API did not change). It focus on *CPU consumption*. I use `Flame profiling https://github.com/nicolargo/glances/wiki/Glances-FlameGraph`_ and code optimization to *reduce CPU consumption from 20% to 50%* depending on your system. Enhancement and development requests: * Improve CPU consumption - Make the refresh rate configurable per plugin #1870 - Add caching for processing username and cmdline - Correct and improve refresh time method - Set refresh rate for global CPU percent - Set the default refresh rate of system stats to 60 seconds - Default refresh time for sensors is refresh rate * 2 - Improve history perf - Change main curses loop - Improve Docker client connection - Update Flame profiling * Get system sensors temperatures thresholds #1864 * Filter data exported from Docker plugin * Make the Docker API connection timeout configurable * Add --issue to Github issue template * Add release-note in the Makefile * Add some comments in cpu_percent * Add some comments to the processlist.py * Set minimal version for PSUtil to 5.3.0 * Add comment to default glances.conf file * Improve code quality #820 * Update WebUI for security vuln Bugs corrected: * Quit from help should return to main screen, not exit #1874 * AttributeError: 'NoneType' object has no attribute 'current' #1875 * Merge pull request #1873 from metayan/fix-history-add * Correct filter * Correct Flake8 issue in plugins * Pressing Q to get rid of irq not working #1792 * Spelling correction in docs #1886 * Starting an alias with a number causes a crash #1885 * Network interfaces not applying in web UI #1884 * Docker containers information missing with Docker 20.10.x #1878 * Get system sensors temperatures thresholds #1864 Contributors for this version: * Nicolargo * Markus Pöschl * Clifford W. Hansen * Blake * Yan =============== Version 3.1.7 =============== Enhancements and bug corrected: * Security audit - B411 #1025 (by nicolargo) * GPU temperature not shown in webview #1849 (by nicolargo) * Remove shell=True for actions (following Bandit issue report) #1851 (by nicolargo) * Replace Travis by Github action #1850 (by nicolargo) * '/api/3/processlist/pid/3936'use this api can't get right info,all messy code #1828 (by nicolargo) * Refactor the way importants stats are displayed #1826 (by nicolargo) * Re-apply the Add hide option to sensors plugin #1596 PR (by nicolargo) * Smart plugin error while start glances as root #1806 (by nicolargo) * Plugin quicklook takes more than one seconds to update #1820 (by nicolargo) * Replace Pystache by Chevron 2/2 See #1817 (by nicolargo) * Doc. No SMART screenshot. #1799 (by nicolargo) * Update docs following PR #1798 (by nicolargo) Contributors for this version: - Nicolargo - Deosrc - dependabot[bot] - Michael J. Cohen - Rui Chen - Stefan Eßer - Tuux =============== Version 3.1.6.2 =============== Bugs corrected: * Remove bad merge for a non tested feature (see https://github.com/nicolargo/glances/issues/1787#issuecomment-774682954) Version 3.1.6.1 =============== Bugs corrected: * Glances crash after installing module for shown GPU information on Windows 10 #1800 Version 3.1.6 ============= Enhancements and new features: * Kill a process from the Curses interface #1444 * Manual refresh on F5 in the Curses interface #1753 * Hide function in sensors section #1590 * Enhancement Request: .conf parameter for AMP #1690 * Password for Web/Browser mode #1674 * Unable to connect to Influxdb 2.0 #1776 * ci: fix release process and improve build speeds #1782 * Cache cpuinfo output #1700 * sort by clicking improvements and bug #1578 * Allow embedded AMP python script to be placed in a configurable location #1734 * Add attributes to stdout/stdout-csv plugins #1733 * Do not shorten container names #1723 Bugs corrected: * Version tag for docker image packaging #1754 * Unusual characters in cmdline cause lines to disappear and corrupt the display #1692 * UnicodeDecodeError on any command with a utf8 character in its name #1676 * Docker image is not up to date install #1662 * Add option to set the strftime format #1785 * fix: docker dev build contains all optional requirements #1779 * GPU information is incomplete via web #1697 * [WebUI] Fix display of null values for GPU plugin #1773 * crash on startup on Illumos when no swap is configured #1767 * Glances crashes with 2 GPUS bug #1683 * [Feature Request] Filter Docker containers#1748 * Error with IP Plugin : object has no attribute #1528 * docker-compose #1760 * [WebUI] Fix sort by disk io #1759 * Connection to MQTT server failst #1705 * Misleading image tag latest-arm needs contributor packaging #1419 * Docker nicolargo/glances:latest missing arm builds? #1746 * Alpine image is broken packaging #1744 * RIP Alpine? needs contributor packaging #1741 * Manpage improvement documentation #1743 * Make build reproducible packaging #1740 * Automated multiarch builds for docker #1716 * web ui of glances is not coming #1721 * fixing command in json.rst #1724 * Fix container rss value #1722 * Alpine Image is broken needs test packaging #1720 * Fix gpu plugin to handle multiple gpus with different reporting capabilities bug #1634 Version 3.1.5 ============= Enhancements and new features: * Enhancement: RSS for containers enhancement #1694 * exports: support rabbitmq amqps enhancement #1687 * Quick Look missing CPU Infos enhancement #1685 * Add amqps protocol support for rabbitmq export #1688 * Select host in Grafana json #1684 * Value for free disk space is counterintuative on ext file systems enhancement #644 Bugs corrected: * Can't start server: unexpected keyword argument 'address' bug enhancement #1693 * class AmpsList method _build_amps_list() Windows fail (glances/amps_list.py) bug #1689 * Fix grammar in sensors documentation #1681 * Reflect "used percent" user disk space for [fs] alert #1680 * Bug: [fs] plugin needs to reflect user disk space usage needs test #1658 * Fixed formatting on FS example #1673 * Missing temperature documentation #1664 * Wiki page for starting as a service documentation #1661 * How to start glances with --username option on syetemd? documentation #1657 * tests using /etc/glances/glances.conf from already installed version bug #1654 * Unittests: Use sys.executable instead of hardcoding the python interpreter #1655 * Glances should not phone home install #1646 * Add lighttpd reverse proxy config to the wiki documentation #1643 * Undefined name 'i' in plugins/glances_gpu.py bug #1635 Version 3.1.4 ============= Enhancements and new features: * FS filtering can be done on device name documentation enhancement #1606 * Feature request: Include hostname in all (e.g. kafka) exports #1594 * Threading.isAlive was removed in Python 3.9. Use is_alive. #1585 * log file under public/shared tmp/ folders must not have deterministic name #1575 * Install / Systemd Debian documentation #1560 * Display load as percentage when Irix mode is disable #1554 * [WebUI] Add a new TCP connections status plugin new feature #1547 * Make processes.sort_key configurable enhancement #1536 * NVIDIA GPU temperature #1523 * Feature request: HDD S.M.A.R.T. #1288 Bugs corrected: * Glances 3.1.3: when no network interface with Public address #1615 * NameError: name 'logger' is not defined #1602 * Disk IO stats missing after upgrade to 5.5.x kernel #1601 * Glances don't want to run on Crostini (LXC Container, Debian 10, python 3.7.3) #1600 * Kafka key name needs to be bytes #1593 * Can't start glances with glances --export mqtt #1581 * [WEBUI] AMP plugins is not displayed correctly in the Web Interface #1574 * Unhandled AttributeError when no config files found #1569 * Glances writing lots of Docker Error message in logs file enhancement #1561 * GPU stats not showing on mobile web view bug needs test #1555 * KeyError: b'Rss:' in memory_maps #1551 * CPU usage is always 100% #1550 * IP plugin still exporting data when disabled #1544 * Quicklook plugin not working on Systemd #1537 Version 3.1.3 ============= Enhancements and new features: * Add a new TCP connections status plugin enhancement #1526 * Add --enable-plugin option from the command line Bugs corrected: * Fix custom refresh time in the web UI #1548 by notFloran * Fix issue in WebUI with empty docker stats #1546 by notFloran * Glances fails without network interface bug #1535 * Disable option in the configuration file is now take into account Others: * Sensors plugin is disable by default (high CPU consumption on some Liux distribution). Version 3.1.2 ============= Enhancements and new features: * Make CSV export append instead of replace #1525 * HDDTEMP config IP and Port #1508 * [Feature Request] Option in config to change character used to display percentage in Quicklook #1508 Bugs corrected: * Cannot restart glances with --export influxdb after update to 3.1.1 bug #1530 * ip plugin empty interface bug #1509 * Glances Snap doesn't run on Orange Pi Zero running Ubuntu Core 16 bug #1517 * Error with IP Plugin : object has no attribute bug #1528 * repair the problem that when running 'glances --stdout-csv amps' #1520 * Possible typo in glances_influxdb.py #1514 Others: * In debug mode (-d) all duration (init, update are now logged). Grep duration in log file. Version 3.1.1 ============= Enhancements and new features: * Please add some sparklines! #1446 * Add Load Average (similar to Linux) on Windows #344 * Add authprovider for cassandra export (thanks to @EmilienMottet) #1395 * Curses's browser server list sorting added (thanks to @limfreee) #1396 * ElasticSearch: add date to index, unbreak object push (thanks to @genevera) #1438 * Performance issue with large folder #1491 * Can't connect to influxdb with https enabled #1497 Bugs corrected: * Fix Cassandra table name export #1402 * 500 Internal Server Error /api/3/network/interface_name #1401 * Connection to MQTT server failed : getaddrinfo() argument 2 must be integer or string #1450 * `l` keypress (hide alert log) not working after some time #1449 * Too less data using prometheus exporter #1462 * Getting an error when running with prometheus exporter #1469 * Stack trace when starts Glances on CentOS #1470 * UnicodeEncodeError: 'ascii' codec can't encode character u'\u25cf' - Raspbian stretch #1483 * Prometheus integration broken with latest prometheus_client #1397 * "sorted by ?" is displayed when setting the sort criterion to "USER" #1407 * IP plugin displays incorrect subnet mask #1417 * Glances PsUtil ValueError on IoCounter with TASK kernel options #1440 * Per CPU in Web UI have some display issues. #1494 * Fan speed and voltages section? #1398 Others: * Documentation is unclear how to get Docker information #1386 * Add 'all' target to the Pip install (install all dependencies) * Allow comma separated commands in AMP Version 3.1 =========== Enhancements and new features: * Add a CSV output format to the STDOUT output mode #1363 * Feature request: HDD S.M.A.R.T. reports (thanks to @tnibert) #1288 * Sort docker stats #1276 * Prohibit some plug-in data from being exported to influxdb #1368 * Disable plugin from Glances configuration file #1378 * Curses-browser's server list paging added (thanks to @limfreee) #1385 * Client Browser's thread management added (thanks to @limfreee) #1391 Bugs corrected: * TypeError: '<' not supported between instances of 'float' and 'str' #1315 * GPU plugin not exported to influxdb #1333 * Crash after running fine for several hours #1335 * Timezone listed doesn’t match system timezone, outputs wrong time #1337 * Compare issue with Process.cpu_times() #1339 * ERROR -- Can not grab extended stats (invalid attr name 'num_fds') #1351 * Action on port/web plugins is not working #1358 * Support for monochrome (serial) terminals e.g. vt220 #1362 * TypeError on opening (Wifi plugin) #1373 * Some field name are incorrect in CSV export #1372 * Standard output misbehaviour (need to flush) #1376 * Create an option to set the username to use in Web or RPC Server mode #1381 * Missing kernel task names when the webui is switched to long process names #1371 * Drive name with special characters causes crash #1383 * Cannot get stats in Cloud plugin (404) #1384 Others: * Add Docker documentation (thanks to @rgarrigue) * Refactor Glances logs (now called Glances events) * "chart" extra dep replace by "graph" #1389 Version 3.0.2 ============= Bug corrected: * Glances IO Errorno 22 - Invalid argument #1326 Version 3.0.1 ============= Bug corrected: * AMPs error if no output are provided by the system call #1314 Version 3.0 =========== See the release note here: https://github.com/nicolargo/glances/wiki/Glances-3.0-Release-Note Enhancements and new features: * Make the left side bar width dynamic in the Curse UI #1177 * Add threads number in the process list #1259 * A way to have only REST API available and disable WEB GUI access #1149 * Refactor graph export plugin (& replace Matplolib by Pygal) #697 * Docker module doesn't export details about stopped containers #1152 * Add dynamic fields in all sections of the configuration file #1204 * Make plugins and export CLI option dynamical #1173 * Add a light mode for the console UI #1165 * Refactor InfluxDB (API is now stable) #1166 * Add deflate compression support to the RestAPI #1182 * Add a code of conduct for Glances project's participants #1211 * Context switches bottleneck identification #1212 * Take advantage of the psutil issue #1025 (Add process_iter(attrs, ad_value)) #1105 * Nice Process Priority Configuration #1218 * Display debug message if dep lib is not found #1224 * Add a new output mode to stdout #1168 * Huge refactor of the WebUI packaging thanks to @spike008t #1239 * Add time zone to the current time #1249 * Use HTTPs URLs to check public IP address #1253 * Add labels support to Promotheus exporter #1255 * Overlap in Web UI when monitoring a machine with 16 cpu threads #1265 * Support for exporting data to a MQTT server #1305 One more thing ! A new Grafana Dash is available with: * Network interface variable * Disk variable * Container CPU Bugs corrected: * Crash in the Wifi plugin on my Laptop #1151 * Failed to connect to bus: No such file or directory #1156 * glances_plugin.py has a problem with specific docker output #1160 * Key error 'address' in the IP plugin #1176 * NameError: name 'mode' is not defined in case of interrupt shortly after starting the server mode #1175 * Crash on startup: KeyError: 'hz_actual_raw' on Raspbian 9.1 #1170 * Add missing mount-observe and system-observe interfaces #1179 * OS specific arguments should be documented and reported #1180 * 'ascii' codec can't encode character u'\U0001f4a9' in position 4: ordinal not in range(128) #1185 * KeyError: 'memory_info' on stats sum #1188 * Electron/Atom processes displayed wrong in process list #1192 * Another encoding issue... With both Python 2 and Python 3 #1197 * Glances do not exit when eating 'q' #1207 * FreeBSD blackhole bug #1202 * Glances crashes when mountpoint with non ASCII characters exists #1201 * [WEB UI] Minor issue on the Web UI #1240 * [Glances 3.0 RC1] Client/Server is broken #1244 * Fixing horizontal scrolling #1248 * Stats updated during export (thread issue) #1250 * Glances --browser crashed when more than 40 glances servers on screen 78x45 #1256 * OSX - Python 3 and empty percent and res #1251 * Crashes when influxdb option set #1260 * AMP for kernel process is not working #1261 * Arch linux package (2.11.1-2) psutil (v5.4.1): RuntimeWarning: ignoring OSError #1203 * Glances crash with extended process stats #1283 * Terminal window stuck at the last accessed *protected* server #1275 * Glances shows mdadm RAID0 as degraded when chunksize=128k and the array isn't degraded. #1299 * Never starts in a server on Google Cloud and FreeBSD #1292 Backward-incompatible changes: * Support for Python 3.3 has been dropped (EOL 2017-09-29) * Support for psutil < 5.3.0 has been dropped * Minimum supported Docker API version is now 1.21 (Docker plugins) * Support for InfluxDB < 0.9 is deprecated (InfluxDB exporter) * Zeroconf lib should be pinned to 0.19.1 for Python 2.x * --disable- no longer available (use --disable-plugin ) * --export- no longer available (use --export ) News command line options: --disable-webui Disable the WebUI (only RESTful API will respond) --enable-light Enable the light mode for the UI interface --modules-list Display plugins and exporters list --disable-plugin plugin1,plugin2 Disable a list of comma separated plugins --export exporter1,exporter2 Export stats to a comma separated exporters --stdout plugin1,plugin2.attribute Display stats to stdout News configuration keys in the glances.conf file: Graph: [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 # 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=60 # See following configuration keys definitions in the Pygal lib documentation # http://pygal.org/en/stable/documentation/index.html width=800 height=600 style=DarkStyle Processes list Nice value: [processlist] # 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_careful=1,2,3,4,5,6,7,8,9 #nice_warning=10,11,12,13,14 #nice_critical=15,16,17,18,19 Docker plugin (related to #1152) [docker] # By default, Glances only display running containers # Set the following key to True to display all containers all=False All configuration file values (related to #1204) [influxdb] # It is possible to use dynamic system command prefix=`hostname` tags=foo:bar,spam:eggs,system:`uname -a` ============================================================================== Glances Version 2 ============================================================================== Version 2.11.1 ============== * [WebUI] Sensors not showing on Web (issue #1142) * Client and Quiet mode don't work together (issue #1139) Version 2.11 ============ Enhancements and new features: * New export plugin: standard and configurable RESTful exporter (issue #1129) * Add a JSON export module (issue #1130) * [WIP] Refactoring of the WebUI Bugs corrected: * Installing GPU plugin crashes entire Glances (issue #1102) * Potential memory leak in Windows WebUI (issue #1056) * glances_network `OSError: [Errno 19] No such device` (issue #1106) * GPU plugin. : ... not JSON serializable"> (issue #1112) * PermissionError on macOS (issue #1120) * Can't move up or down in glances --browser (issue #1113) * Unable to give aliases to or hide network interfaces and disks (issue #1126) * `UnicodeDecodeError` on mountpoints with non-breaking spaces (issue #1128) Installation: * Create a Snap of Glances (issue #1101) Version 2.10 ============ Enhancements and new features: * New plugin to scan remote Web sites (URL) (issue #981) * Add trends in the Curses interface (issue #1077) * Add new repeat function to the action (issue #952) * Use -> and <- arrows keys to switch between processing sort (issue #1075) * Refactor __init__ and main scripts (issue #1050) * [WebUI] Improve WebUI for Windows 10 (issue #1052) Bugs corrected: * StatsD export prefix option is ignored (issue #1074) * Some FS and LAN metrics fail to export correctly to StatsD (issue #1068) * Problem with non breaking space in file system name (issue #1065) * TypeError: string indices must be integers (Network plugin) (issue #1054) * No Offline status for timeouted ports? (issue #1084) * When exporting, uptime values loop after 1 day (issue #1092) Installation: * Create a package.sh script to generate .DEB, .RPM and others... (issue #722) ==> https://github.com/nicolargo/glancesautopkg * OSX: can't python setup.py install due to python 3.5 constraint (issue #1064) Version 2.9.1 ============= Bugs corrected: * Glances PerCPU issues with Curses UI on Android (issue #1071) * Remove extra } in format string (issue #1073) Version 2.9.0 ============= Enhancements and new features: * Add a Prometheus export module (issue #930) * Add a Kafka export module (issue #858) * Port in the -c URI (-c hostname:port) (issue #996) Bugs corrected: * On Windows --export-statsd terminates immediately and does not export (issue #1067) * Glances v2.8.7 issues with Curses UI on Android (issue #1053) * Fails to start, OSError in sensors_temperatures (issue #1057) * Crashes after long time running the glances --browser (issue #1059) * Sensor values don't refresh since psutil backend (issue #1061) * glances-version.db Permission denied (issue #1066) Version 2.8.8 ============= Bugs corrected: * Drop requests to check for outdated Glances version * Glances cannot load "Powersupply" (issue #1051) Version 2.8.7 ============= Bugs corrected: * Windows OS - Global name standalone not defined again (issue #1030) Version 2.8.6 ============= Bugs corrected: * Windows OS - Global name standalone not defined (issue #1030) Version 2.8.5 ============= Bugs corrected: * Cloud plugin error: Name 'requests' is not defined (issue #1047) Version 2.8.4 ============= Bugs corrected: * Correct issue on Travis CI test Version 2.8.3 ============= Enhancements and new features: * Use new sensors-related APIs of psutil 5.1.0 (issue #1018) * Add a "Cloud" plugin to grab stats inside the AWS EC2 API (issue #1029) Bugs corrected: * Unable to launch Glances on Windows (issue #1021) * Glances --export-influxdb starts Webserver (issue #1038) * Cut mount point name if it is too long (issue #1045) * TypeError: string indices must be integers in per cpu (issue #1027) * Glances crash on RPi 1 running ArchLinuxARM (issue #1046) Version 2.8.2 ============= Bugs corrected: * InfluxDB export in 2.8.1 is broken (issue #1026) Version 2.8.1 ============= Enhancements and new features: * Enable docker plugin on Windows (issue #1009) - Thanks to @fraoustin Bugs corrected: * Glances export issue with CPU and SENSORS (issue #1024) * Can't export data to a CSV file in Client/Server mode (issue #1023) * Autodiscover error while binding on IPv6 addresses (issue #1002) * GPU plugin is display when hitting '4' or '5' shortkeys (issue #1012) * Interrupts and usb_fiq (issue #1007) * Docker image does not work in web server mode! (issue #1017) * IRQ plugin is not display anymore (issue #1013) * Autodiscover error while binding on IPv6 addresses (issue #1002) Version 2.8 =========== Changes: * The curses interface on Windows is no more. The web-based interface is now the default. (issue #946) * The name of the log file now contains the name of the current user logged in, i.e., 'glances-USERNAME.log'. * IRQ plugin off by default. '--disable-irq' option replaced by '--enable-irq'. Enhancements and new features: * GPU monitoring (limited to NVidia) (issue #170) * WebUI CPU consumption optimization (issue #836) * Not compatible with the new Docker API 2.0 (Docker 1.13) (issue #1000) * Add ZeroMQ exporter (issue #939) * Add CouchDB exporter (issue #928) * Add hotspot Wifi information (issue #937) * Add default interface speed and automatic rate thresholds (issue #718) * Highlight max stats in the processes list (issue #878) * Docker alerts and actions (issue #875) * Glances API returns the processes PPID (issue #926) * Configure server cached time from the command line --cached-time (issue #901) * Make the log logger configurable (issue #900) * System uptime in export (issue #890) * Refactor the --disable-* options (issue #948) * PID column too small if kernel.pid_max is > 99999 (issue #959) Bugs corrected: * Glances RAID plugin Traceback (issue #927) * Default AMP crashes when 'command' given (issue #933) * Default AMP ignores `enable` setting (issue #932) * /proc/interrupts not found in an OpenVZ container (issue #947) Version 2.7.1 ============= Bugs corrected: * AMP plugin crashes on start with Python 3 (issue #917) * Ports plugin crashes on start with Python 3 (issue #918) Version 2.7 =========== Backward-incompatible changes: * Drop support for Python 2.6 (issue #300) Deprecated: * Monitoring process list module is replaced by AMP (see issue #780) * Use --export-graph instead of --enable-history (issue #696) * Use --path-graph instead of --path-history (issue #696) Enhancements and new features: * Add Application Monitoring Process plugin (issue #780) * Add a new "Ports scanner" plugin (issue #734) * Add a new IRQ monitoring plugin (issue #911) * Improve IP plugin to display public IP address (issue #646) * CPU additional stats monitoring: Context switch, Interrupts... (issue #810) * Filter processes by others stats (username) (issue #748) * [Folders] Differentiate permission issue and non-existence of a directory (issue #828) * [Web UI] Add cpu name in quicklook plugin (issue #825) * Allow theme to be set in configuration file (issue #862) * Display a warning message when Glances is outdated (issue #865) * Refactor stats history and export to graph. History available through API (issue #696) * Add Cassandra/Scylla export plugin (issue #857) * Huge pull request by Nicolas Hart to optimize the WebUI (issue #906) * Improve documentation: http://glances.readthedocs.io (issue #872) Bugs corrected: * Crash on launch when viewing temperature of laptop HDD in sleep mode (issue #824) * [Web UI] Fix folders plugin never displayed (issue #829) * Correct issue IP plugin: VPN with no internet access (issue #842) * Idle process is back on FreeBSD and Windows (issue #844) * On Windows, Glances try to display unexisting Load stats (issue #871) * Check CPU info (issue #881) * Unicode error on processlist on Windows server 2008 (french) (issue #886) * PermissionError/OSError when starting glances (issue #885) * Zeroconf problem with zeroconf_type = "_%s._tcp." % __appname__ (issue #888) * Zeroconf problem with zeroconf service name (issue #889) * [WebUI] Glances will not get past loading screen - Windows OS (issue #815) * Improper bytes/unicode in glances_hddtemp.py (issue #887) * Top 3 processes are back in the alert summary Code quality follow up: from 5.93 to 6.24 (source: https://scrutinizer-ci.com/g/nicolargo/glances) Version 2.6.2 ============= Bugs corrected: * Crash with Docker 1.11 (issue #848) 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 (https://glances.readthedocs.io/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 crashes with a bad regular expression pattern (issue #665) * Error with IP plugin (issue #651) * Crach with Docker plugin (issue #649) * Docker plugin crashes 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 interface 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: * Automatically 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 information 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 ) 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 information 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 improvement 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 deprecated (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 class 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 switch 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)