Glances is written in Python and uses libraries to grab information from your
Glances is written in Python and uses libraries to grab information from
system. It is based on an open architecture where developers can add news
your system. It is based on an open architecture where developers can
plugins or exports modules.
add new plugins or exports modules.
Requirements
Requirements
============
============
- ``python 2.7,>=3.3`` (tested with version 2.7, 3.3, 3.4, 3.5)
- ``python 2.7,>=3.3``
- ``psutil>=2.0.0`` (better with latest version)
- ``psutil>=2.0.0`` (better with latest version)
- ``setuptools``
Optional dependencies:
Optional dependencies:
...
@@ -127,7 +126,7 @@ To install, simply use ``pip``:
...
@@ -127,7 +126,7 @@ To install, simply use ``pip``:
*Note*: Python headers are required to install `psutil`_. For example,
*Note*: Python headers are required to install `psutil`_. For example,
on Debian/Ubuntu you need to install first the *python-dev* package.
on Debian/Ubuntu you need to install first the *python-dev* package.
For Fedora/CentOS/RHEL install first *python-devel* package. For Windows,
For Fedora/CentOS/RHEL install first *python-devel* package. For Windows,
just install PsUtil from the binary installation file.
just install psutil from the binary installation file.
You can also install the following libraries in order to use optional
You can also install the following libraries in order to use optional
features (like the Web interface, exports modules, sensors...):
features (like the Web interface, exports modules, sensors...):
...
@@ -157,7 +156,9 @@ If you need to install Glances in a specific user location, use:
...
@@ -157,7 +156,9 @@ If you need to install Glances in a specific user location, use:
Docker: the funny way
Docker: the funny way
---------------------
---------------------
A Glances container is available. It will include the latest development HEAD version. You can use it to monitor your server and all your others containers !
A Glances container is available. It will include the latest development
HEAD version. You can use it to monitor your server and all your others
containers !
Get the Glances container:
Get the Glances container:
...
@@ -171,8 +172,8 @@ Run the container in *console mode*:
...
@@ -171,8 +172,8 @@ Run the container in *console mode*:
docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it docker.io/nicolargo/glances
docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it docker.io/nicolargo/glances
Additionally, If you want to use your own glances.conf file, you can create your
Additionally, if you want to use your own glances.conf file, you can