提交 5b3b286a 编写于 作者: N Nicolargo

Update README file

上级 c207219a
...@@ -20,8 +20,6 @@ Follow Glances on Twitter: `@nicolargo`_ or `@glances_system`_ ...@@ -20,8 +20,6 @@ Follow Glances on Twitter: `@nicolargo`_ or `@glances_system`_
**Glances** is a cross-platform curses-based system monitoring tool **Glances** is a cross-platform curses-based system monitoring tool
written in Python. written in Python.
It uses the `psutil`_ library to get information from your system.
.. image:: https://raw.github.com/nicolargo/glances/master/docs/images/screenshot-wide.png .. image:: https://raw.github.com/nicolargo/glances/master/docs/images/screenshot-wide.png
Requirements Requirements
...@@ -46,6 +44,7 @@ Optional dependencies: ...@@ -46,6 +44,7 @@ Optional dependencies:
- ``pystache`` (for the action script feature) - ``pystache`` (for the action script feature)
- ``docker-py`` (for the Docker monitoring support) [Linux-only] - ``docker-py`` (for the Docker monitoring support) [Linux-only]
- ``matplotlib`` (for graphical/chart support) - ``matplotlib`` (for graphical/chart support)
- ``pika`` (for the RabbitMQ/ActiveMQ export module)
Installation Installation
============ ============
...@@ -79,7 +78,7 @@ To install, simply use ``pip``: ...@@ -79,7 +78,7 @@ To install, simply use ``pip``:
.. code-block:: console .. code-block:: console
pip install Glances pip install glances
*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.
...@@ -89,20 +88,20 @@ features: ...@@ -89,20 +88,20 @@ features:
.. code-block:: console .. code-block:: console
pip install bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb statsd pystache pip install bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb statsd pystache pika
To upgrade Glances to the latest version: To upgrade Glances to the latest version:
.. code-block:: console .. code-block:: console
pip install --upgrade Glances pip install --upgrade glances
If you need to install Glances in a specific user location, use: If you need to install Glances in a specific user location, use:
.. code-block:: console .. code-block:: console
export PYTHONUSERBASE=~/mylocalpath export PYTHONUSERBASE=~/mylocalpath
pip install --user Glances pip install --user glances
GNU/Linux GNU/Linux
--------- ---------
...@@ -110,11 +109,11 @@ GNU/Linux ...@@ -110,11 +109,11 @@ GNU/Linux
At the moment, packages exist for the following GNU/Linux distributions: At the moment, packages exist for the following GNU/Linux distributions:
- Arch Linux - Arch Linux
- Debian (Testing/Sid) - Debian
- Fedora/CentOS/RHEL - Fedora/CentOS/RHEL
- Gentoo - Gentoo
- Slackware (SlackBuild) - Slackware (SlackBuild)
- Ubuntu (13.04+) - Ubuntu
- Void Linux - Void Linux
So you should be able to install it using your favorite package manager. So you should be able to install it using your favorite package manager.
...@@ -146,7 +145,7 @@ Homebrew ...@@ -146,7 +145,7 @@ Homebrew
.. code-block:: console .. code-block:: console
$ brew install python $ brew install python
$ pip install Glances $ pip install glances
MacPorts MacPorts
```````` ````````
...@@ -159,9 +158,15 @@ Windows ...@@ -159,9 +158,15 @@ Windows
------- -------
- Install Python for Windows: http://www.python.org/getit/ - Install Python for Windows: http://www.python.org/getit/
- Install the psutil library: https://pypi.python.org/pypi?:action=display&name=psutil#downloads - Install the psutil library (latest binary version): https://pypi.python.org/pypi?:action=display&name=psutil#downloads
- Install the colorconsole library: https://pypi.python.org/pypi/colorconsole - Install the colorconsole library: https://pypi.python.org/pypi/colorconsole
- Install Glances: http://nicolargo.github.io/glances/ - Install Pip: http://pip.readthedocs.org/en/latest/installing.html
- Install optionnals dependencies (see list bellow)
- Install Glances using pip
.. code-block:: console
$ pip install glances
Source Source
------ ------
...@@ -233,7 +238,7 @@ If you have any question (after RTFM!), please post it on the official Q&A `foru ...@@ -233,7 +238,7 @@ If you have any question (after RTFM!), please post it on the official Q&A `foru
Gateway to other services Gateway to other services
========================= =========================
Glances can export stats to: ``CSV`` file, ``InfluxDB`` and ``StatsD`` server. Glances can export stats to: ``CSV`` file, ``InfluxDB``, ``StatsD`` and ``RabbitMQ`` server.
How to contribute ? How to contribute ?
=================== ===================
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册