Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.

Overview

Glances - An eye on your system

Github stars Docker pull Pypi downloads Linux tests (Travis) Windows tests (Appveyor) https://scrutinizer-ci.com/g/nicolargo/glances/badges/quality-score.png?b=develop https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&link=https://github.com/sponsors/nicolargo https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40nicolargo

Summary

Glances is a cross-platform monitoring tool which aims to present a large amount of monitoring information through a curses or Web based interface. The information dynamically adapts depending on the size of the user interface.

https://raw.githubusercontent.com/nicolargo/glances/develop/docs/_static/glances-summary.png

It can also work 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.

https://raw.githubusercontent.com/nicolargo/glances/develop/docs/_static/glances-responsive-webdesign.png

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.

Requirements

  • python 2.7,>=3.4
  • psutil>=5.3.0 (better with latest version)

Optional dependencies:

  • bernhard (for the Riemann export module)
  • bottle (for Web server mode)
  • cassandra-driver (for the Cassandra export module)
  • couchdb (for the CouchDB export module)
  • docker (for the Docker monitoring support) [Linux/macOS-only]
  • elasticsearch (for the Elastic Search 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) [Only for Python >= 3.6]
  • kafka-python (for the Kafka export module)
  • netifaces (for the IP plugin)
  • nvidia-ml-py3 (for the GPU plugin)
  • pika (for the RabbitMQ/ActiveMQ export module)
  • potsdb (for the OpenTSDB export module)
  • prometheus_client (for the Prometheus export module)
  • py-cpuinfo (for the Quicklook CPU info module)
  • pygal (for the graph export module)
  • pymdstat (for RAID support) [Linux-only]
  • pySMART.smartx (for HDD Smart support) [Linux-only]
  • pysnmp (for SNMP support)
  • pystache (for the action script feature)
  • pyzmq (for the ZeroMQ export module)
  • requests (for the Ports, Cloud plugins and RESTful export module)
  • scandir (for the Folders plugin) [Only for Python < 3.5]
  • statsd (for the StatsD export module)
  • wifi (for the wifi plugin) [Linux-only]
  • zeroconf (for the autodiscover mode)

Note for Python 2.6 users

Glances no longer supports Python 2.6. Please upgrade to a minimum Python version of 2.7/3.4+ or downgrade to Glances 2.6.2 (last version with Python 2.6 support).

Note for CentOS Linux 6 and 7 users

Python 2.7 and 3.4 are now available via SCL repositories. See: https://lists.centos.org/pipermail/centos-announce/2015-December/021555.html.

Installation

There are several methods to test/install Glances on your system. Choose your weapon!

Glances Auto Install script: the total way

To install both dependencies and the latest Glances production ready version (aka master branch), just enter the following command line:

curl -L https://bit.ly/glances | /bin/bash

or

wget -O- https://bit.ly/glances | /bin/bash

Note: This is only supported on some GNU/Linux distributions and Mac OS X. If you want to support other distributions, please contribute to glancesautoinstall.

PyPI: The simple way

Glances is on PyPI. By using PyPI, you will be using the latest stable version.

To install, simply use pip:

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. For Windows, just install psutil from the binary installation file.

Note 2 (for the Wifi plugin): If you want to use the Wifi plugin, you need to install the wireless-tools package on your system.

You can also install the following libraries in order to use optional features (like the Web interface, exports modules...):

pip install 'glances[action,browser,cloud,cpuinfo,docker,export,folders,gpu,graph,ip,raid,snmp,web,wifi]'

To upgrade Glances to the latest version:

pip install --upgrade glances
pip install --upgrade glances[...]

If you need to install Glances in a specific user location, use:

export PYTHONUSERBASE=~/mylocalpath
pip install --user glances

The current develop branch is also published to the test.pypi.org package index. If you want to test the develop version, enter:

pip install -i https://test.pypi.org/simple/ Glances

Docker: the funny way

A Glances container is available. It includes the latest development HEAD version. You can use it to monitor your server and all your other containers!

Get the Glances container (latest develop branch):

docker pull nicolargo/glances:dev

Note, you can choose another branch with :

  • nicolargo/glances:latest for the last master branch (included multiple architectures 386, amd64, arm/v7 and arm64)
  • nicolargo/glances:dev for the last develop branch (included multiple architectures 386, amd64, arm/v7 and arm64)
  • nicolargo/glances:<version> for the specific <version> (included multiple architectures 386, amd64, arm/v7 and arm64)

Run the container in console mode:

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host --network host -it nicolargo/glances:dev

Additionally, if you want to use your own glances.conf file, you can create your own Dockerfile:

FROM nicolargo/glances:dev
COPY glances.conf /glances/conf/glances.conf
CMD python -m glances -C /glances/conf/glances.conf $GLANCES_OPT

Alternatively, you can specify something along the same lines with docker run options:

docker run -v `pwd`/glances.conf:/glances/conf/glances.conf -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it nicolargo/glances:dev

Where `pwd`/glances.conf is a local directory containing your glances.conf file.

Run the container in Web server mode (notice the GLANCES_OPT environment variable setting parameters for the glances startup command):

docker run -d --restart="always" -p 61208-61209:61208-61209 -e GLANCES_OPT="-w" -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host nicolargo/glances:dev

GNU/Linux

Glances is available on many Linux distributions, so you should be able to install it using your favorite package manager. Be aware that when you use this method the operating system package for Glances may not be the latest version.

FreeBSD

To install the binary package:

# pkg install py27-glances

To install Glances from ports:

# cd /usr/ports/sysutils/py-glances/
# make install clean

macOS

If you do not want to use the glancesautoinstall script, follow this procedure.

macOS users can install Glances using Homebrew or MacPorts.

Homebrew

$ brew install glances

MacPorts

$ sudo port install glances

Windows

Install Python for Windows (Python 2.7.9+ and 3.4+ ship with pip) and then run the following command:

$ pip install glances

Alternatively, you could clone the repository and install with the following command.

$ git clone https://github.com/nicolargo/glances.git
$ cd glances
$ python setup.py install

Android

You need a rooted device and the Termux application (available on the Google Play Store).

Start Termux on your device and enter:

$ apt update
$ apt upgrade
$ apt install clang python
$ pip install bottle
$ pip install glances

And start Glances:

$ glances

You can also run Glances in server mode (-s or -w) in order to remotely monitor your Android device.

Source

To install Glances from source:

$ wget https://github.com/nicolargo/glances/archive/vX.Y.tar.gz -O - | tar xz
$ cd glances-*
# python setup.py install

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)

Puppet

You can install Glances using Puppet: https://github.com/rverchere/puppet-glances

Ansible

A Glances Ansible role is available: https://galaxy.ansible.com/zaxos/glances-ansible-role/

Usage

For the standalone mode, just run:

$ glances

For the Web server mode, run:

$ glances -w

and enter the URL http://<ip>:61208 in your favorite web browser.

For the client/server mode, run:

$ glances -s

on the server side and run:

$ 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:

$ glances --browser

You can also display raw stats on stdout:

$ 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:

$ 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
...

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, JSON file, InfluxDB, Cassandra, CouchDB, OpenTSDB, Prometheus, StatsD, ElasticSearch, RabbitMQ/ActiveMQ, ZeroMQ, Kafka, Riemann and RESTful server.

How to contribute ?

If you want to contribute to the Glances project, read this wiki page.

There is also a chat dedicated to the Glances developers:

Donation

If this project help you, you can give me a tip ;)

See the sponsors page.

Author

Nicolas Hennion (@nicolargo) <[email protected]>

https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40nicolargo

License

Glances is distributed under the LGPL version 3 license. See COPYING for more details.

Comments
  • GPU monitoring (NVidia)

    GPU monitoring (NVidia)

    Bonjour,

    Merci pour ce soft que j'utilise et apprécie (presque depuis le début, car je suivais déjà votre blog via rss avant ça...).

    Je me demandais si vous pensez qu'il sera (serait ?) possible d'y ajouter les infos GPU. Vu que de + en +de cartes graphiques ont un proc. dédié, je me disait qu'il serait intéressant d'avoir le même type d'info qu'avec glances... et éventuellement même de voir la décharge de l'un sur l'autre ...

    Merci Alexis

    new feature 
    opened by alexis26 93
  • Cannot export  stats to InfluxDB

    Cannot export stats to InfluxDB

    I'm running glances like glances --export-influxdb -t 60 -d -q

    When exporting to InfluxDB i'm seeing multiple errors in the log file

    Cannot export myserver.ip stats to InfluxDB (400: unable to parse 'myserver.ip ': invalid field format
    Cannot export myserver.network stats to InfluxDB (400: write failed: field type conflict: input field "tun0.time_since_update" on measurement "myserver.network" is type float64, already exists as type integer
    Cannot export myserver.sensors stats to InfluxDB (400: unable to parse 'myserver.sensors ': invalid field format
    )
    Cannot export myserver.docker stats to InfluxDB (400: unable to parse 'myserver.docker ': invalid field format
    

    I'm running InfluxDB v0.9.3.

    bug needs test 
    opened by ruudboon 33
  • MQTT docker issue

    MQTT docker issue

    Describe the bug New dev image cannot connect to MQTT server glances-mqtt | Connection to MQTT server failed : [Errno 111] Connection refused glances-mqtt | Traceback (most recent call last): glances-mqtt | File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main glances-mqtt | return _run_code(code, main_globals, None, glances-mqtt | File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code glances-mqtt | exec(code, run_globals) glances-mqtt | File "/glances/glances/main.py", line 29, in glances-mqtt | glances.main() glances-mqtt | File "/glances/glances/init.py", line 189, in main glances-mqtt | start(config=core.get_config(), args=core.get_args()) glances-mqtt | File "/glances/glances/init.py", line 118, in start glances-mqtt | mode = GlancesMode(config=config, args=args) glances-mqtt | File "/glances/glances/standalone.py", line 108, in init glances-mqtt | self.screen = GlancesCursesStandalone(config=config, args=args) glances-mqtt | File "/glances/glances/outputs/glances_curses.py", line 151, in init glances-mqtt | self.screen = curses.initscr() glances-mqtt | File "/usr/local/lib/python3.10/curses/init.py", line 29, in initscr glances-mqtt | setupterm(term=_os.environ.get("TERM", "unknown"), glances-mqtt | _curses.error: setupterm: could not find terminal

    To Reproduce Steps to reproduce the behavior:

    1. Start Glances with the followings options docker-compose version: "3" services: glances-mqtt: container_name: glances-mqtt image: nicolargo/glances:dev restart: unless-stopped network_mode: host pid: host hostname: hp volumes:
      • ./data/glances.conf:/glances/conf/glances.conf
      • /var/run/docker.sock:/var/run/docker.sock:ro environment:
      • GLANCES_OPT= --export mqtt

    Expected behavior Worked on previous dev version

    Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye

    needs discussion 
    opened by Anian-igor 30
  • Glances not working on Windows 8.1, python 3.4?

    Glances not working on Windows 8.1, python 3.4?

    Hi,

    I use python 3.4 on my Windows 8.1 machine. When I use 'glances -w' I get a message that the webserver has started on the default port. But when I try to access the webpage, it just remains on the loading screen (still after 30 minutes) when I press CTRL+C I get the following error and it won't stop:

    C:\Python34\Scripts>glances -w
    Glances web server started on http://0.0.0.0:61208/
    Traceback (most recent call last):
      File "C:\Python34\lib\wsgiref\handlers.py", line 137, in run
        self.result = application(self.environ, self.start_response)
      File "C:\Python34\Scripts\bottle.py", line 979, in __call__
        return self.wsgi(environ, start_response)
      File "C:\Python34\Scripts\bottle.py", line 954, in wsgi
        out = self._cast(self._handle(environ))
      File "C:\Python34\Scripts\bottle.py", line 862, in _handle
        return route.call(**args)
      File "C:\Python34\Scripts\bottle.py", line 1732, in wrapper
        rv = callback(*a, **ka)
      File "C:\Python34\lib\site-packages\glances\outputs\glances_bottle.py", line 3
    96, in _enable_cors
        return fn(*args, **kwargs)
      File "C:\Python34\lib\site-packages\glances\outputs\glances_bottle.py", line 2
    22, in _api_all
        self.stats.update()
      File "C:\Python34\lib\site-packages\glances\core\glances_stats.py", line 156,
    in update
        self._plugins[p].update()
      File "C:\Python34\lib\site-packages\glances\plugins\glances_processcount.py",
    line 58, in update
        glances_processes.update()
      File "C:\Python34\lib\site-packages\glances\core\glances_processes.py", line 6
    31, in update
        self.processcount['thread'] += proc.num_threads()
      File "C:\Python34\lib\site-packages\psutil\__init__.py", line 752, in num_thre
    ads
        return self._proc.num_threads()
      File "C:\Python34\lib\site-packages\psutil\_pswindows.py", line 282, in wrappe
    r
        return fun(self, *args, **kwargs)
      File "C:\Python34\lib\site-packages\psutil\_pswindows.py", line 433, in num_th
    reads
        return ntpinfo(*cext.proc_info(self.pid)).num_threads
      File "C:\Python34\lib\site-packages\glances\__init__.py", line 65, in __signal
    _handler
        end()
      File "C:\Python34\lib\site-packages\glances\__init__.py", line 88, in end
        sys.exit(0)
    SystemExit: 0
    
    enhancement bug 
    opened by Bart274 28
  • Network monitoring shows wrong interfaces?

    Network monitoring shows wrong interfaces?

    Networking shows wrong interfaces and even not the ones it has to show.

    System: CentOS 6.3 32bit with Linux 2.6.32-042stab065.3 OpenVZ kernel

    output: Network Rx/s Tx/s
    venet0:4 0b 0b

    Interfaces it has to show: eth0 venet0 lo

    glances version: 1.5.1 and tried the master with the same result.

    bug 
    opened by dterweij 27
  •  Glances get's stuck on

    Glances get's stuck on "landing page" after a browser refresh

    Running Glances on Windows 10U as a service (NSSM) Python: 3.5 64 Bit Glances v2.7.1 with psutil v5.0.0 (running as a windows source via NSSM)

    Problem: Glances get's stuck on "landing page" after a browser refresh.

    Have tried firefox and chrome, both do it.

    I previously had glances running on python 2.7, but switched to 3.5 64 bit when the issues started.

    Nothing is in the logs.

    Just wondering if there is something simple?

    Thanks!

    needs discussion 
    opened by seanvree 26
  • Problème sur Gentoo pour la version 1.4 de glances.

    Problème sur Gentoo pour la version 1.4 de glances.

    Télécharge la version beta de glances et tester sur une Gentoo à jour. Version de PSutil : 0.3.0, et de python : 2.7 Je lance glances.py, qui m'affiche l'écran correctement, fais 1 rafraîchissement et plante avec la trace suivante :

    Traceback (most recent call last): File "./glances.py", line 1372, in main() File "./glances.py", line 1352, in main stats.update() File "./glances.py", line 511, in update self.update() File "./glances.py", line 495, in update self.process_all.remove(proc) File "/usr/lib64/python2.7/site-packages/psutil/init.py", line 131, in eq h2 = (other.pid, other.create_time) File "/usr/lib64/python2.7/site-packages/psutil/init.py", line 253, in create_time return self._platform_impl.get_process_create_time() File "/usr/lib64/python2.7/site-packages/psutil/_pslinux.py", line 251, in wrapper raise NoSuchProcess(self.pid, self._process_name) psutil.error.NoSuchProcess: process no longer exists (pid=8835)

    bug 
    opened by claneys 26
  • Detect if the current instance is an AWS EC2 instance.

    Detect if the current instance is an AWS EC2 instance.

    Hi guys, I would like to propose a new feature I was thinking about. I use glances on several Linux systems (bare metal and cloud ones), it would be very nice if the software could detect if the server I am monitoring is an EC2 instance or not. It could be implemented in few lines of code: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html. This would add a very great value to glances, because AWS is the most used IaaS. The displayed informations could be: AMI-id, the amazon region where the server is etc ...

    Regards, Angelo

    enhancement 
    opened by angelopoerio 25
  • WebUI - Infinite loading

    WebUI - Infinite loading

    Hi,

    When I open the WebUI, it never loads. I only see the 3 dots.

    The Chrome console shows

    vendor.js:2 TypeError: _.padLeft is not a function
        at setData (main.js:1)
        at getPlugin (main.js:1)
        at i.getData.then.e.is_disconnected (main.js:1)
        at u (vendor.js:3)
        at vendor.js:3
        at d.$eval (vendor.js:3)
        at d.$digest (vendor.js:3)
        at d.$apply (vendor.js:3)
        at s (vendor.js:2)
        at b (vendor.js:2)
    

    every 2 seconds.

    Versions

    • Glances (glances -V): 2.7.1
    • PSutil (glances -V): 4.3.1
    • Operating System (lsb_release -a): Debian GNU/Linux 8.6 (jessie)
    bug 
    opened by wblondel 24
  • Docker stats not reflecting on Archlinux

    Docker stats not reflecting on Archlinux

    Describe the bug Glances is not reporting the CPU/MEM etc stats for the docker containers running on my Archlinux systems, these are working on other systems I have running (docker on synology, Debian and Rasbian)

    To Reproduce Steps to reproduce the behavior:

    1. I don't have any config files
    2. just ran glances
    3. If the machine has docker installed then containers show up but no stats

    Expected behavior I am expecting to see the stats for the containers

    Screenshots Archlinux system (not working) image Debian system (working) image

    Desktop (please complete the following information):

    1. Not working
    • OS: Arch Linux
    • Glances Version: Glances v3.1.7 with PsUtil v5.8.0
    • Glances logs file:
    2021-05-13 10:12:21,002 -- INFO -- Start Glances 3.1.7
    2021-05-13 10:12:21,002 -- INFO -- CPython 3.9.5 and psutil 5.8.0 detected
    2021-05-13 10:12:21,005 -- INFO -- Search glances.conf file in /home/clifford/.config/glances/glances.conf
    2021-05-13 10:12:21,005 -- INFO -- Search glances.conf file in /etc/glances/glances.conf
    2021-05-13 10:12:21,011 -- INFO -- Start GlancesStandalone mode
    2021-05-13 10:12:21,017 -- WARNING -- Sparklines module not found (No module named 'sparklines')
    2021-05-13 10:12:21,110 -- WARNING -- Missing Python Lib (No module named 'pySMART'), HDD Smart plugin is disabled
    2021-05-13 10:12:21,123 -- WARNING -- Wifi lib is not compliant with Python 3, Wifi plugin is disabled
    2021-05-13 10:12:24,119 -- INFO -- Stop Glances (keypressed: 113)
    
    • pip list:
    Package             Version
    ------------------- -------------
    appdirs           1.4.4
    asn1crypto        1.4.0 
    bernhard          0.2.6 
    bottle            0.12.19
    CacheControl      0.12.6
    cassandra-driver  3.25.0  
    certifi           2020.12.5
    cffi              1.14.5
    chardet           4.0.0
    Cheetah3          3.2.6.post2
    chevron           0.14.0
    click             8.0.0
    colorama          0.4.4 
    contextlib2       0.6.0.post1
    CouchDB           1.2  
    cryptography      3.4.7 
    distlib           0.3.1 
    distro            1.5.0
    docker            5.0.0 
    elasticsearch     7.12.1
    future            0.18.2
    geomet            0.2.1.post1
    Glances           3.1.7                                                                                                                                                                                                                      
    html5lib          1.1
    idna              3.1
    ifaddr            0.1.7
    influxdb          5.3.1
    kafka-python      2.0.2
    msgpack           1.0.2
    netifaces         0.10.9
    ordered-set       4.0.2
    packaging         20.9
    paho-mqtt         1.5.1
    pbkdf2            1.3
    pep517            0.10.0
    pika              1.2.0
    pip               20.3.1
    ply               3.11
    potsdb            1.0.3
    progress          1.5
    prometheus-client 0.10.1
    protobuf          3.17.0
    psutil            5.8.0
    py-cpuinfo        4.0.0
    py3nvml           0.2.6
    pyasn1            0.4.8
    pycparser         2.20
    pycryptodomex     3.10.1
    pygal             2.4.0
    pymdstat          0.4.2
    pymongo           3.11.4
    pyOpenSSL         20.0.1
    pyparsing         2.4.7
    pysmi             0.3.4
    pysnmp            4.4.12
    python-dateutil   2.8.1
    pytoml            0.1.21
    pytz              2021.1
    PyYAML            5.4.1
    pyzmq             22.0.3
    regex             2021.4.4
    requests          2.25.1
    resolvelib        0.5.4
    retrying          1.3.3
    rrdtool           0.1.10
    scandir           1.10.0
    scons             3.1.2
    setuptools        56.2.0
    six               1.16.0
    statsd            3.3.0
    toml              0.10.2
    urllib3           1.26.4
    webencodings      0.5.1
    websocket-client  0.59.0
    wifi              0.3.8
    xmltodict         0.12.0
    zeroconf          0.30.0
    
    1. Working
    • OS: Debian GNU/Linux 10 (buster)
    • Glances Version: Glances v3.1.7 with PsUtil v5.7.0
    • Glances logs file:
    2021-05-13 10:14:39,144 -- INFO -- Start Glances 3.1.7
    2021-05-13 10:14:39,144 -- INFO -- CPython 3.7.3 and psutil 5.7.0 detected
    2021-05-13 10:14:39,146 -- INFO -- Search glances.conf file in /home/clifford/.config/glances/glances.conf
    2021-05-13 10:14:39,146 -- INFO -- Search glances.conf file in /etc/glances/glances.conf
    2021-05-13 10:14:39,152 -- INFO -- Start GlancesStandalone mode
    2021-05-13 10:14:40,518 -- WARNING -- Wifi lib is not compliant with Python 3, Wifi plugin is disabled
    2021-05-13 10:14:45,974 -- INFO -- Stop Glances (keypressed: 113)
    
    • pip list:
    Package             Version
    ------------------- -------------
    asn1crypto          0.24.0
    bernhard            0.2.6  
    bottle              0.12.15
    cached-property     1.5.1 
    cassandra-driver    3.25.0
    certifi             2018.8.24
    chardet             3.0.4
    chevron             0.14.0
    click               8.0.0 
    CouchDB             1.2          
    cryptography        2.6.1 
    ctop                1.0.0 
    distro-info         0.21 
    docker              5.0.0 
    docker-compose      1.21.0
    docker-pycreds      0.3.0
    dockerpty           0.4.1
    docopt              0.6.2
    elasticsearch       7.12.1
    entrypoints         0.3   
    future              0.18.2
    geomet              0.2.1.post1
    Glances             3.1.7
    httplib2            0.11.3
    idna                2.6   
    ifaddr              0.1.6
    influxdb            5.3.1                                                                                                                                                                                                                    
    jsonschema          2.6.0                                                                                                                                                                                                                   
    kafka-python        2.0.2
    keyring             17.1.1                                                                                                                                                                                                                 
    keyrings.alt        3.1.1                                                                                                                                                                                                                    
    msgpack             1.0.2
    netifaces           0.10.4                                                                                                                                                                                                                   
    paho-mqtt           1.5.1
    pbkdf2              1.3                                                                                                                                                                                                               
    pika                1.2.0                                                                                                                                                                                                          
    pip                 18.1                                                                                                                                                                                                                     
    ply                 3.11
    potsdb              1.0.3                                                                                                                                                                                                                 
    prometheus-client   0.10.1               
    protobuf            3.11.3                      
    psutil              5.7.0                                                                  
    py-cpuinfo          4.0.0                                          
    py3nvml             0.2.6               
    pyasn1              0.4.8         
    pycrypto            2.6.1                                                                
    pycryptodomex       3.9.7                                                                                                
    pycurl              7.43.0.2                                                                                                   
    pygal               2.4.0
    PyGObject           3.30.4
    pymdstat            0.4.2
    PySimpleSOAP        1.16.2                            
    pySMART.smartx      0.3.10
    pysmi               0.3.4  
    pysnmp              4.4.12       
    pystache            0.5.4 
    python-apt          1.8.4.3
    python-dateutil     2.8.1  
    python-debian       0.1.35
    python-debianbts    2.8.2 
    pytz                2021.1   
    pyxdg               0.25 
    PyYAML              3.13  
    pyzmq               22.0.3
    reportbug           7.5.3-deb10u1
    requests            2.21.0
    scandir             1.10.0
    SecretStorage       2.3.1
    setuptools          56.2.0
    six                 1.12.0
    sparklines          0.4.2
    statsd              3.3.0
    texttable           1.6.0
    unattended-upgrades 0.1   
    urllib3             1.24.1
    websocket-client    0.53.0
    wheel               0.32.3     
    wifi                0.3.8
    xmltodict           0.12.0
    zeroconf            0.21.3
    
    enhancement bug needs test dependencies 
    opened by cliffordwhansen 22
  • Hide function in sensors section

    Hide function in sensors section

    New feature: Add hide function of some sensors. In the same way that can be done with the hard drive partitions. For example, in glances.conf in Sensors section: hide=name_sensor01,name_sensor02...

    • Glances v3.1.3 with psutil v5.6.7
    • LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic
    enhancement bug needs test 
    opened by dtalens 22
  • AMP is not triggered when web is not opened

    AMP is not triggered when web is not opened

    Describe the bug I'm using a the default AMP to trigger push to my monitoring system (uptime-kuma). This is monitoring the availability of the server (if heartbeat is not coming, the server is taken as off). Glances is running in web mode (-w switch). When the web is opened, then all is good, the push notifications are sent to the monitoring system, but when I close the website, the push is not triggered anymore. When I start the web, all is good again.

    To Reproduce [amp_heartbeat] enable=true regex=.* refresh=27 one_line=true command=curl -s -X GET https://status.domain.com/api/push/ID

    Expected behavior The AMP should be executed all time disregard of the web is opened or not

    Desktop (please complete the following information):

    • Official docker image (latest-full)
    opened by attilabalazsy 0
  • inconsistent data from different mdadm raid arrays

    inconsistent data from different mdadm raid arrays

    Describe the bug I have the :dev docker image installed on 2 docker hosts which have physical RAID Arrays, one is a raid5 array, the other is a raid 0. The data in glances for the raid 5 array correctly identifies it as 5 elements available, 5 in use, but the raid 0 array identifies 2 elemenets available 512k in use ( that's the chunk size )

    To Reproduce 1 install or create suitable raid arrays and check if glances identifies the available/in-use raid elements correctly.

    Expected behavior correctly identify the number of elements in use.

    Screenshots see scteenshots of mdadm --detail for each array and corresponding output from glances.

    Desktop (please complete the following information): Systems in use: Desktop-U is Ubuntu 22.04.1 LTS room101 is Ubuntu 20.04.5 LTS All packages are up-to-date on both systems.

    Docker image in use of both hosts : nicolargo/glances:dev output from glances -V 👍 /glances # glances -V 2023-01-05 10:51:03,335 -- INFO -- Start Glances 3.3.0.4 2023-01-05 10:51:03,335 -- INFO -- CPython 3.10.9 (/usr/bin/python3) and psutil 5.9.4 detected Glances v3.3.0.4 with PsUtil v5.9.4 Log file: /tmp/glances-root.log

    • OS: [e.g. GNU/Linux Ubuntu 20.04]
    • Glances Version [output of glances -V]
    • Glances logs file [output of tail -10 ]
    • Glances test [output of glances --issue] (only available with Glances 3.1.7 or higher)

    Additional context Add any other context about the problem here. Screenshot 2023-01-05 104657 Screenshot 2023-01-05 104801

    bug needs contributor 
    opened by gregewing 0
  • Add ubuntu Dockerfile with GPU supported

    Add ubuntu Dockerfile with GPU supported

    Description

    This PR add a Ubuntu Dockerfile for showing GPU info.

    Resume

    • Bug fix: no
    • New feature: yes
    • Fixed tickets: comma-separated list of tickets fixed by the PR, if any
    opened by imyhxy 0
  • Filter process list by user

    Filter process list by user

    it would be really really nice if we were able to filter the process list by user so I can either select what users I want to see, or select what users I dont want to see. An example is here where there are a LOT of processes started by "root" that Im not interested in, so I would like to hide them. image

    enhancement needs contributor webui 
    opened by RetroZelda 2
  • Update dependency zeroconf to v0.47.1

    Update dependency zeroconf to v0.47.1

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | zeroconf (changelog) | ==0.47.0 -> ==0.47.1 | age | adoption | passing | confidence |


    Release Notes

    python-zeroconf/python-zeroconf

    v0.47.1

    Compare Source

    Fix
    • The equality checks for DNSPointer and DNSService should be case insensitive (#​1122) (48ae77f)

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • [Snyk] Security upgrade setuptools from 39.0.1 to 65.5.1

    [Snyk] Security upgrade setuptools from 39.0.1 to 65.5.1

    This PR was automatically created by Snyk using the credentials of a real user.


    Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.

    Changes included in this PR

    • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
      • optional-requirements.txt
    ⚠️ Warning
    bernhard 0.2.6 requires protobuf, which is not installed.
    
    

    Vulnerabilities that will be fixed

    By pinning:

    Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- medium severity | 551/1000
    Why? Recently disclosed, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
    SNYK-PYTHON-SETUPTOOLS-3180412 | setuptools:
    39.0.1 -> 65.5.1
    | No | No Known Exploit

    (*) Note that the real score may have changed since the PR was raised.

    Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

    Check the changes in this PR to ensure they won't cause issues with your project.


    Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

    For more information: 🧐 View latest project report

    🛠 Adjust project settings

    📚 Read more about Snyk's upgrade and patch logic


    Learn how to fix vulnerabilities with free interactive lessons:

    🦉 Regular Expression Denial of Service (ReDoS)

    opened by nicolargo 0
Releases(v3.3.0)
  • v3.3.0(Oct 29, 2022)

    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/upercase #1590
    * Web UI truncates the days part of CPU time counter of the process list #2108
    * Correct alignement 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
    
    Source code(tar.gz)
    Source code(zip)
  • v3.2.7(Jul 29, 2022)

    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 occures
    * Improve error message when MQTT error occures
    * 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
    
    Source code(tar.gz)
    Source code(zip)
  • v3.2.5(Apr 16, 2022)

    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

    Source code(tar.gz)
    Source code(zip)
  • v3.2.4.2(Nov 29, 2021)

  • v3.2.4(Nov 20, 2021)

    What's Changed

    • Update Debian image to include smartmontools by @zmanji in https://github.com/nicolargo/glances/pull/1927
    • Fix typo by @mohamadmansourX in https://github.com/nicolargo/glances/pull/1932
    • Bug Fix: Docker plugin - Network stats not being displayed by @RazCrimson in https://github.com/nicolargo/glances/pull/1944
    • Fix: Docker plugin - Invalid IO stats with Arch Linux by @RazCrimson in https://github.com/nicolargo/glances/pull/1945
    • Update WebUI dependencies by @notFloran in https://github.com/nicolargo/glances/pull/1948
    • is_disabled name fix by @H4ckerxx44 in https://github.com/nicolargo/glances/pull/1949
    • Fix Grafana CPU temperature panel by @NefixEstrada in https://github.com/nicolargo/glances/pull/1954

    New Contributors

    • @zmanji made their first contribution in https://github.com/nicolargo/glances/pull/1927
    • @mohamadmansourX made their first contribution in https://github.com/nicolargo/glances/pull/1932
    • @RazCrimson made their first contribution in https://github.com/nicolargo/glances/pull/1944
    • @H4ckerxx44 made their first contribution in https://github.com/nicolargo/glances/pull/1949
    • @NefixEstrada made their first contribution in https://github.com/nicolargo/glances/pull/1954

    Full Changelog: https://github.com/nicolargo/glances/compare/v3.2.3...v3.2.4

    Source code(tar.gz)
    Source code(zip)
  • v3.2.3(Aug 14, 2021)

    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
    Source code(tar.gz)
    Source code(zip)
    python-glances-3.2.3-1.noarch.rpm(1.51 MB)
    python-glances_3.2.3_all.deb(1.53 MB)
  • v3.2.2(Jul 24, 2021)

    =============== 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 dafault 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
    

    Contibutors for this version:

    * Nicolargo
    * Markus Pöschl
    * Clifford W. Hansen
    * Blake
    * Yan
    
    Source code(tar.gz)
    Source code(zip)
  • v3.2.0(Jul 10, 2021)

    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 dafault 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
    

    Contibutors for this version:

    * Nicolargo
    * Markus Pöschl
    * Clifford W. Hansen
    * Blake
    * Yan
    
    Source code(tar.gz)
    Source code(zip)
  • v3.1.7(May 11, 2021)

    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)
    Source code(tar.gz)
    Source code(zip)
  • v3.1.6(Jan 23, 2021)

    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
    
    Source code(tar.gz)
    Source code(zip)
  • v3.1.5(Aug 20, 2020)

    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 suppport 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
    
    Source code(tar.gz)
    Source code(zip)
  • v3.1.4(Mar 11, 2020)

    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
        Cant 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
    
    Source code(tar.gz)
    Source code(zip)
  • v3.1.0(Jan 19, 2019)

    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
    
    Source code(tar.gz)
    Source code(zip)
  • v3.0.2(Oct 14, 2018)

    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-<plugin> no longer available (use --disable-plugin <plugin>)
    * --export-<exporter> no longer available (use --export <exporter>)
    

    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 followings 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`
    
    Source code(tar.gz)
    Source code(zip)
    python-bottle-0.12.13-1.noarch.rpm(148.10 KB)
    python-bottle_0.12.13_all.deb(145.27 KB)
    python-glances-3.0.2-1.noarch.rpm(1.37 MB)
    python-glances_3.0.2_all.deb(1.39 MB)
    python-psutil-5.4.7-1.x86_64.rpm(469.22 KB)
    python-psutil_5.4.7_amd64.deb(468.18 KB)
  • v3.0(Sep 5, 2018)

  • v2.11(Aug 27, 2017)

    Enhancements and new features:

    * New export plugin: standard and configurable Restfull 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. <class 'TypeError'>: ... not JSON serializable"> (issue #1112)
    * PermissionError on macOS (issue #1120)
    * Cant 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)
    
    Source code(tar.gz)
    Source code(zip)
  • v2.10(May 26, 2017)

    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)
    Source code(tar.gz)
    Source code(zip)
  • v2.9.1(Apr 3, 2017)

  • v2.9.0(Mar 27, 2017)

    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)
    * Crashs 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)
    Source code(tar.gz)
    Source code(zip)
  • v2.8.1_1(Feb 6, 2017)

    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)
    
    Source code(tar.gz)
    Source code(zip)
  • v2.8(Jan 21, 2017)

    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 informations (issue #937)
    * Add default interface speed and automatic rate thresolds (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)
    
    Source code(tar.gz)
    Source code(zip)
  • v2.7(Sep 10, 2016)

    Welcome to the new Glances 2.7 version.

    GLANCES

    New features

    Add a new Application Monitoring Process (AMP) #780

    The AMP plugin replaces the old Monitoring Process plugin. It allows users to define a processes list and optionally execute a specific action.

    AMP

    An entry in the AMP list should be defined by a regular expression (on the command line). When the regular expression matchs (processes are "up and running"), Glances do the following thinks:

    • if nothing is defined, the global CPU and memory of matched processes are displayed
    • a command line could be executed and the output will be displayed
    • a Python script existing in the glances/amps folder could be executed. For this last option a list of predefined scripts is provided by the Glances team: Nginx, Systemd and SystemV. You can write your owns Python scripts by following a existing script as a example.

    If you want to monitor the Dropbox daemon, you should add the following section in the Glances configuration file:

    [amp_dropbox]
    enable=true
    regex=.*dropbox.*
    refresh=3
    command=dropbox status
    one_line=false
    countmin=1
    

    How to read this configuration file ?

    • First of all, we add a new AMP section. An AMP entry should alway start with amp_ ([amp_dropbox]).
    • We enable the AMP entry (enable=true).
    • We want to focus on the dropbox process (regex=.dropbox.).
    • The AMP entry will be refreshed every 3 seconds (refresh=3).
    • The command line to execute if the process is up and running (command=dropbox status).
    • We force Glances to display all the output of the command line, not only the first line (one_line=false).
    • If the number of matching process is < 1, the line will be display with the Warning color (countmin=1).

    See more examples in the default Glances configuration file (https://github.com/nicolargo/glances/blob/master/conf/glances.conf)

    New Ports scanner plugin #734

    The Ports Scanner plugin aims at monitoring local or remote TCP/ICMP ports status.

    PORTS

    A list of host/port is define in the configuration file and the result (RTT delay) is displayed in the user interface.

    [ports]
    # Ports scanner plugin configuration
    # Interval in second between two scans
    refresh=30
    # Set the default timeout (in second) for a scan (can be overwrite 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=True
    # Define the scan list (port_x_- with 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_host=www.google.com
    port_4_description=Internet Web
    port_4_port=80
    port_4_rtt_warning=1000
    

    CPU additional stats monitoring: Context switch, Interrupts... #810

    The following CPU stats are grabbed and displayed in the user interface:

    • ctx_switches: number of context switches (voluntary + involuntary) per second
    • interrupts: number of interrupts per second
    • soft_interrupts: number of software interrupts per second. Always set to 0 on Windows and SunOS.
    • syscalls: number of system calls since boot. Always set to 0 on Linux.

    CPU

    These new statistics are also available through the API:

    $ python -m glances -w
    Glances web server started on http://0.0.0.0:61208/
    
    $ curl http://127.0.0.1:61208/api/2/cpu
    {
       "guest_nice" : 0,
       "irq" : 0,
       "time_since_update" : 49.5867121219635,
       "total" : 7.1,
       "softirq" : 0,
       "ctx_switches" : 157897,
       "interrupts" : 51886,
       "user" : 5.7,
       "iowait" : 0.1,
       "guest" : 0,
       "soft_interrupts" : 10239,
       "syscalls" : 0,
       "cpucore" : 4,
       "system" : 1.4,
       "idle" : 92.9,
       "nice" : 0,
       "steal" : 0
    }
    

    Add Cassandra/Scylla export plugin #857

    Additionally to CSV files, InfluxDB, OpenTSDB, StatsD, RabbitMQ, Elasticsearch, and Riemann, it is now possible to export stats to a Cassandra or Scylla server.

    The connection should be defined in the Glances configuration file as following:

    [cassandra]
    host=localhost
    port=9042
    protocol_version=3
    keyspace=glances
    replication_factor=2
    table=localhost
    

    and run Glances with:

    $ glances --export-cassandra
    

    The data model is the following:

    CREATE TABLE <table> (plugin text, time timeuuid, stat map<text,float>, PRIMARY KEY (plugin, time))
    

    Only numerical stats are stored in the Cassandra table. All the stats are converted to float. If a stat can not be converted to float, it is not stored in the database.

    IRQ monitoring #911

    Only on GNU/Linux, a new IRQ plugin displays the top 5 interrupts rate.

    IRQ

    The stats are grabbed from the /proc/interrupts file.

    Display a warning message when Glances is outdated #865

    On online machines, Glances can check if a newer version is available on Pypi.

    This feature can be enable (true) or disable (false) in the Glances configuration file:

    [global]
    # Does Glances should check if a newer version is available on Pypi ?
    check_update=true
    

    Filter processes by others stats (username) #748

    The processes filtering feature has been improved.

    It's possible to filter the processes list using the ENTER key.

    Filter syntax is the following (examples):

    python > Filter processes name or command line starting with python (regexp)
    .*python.- > Filter processes name or command line containing python (regexp)
    username:nicolargo > Processes of nicolargo user (key:regexp)
    cmdline:/usr/bin.- > Processes starting by /usr/bin
    

    Enhancements

    (See issues for details)

    • Refactor stats history and export to graph #696
    • [Web UI] dependency manager and build system #906
    • Ports plugin keyboard shortcut #899
    • [Web UI] add ports plugin #897
    • [Web UI] handle aliases in diskio plugin #896
    • Improve documentation documentation enhancement #872
    • Add new amp shortcut 'A' on help page #863
    • Allow theme to be set in configuration file enhancement #862
    • [WebUI] Hide additional cpu data if not available #850
    • [WebUI] Add 'x' and 'w' shortcuts to clean logs messages enhancement #843
    • [Web UI] Fix folder plugin decoration issue for exclamation/question mark #831
    • [Folders] Differentiate permission issue and non-existence of a directory enhancement needs test #828
    • [Web UI] add cpu name in quicklook plugin #825
    • [Web UI] Remove loading page enhancement #807
    • Update Glances with new PsUtil 4.x stats enhancement needs test #797
    • Improve IP plugin to display public IP address enhancement needs test #646

    Bugs corrected

    (See issues for details)

    • 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

    Documentation

    Full installation guide: https://github.com/nicolargo/glances/blob/master/README.rst#installation

    Official documentation: http://glances.readthedocs.io

    Source code(tar.gz)
    Source code(zip)
  • v2.6.2(May 12, 2016)

  • v2.6.1(Mar 26, 2016)

    Glances 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)
    
    Source code(tar.gz)
    Source code(zip)
  • v2.6(Mar 16, 2016)

    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
    
    Source code(tar.gz)
    Source code(zip)
  • v2.5.1(Oct 22, 2015)

    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)
    
    Source code(tar.gz)
    Source code(zip)
  • v2.5(Oct 6, 2015)

    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)
    
    Source code(tar.gz)
    Source code(zip)
  • v2.4.2(Jul 21, 2015)

    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)
    
    Source code(tar.gz)
    Source code(zip)
  • v2.4.1(Jul 21, 2015)

  • v2.4(Jul 21, 2015)

    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)
    
    Source code(tar.gz)
    Source code(zip)
Owner
Nicolas Hennion
Open-source developer enthusiast. Father of the Glances software.
Nicolas Hennion
Line-by-line profiling for Python

line_profiler and kernprof NOTICE: This is the official line_profiler repository. The most recent version of line-profiler on pypi points to this repo

OpenPyUtils 1.6k Dec 31, 2022
Visual profiler for Python

vprof vprof is a Python package providing rich and interactive visualizations for various Python program characteristics such as running time and memo

Nick Volynets 3.9k Dec 19, 2022
Display machine state using Python3 with Flask.

Flask-State English | 简体中文 Flask-State is a lightweight chart plugin for displaying machine state data in your web application. Monitored Metric: CPU,

622 Dec 18, 2022
Exports osu! user stats to prometheus metrics for a specified set of users

osu! to prometheus exporter This tool exports osu! user statistics into prometheus metrics for a specified set of user ids. Just copy the config.json.

Peter Oettig 1 Feb 24, 2022
Was an interactive continuous Python profiler.

☠ This project is not maintained anymore. We highly recommend switching to py-spy which provides better performance and usability. Profiling The profi

What! Studio 3k Dec 27, 2022
Monitor Memory usage of Python code

Memory Profiler This is a python module for monitoring memory consumption of a process as well as line-by-line analysis of memory consumption for pyth

3.7k Dec 30, 2022
A watch dog providing a piece in mind that your Chia farm is running smoothly 24/7.

Photo by Zoltan Tukacs on Unsplash Watchdog for your Chia farm So you've become a Chia farmer and want to maximize the probability of getting a reward

Martin Mihaylov 466 Dec 11, 2022
Monitor Memory usage of Python code

Memory Profiler This is a python module for monitoring memory consumption of a process as well as line-by-line analysis of memory consumption for pyth

Fabian Pedregosa 80 Nov 18, 2022
Automatically monitor the evolving performance of Flask/Python web services.

Flask Monitoring Dashboard A dashboard for automatic monitoring of Flask web-services. Key Features • How to use • Live Demo • Feedback • Documentatio

663 Dec 29, 2022
Prometheus exporter for Flask applications

Prometheus Flask exporter This library provides HTTP request metrics to export into Prometheus. It can also track method invocations using convenient

Viktor Adam 535 Dec 23, 2022
Development tool to measure, monitor and analyze the memory behavior of Python objects in a running Python application.

README for pympler Before installing Pympler, try it with your Python version: python setup.py try If any errors are reported, check whether your Pyt

996 Jan 01, 2023
Real-time metrics for nginx server

ngxtop - real-time metrics for nginx server (and others) ngxtop parses your nginx access log and outputs useful, top-like, metrics of your nginx serve

Binh Le 6.4k Dec 22, 2022
Scalene: a high-performance, high-precision CPU and memory profiler for Python

scalene: a high-performance CPU and memory profiler for Python by Emery Berger 中文版本 (Chinese version) About Scalene % pip install -U scalene Scalen

Emery Berger 138 Dec 30, 2022
Cross-platform lib for process and system monitoring in Python

Home Install Documentation Download Forum Blog Funding What's new Summary psutil (process and system utilities) is a cross-platform library for retrie

Giampaolo Rodola 9k Jan 02, 2023
🚴 Call stack profiler for Python. Shows you why your code is slow!

pyinstrument Pyinstrument is a Python profiler. A profiler is a tool to help you 'optimize' your code - make it faster. It sounds obvious, but to get

Joe Rickerby 5k Jan 01, 2023
Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.

Glances - An eye on your system Summary Glances is a cross-platform monitoring tool which aims to present a large amount of monitoring information thr

Nicolas Hennion 22k Jan 04, 2023
ASGI middleware to record and emit timing metrics (to something like statsd)

timing-asgi This is a timing middleware for ASGI, useful for automatic instrumentation of ASGI endpoints. This was developed at GRID for use with our

Steinn Eldjárn Sigurðarson 99 Nov 21, 2022
Sampling profiler for Python programs

py-spy: Sampling profiler for Python programs py-spy is a sampling profiler for Python programs. It lets you visualize what your Python program is spe

Ben Frederickson 9.5k Jan 08, 2023
Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id.

starlette context Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automat

Tomasz Wójcik 300 Dec 26, 2022
Cobalt Strike random C2 Profile generator

Random C2 Profile Generator Cobalt Strike random C2 Profile generator Author: Joe Vest (@joevest) This project is designed to generate malleable c2 pr

Threat Express 482 Jan 08, 2023