summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Hennion <nicolashennion@gmail.com>2013-01-26 02:52:19 -0800
committerNicolas Hennion <nicolashennion@gmail.com>2013-01-26 02:52:19 -0800
commit60280b0274e4a87323d2d34542c321524f2220bc (patch)
tree2c0864b44635f0c51e4c0893b95fc776367ada01
parentb2a0f20caf95e23c97a9eea6c7c34625b0de638f (diff)
Create gh-pages branch via GitHub
-rw-r--r--index.html65
-rw-r--r--params.json2
2 files changed, 32 insertions, 35 deletions
diff --git a/index.html b/index.html
index 3c02205c..53467977 100644
--- a/index.html
+++ b/index.html
@@ -71,11 +71,13 @@
<p>Packages exist for Debian (SID), Arch, Fedora, Redhat, FreeBSD...</p>
+<p>Check if the version is the latest one.</p>
+
<h3>From PyPi (easy and cross platform way)</h3>
<p>PyPi is an official Python package manager.</p>
-<p>You first need to install pypi on your system. For example on Debian/Ubuntu:</p>
+<p>You first need to install PyPi on your system. For example on Debian/Ubuntu:</p>
<pre><code>$ sudo apt-get update
$ sudo apt-get install python-pip build-essential python-dev
@@ -86,29 +88,12 @@ $ sudo apt-get install python-pip build-essential python-dev
<pre><code>$ sudo pip install Glances
</code></pre>
-<p>Note: if you are behind an HTTP Proxy, you should use</p>
+<p>Note: if you are behind an HTTP Proxy, you should use instead:</p>
<pre><code>$ sudo pip install --proxy=user:password@url:port Glances
</code></pre>
-<h3>From PPA (easy way for Ubuntu/Mint...)</h3>
-
-<p>Arnaud Hartmann (thanks to him !) maintains a PPA with the latest Glances version:</p>
-
-<p>The PPA is available for Ubuntu version 9.10 to 12.04.</p>
-
-<p>To install the PPA just enter:</p>
-
-<pre><code>$ sudo add-apt-repository ppa:arnaud-hartmann/glances-stable
-$ sudo apt-get update
-</code></pre>
-
-<p>Then install Glances:</p>
-
-<pre><code>$ sudo apt-get install glances
-</code></pre>
-
-<h3>From <a href="http://mxcl.github.com/homebrew/">Homebrew</a> via PyPi (OS X)</h3>
+<h3>From <a href="http://mxcl.github.com/homebrew/">Homebrew</a> for Mac OS X</h3>
<pre><code>$ brew install brew-pip
$ export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages
@@ -118,11 +103,9 @@ $ brew pip Glances
<p>If you have the following error:</p>
<pre><code>Error: Failed executing: pip install glances==1.X --install-option=--prefix=/usr/local/XXX/glances/1.X (.rb:)
-This link will help resolve the above errors:
-https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
</code></pre>
-<p>Try to runs:</p>
+<p>then try to run:</p>
<pre><code>$ pip install glances==1.X --install-option=--prefix=/usr/local/XXX/glances/1.X
$ brew link Glances
@@ -139,7 +122,7 @@ $ brew link Glances
* Download the latest [Glances version](https://raw.github.com/nicolargo/glances/master/glances/glances.py)
</code></pre>
-<p>I need contributors to package Glances for Windows (for exemple using <a href="http://www.pyinstaller.org/">PyInstaller</a>).</p>
+<p>I am looking for a contributor to package Glances for Windows (for exemple using <a href="http://www.pyinstaller.org/">PyInstaller</a>).</p>
<h3>From source</h3>
@@ -159,6 +142,14 @@ $ cd nicolargo-glances-*
$ sudo python setup.py install
</code></pre>
+<h2>Configuration</h2>
+
+<p>No configuration is needed to use Glances.</p>
+
+<p>Furthermore, the release 1.6 introduces a configuration file to setup limits.</p>
+
+<p>The default configuration file is under the /etc/glances/glances.conf file.</p>
+
<h2>Running</h2>
<h3>In standalone mode</h3>
@@ -186,6 +177,16 @@ $ sudo python setup.py install
<p>Glances uses a <a href="http://docs.python.org/2/library/simplexmlrpcserver.html">XML/RPC</a> server and can be used by another client software.</p>
+<p>In server mode, you can set the bind address (-B ADDRESS) and listenning TCP port (-p PORT).</p>
+
+<p>In client mode, you can set the TCP port of the server (-p port).</p>
+
+<p>Default binding address is 0.0.0.0 (Glances will listen on all the networks interfaces) and TCP port is 61209.</p>
+
+<p>In client/server mode, limits are set by the server side. </p>
+
+<p>The version 1.6 introduces a optionnal password to access to the server (-P password).</p>
+
<h2>User guide</h2>
<p>By default, stats are refreshed every second, to change this setting, you can
@@ -204,10 +205,11 @@ use the -t option. For example to set the refresh rate to 5 seconds:</p>
</ul><p>When Glances is running, you can press:</p>
<ul>
-<li>'h' to display a help message with the keys you can press</li>
<li>
<p>'a' to set the automatic mode. The processes are sorted automatically</p>
+<p>IF CPU IoWait &gt; 60% sort by process "IO read and write"</p>
+
<p>If CPU &gt; 70%, sort by process "CPU consumption"</p>
<p>If MEM &gt; 70%, sort by process "memory size"</p>
@@ -217,6 +219,8 @@ use the -t option. For example to set the refresh rate to 5 seconds:</p>
<li><p>'d' disable or enable the disk IO stats</p></li>
<li><p>'e' enable the sensors module (PySensors library is needed; Linux-only)</p></li>
<li><p>'f' disable or enable the file system stats</p></li>
+<li><p>'h' to display a help message with the keys you can press and the limits</p></li>
+<li><p>'i' sort the processes list by IO rate (need root account on some OS)</p></li>
<li><p>'l' disable or enable the logs</p></li>
<li><p>'m' sort the processes list by process MEM</p></li>
<li><p>'n' disable or enable the network interfaces stats</p></li>
@@ -226,14 +230,7 @@ use the -t option. For example to set the refresh rate to 5 seconds:</p>
<li><p>'x' delete finished warning and critical logs messages</p></li>
<li><p>'1' switch between global CPU and per core stats</p></li>
<li><p>'q' Exit</p></li>
-</ul><p>In server mode, you can set the bind address (-B ADDRESS) and listenning TCP port (-p PORT).</p>
-
-<p>In client mode, you can set the TCP port of the server (-p port).</p>
-
-<p>Default binding address is 0.0.0.0 (Glancess will listen on all the networks interfaces).
- TCP port is 61209.</p>
-
-<h3>Header</h3>
+</ul><h3>Header</h3>
<p><img src="https://github.com/nicolargo/glances/raw/master/doc/header.png" alt="screenshot"></p>
@@ -405,7 +402,7 @@ T - Traced or stopped
Z - Zombie or "hung" process</p>
</li>
<li><p>TIME+: Cumulative CPU time used</p></li>
-<li><p>IO_R and IO_W: Per process IO read and write</p></li>
+<li><p>IO_R and IO_W: Per process IO read and write rate (in byte per second)</p></li>
<li><p>NAME: Process name or command line</p></li>
</ul><h3>Logs</h3>
diff --git a/params.json b/params.json
index d42dd1c5..cb89d197 100644
--- a/params.json
+++ b/params.json
@@ -1 +1 @@
-{"body":"[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/thing/484466/nicolargoglances-on-GitHub)\r\n\r\n=============================\r\nGlances -- Eye on your system\r\n=============================\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/glances-white-256.png)\r\n\r\n## Description\r\n\r\nGlances is a CLI curses based monitoring tool for GNU/Linux and BSD OS.\r\n\r\nGlances uses the PsUtil library to get information from your system.\r\n\r\nIt is developed in Python.\r\n\r\nConsole (80x24) screenshot:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/screenshot.png)\r\n\r\nWide terminal (> 90x24) screenshot:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/screenshot-wide.png)\r\n\r\n## Installation\r\n\r\nPre-requisites (information for packagers):\r\n\r\n* Python 2.6+ (not tested with Python 3+)\r\n* build-essential (for installation via Pypi and setup.py)\r\n* python-dev (for installation via Pypi)\r\n* python-setuptools (for the installation via setup.py)\r\n* python-psutil 0.4.1+ (replace the old libstatgrab's lib)\r\n* python-jinja2 2.0+ (optional for HTML export)\r\n* pysensors (Python library for sensors stats)\r\n\r\n### From package manager (very easy way)\r\n\r\nPackages exist for Debian (SID), Arch, Fedora, Redhat, FreeBSD...\r\n\r\n### From PyPi (easy and cross platform way)\r\n\r\nPyPi is an official Python package manager.\r\n\r\nYou first need to install pypi on your system. For example on Debian/Ubuntu:\r\n\r\n $ sudo apt-get update\r\n $ sudo apt-get install python-pip build-essential python-dev\r\n\r\nThen install the latest Glances version:\r\n\r\n $ sudo pip install Glances\r\n\r\nNote: if you are behind an HTTP Proxy, you should use\r\n\r\n $ sudo pip install --proxy=user:password@url:port Glances\r\n\r\n### From PPA (easy way for Ubuntu/Mint...)\r\n\r\nArnaud Hartmann (thanks to him !) maintains a PPA with the latest Glances version:\r\n\r\nThe PPA is available for Ubuntu version 9.10 to 12.04.\r\n\r\nTo install the PPA just enter:\r\n\r\n $ sudo add-apt-repository ppa:arnaud-hartmann/glances-stable\r\n $ sudo apt-get update\r\n\r\nThen install Glances:\r\n\r\n $ sudo apt-get install glances\r\n\r\n### From [Homebrew](http://mxcl.github.com/homebrew/) via PyPi (OS X)\r\n\r\n $ brew install brew-pip\r\n\t$ export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages\r\n\t$ brew pip Glances\r\n\r\nIf you have the following error:\r\n\r\n Error: Failed executing: pip install glances==1.X --install-option=--prefix=/usr/local/XXX/glances/1.X (.rb:)\r\n This link will help resolve the above errors:\r\n https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist\r\n\r\nTry to runs:\r\n\r\n $ pip install glances==1.X --install-option=--prefix=/usr/local/XXX/glances/1.X\r\n $ brew link Glances\r\n\r\n### Concerning Windows operating system\r\n\r\nWindows operating system only support the Glances in server mode. So if you ran Glances on Windows, it will be automaticaly running in server mode.\r\n\r\nTo install Glances on you system:\r\n\r\n * Install [Python for Windows](http://www.python.org/getit/)\r\n * Install the [PsUtil lib](https://code.google.com/p/psutil/downloads/list)\r\n * Download the latest [Glances version](https://raw.github.com/nicolargo/glances/master/glances/glances.py)\r\n\r\nI need contributors to package Glances for Windows (for exemple using [PyInstaller](http://www.pyinstaller.org/)).\r\n\r\n### From source\r\n\r\nGet the latest version (form GitHub):\r\n\r\n $ rm -rf /tmp/nicolargo-glances-*\r\n $ wget -O /tmp/glances-last.tgz https://github.com/nicolargo/glances/tarball/master\r\n\r\nGlances use a standard GNU style installer (for a Debian like system):\r\n\r\n $ sudo apt-get update\r\n $ sudo apt-get install python-setuptools build-essential python-dev\r\n $ cd /tmp\r\n\t$ tar zxvf glances-last.tgz\r\n\t$ cd nicolargo-glances-*\r\n\t$ sudo python setup.py install\r\n\r\n## Running\r\n\r\n### In standalone mode\r\n\r\nIf you want to monitor your local machine, just run:\r\n\r\n\t$ glances\r\n\r\n### In client/server mode\r\n\r\nIf you want to remotely monitor a machine (called server) from another one (called client).\r\n\r\nRun this command on the server:\r\n\r\n server$ glances -s\r\n\r\nand this one on the client:\r\n\r\n client$ glances -c @server\r\n\r\nwhere @server is the IP address or hostname of the server\r\n\r\nGlances uses a [XML/RPC](http://docs.python.org/2/library/simplexmlrpcserver.html) server and can be used by another client software.\r\n\r\n## User guide\r\n\r\nBy default, stats are refreshed every second, to change this setting, you can\r\nuse the -t option. For example to set the refresh rate to 5 seconds:\r\n\r\n\t$ glances -t 5\r\n\r\nImportants stats are colored:\r\n\r\n* GREEN: stat counter is \"OK\"\r\n* BLUE: stat counter is \"CAREFUL\"\r\n* MAGENTA: stat counter is \"WARNING\"\r\n* RED: stat counter is \"CRITICAL\"\r\n\r\nWhen Glances is running, you can press:\r\n\r\n* 'h' to display a help message with the keys you can press\r\n* 'a' to set the automatic mode. The processes are sorted automatically\r\n\r\n If CPU > 70%, sort by process \"CPU consumption\"\r\n\r\n If MEM > 70%, sort by process \"memory size\"\r\n\r\n* 'b' switch between bit/s or byte/s for network IO\r\n* 'c' sort the processes list by CPU consumption\r\n* 'd' disable or enable the disk IO stats\r\n* 'e' enable the sensors module (PySensors library is needed; Linux-only)\r\n* 'f' disable or enable the file system stats\r\n* 'l' disable or enable the logs\r\n* 'm' sort the processes list by process MEM\r\n* 'n' disable or enable the network interfaces stats\r\n* 'p' sort by process name\r\n* 's' disable or enable the sensor stats (only available with -e tag)\r\n* 'w' delete finished warning logs messages\r\n* 'x' delete finished warning and critical logs messages\r\n* '1' switch between global CPU and per core stats\r\n* 'q' Exit\r\n\r\nIn server mode, you can set the bind address (-B ADDRESS) and listenning TCP port (-p PORT).\r\n\r\nIn client mode, you can set the TCP port of the server (-p port).\r\n\r\nDefault binding address is 0.0.0.0 (Glancess will listen on all the networks interfaces).\r\n TCP port is 61209.\r\n\r\n### Header\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/header.png)\r\n\r\nThe header shows the host name and the operating system name, version and architecture.\r\n\r\n### CPU\r\n\r\nShort view:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/cpu.png)\r\n\r\nIf horizontal space is available, extended CPU infomations are displayed.\r\n\r\nExtended view (only available if your terminal is wide enough)\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/cpu-wide.png)\r\n\r\nIf user click on the '1' key, per CPU stats is displayed:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/percpu.png)\r\n\r\nThe CPU stats are shown as a percentage and for the configured refresh\r\ntime. The total CPU usage is displayed on the first line.\r\n\r\nColor code used:\r\n\r\nIf user|kernel|nice CPU is < 50%, then status is set to \"OK\".\r\n\r\nIf user|kernel|nice CPU is > 50%, then status is set to \"CAREFUL\".\r\n\r\nIf user|kernel|nice CPU is > 70%, then status is set to \"WARNING\".\r\n\r\nIf user|kernel|nice CPU is > 90%, then status is set to \"CRITICAL\".\r\n\r\n### Load\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/load.png)\r\n\r\nOn the Nosheep blog, Zach defines average load: \"In short it is the\r\naverage sum of the number of processes waiting in the run-queue plus the\r\nnumber currently executing over 1, 5, and 15 minute time periods.\"\r\n\r\nGlances gets the number of CPU cores to adapt the alerts. With Glances,\r\nalerts on average load are only set on 5 and 15 mins. The first line\r\nalso display the number of CPU core.\r\n\r\nIf average load is < O.7*Core, then status is set to \"OK\".\r\n\r\nIf average load is > O.7*Core, then status is set to \"CAREFUL\".\r\n\r\nIf average load is > 1*Core, then status is set to \"WARNING\".\r\n\r\nIf average load is > 5*Core, then status is set to \"CRITICAL\".\r\n\r\n### Memory\r\n\r\n\r\nGlances uses two columns: one for the RAM and another one for the SWAP.\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/mem.png)\r\n\r\nIf space is available, Glances displays extended informations:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/mem-wide.png)\r\n\r\nWith Glances, alerts are only set for on used swap and real memory.\r\n\r\nIf memory is < 50%, then status is set to \"OK\".\r\n\r\nIf memory is > 50%, then status is set to \"CAREFUL\".\r\n\r\nIf memory is > 70%, then status is set to \"WARNING\".\r\n\r\nIf memory is > 90%, then status is set to \"CRITICAL\".\r\n\r\n### Network bit rate\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/network.png)\r\n\r\nGlances display the network interface bit rate. The unit is adapted\r\ndynamicaly (bits per second, Kbits per second, Mbits per second...).\r\n\r\nAlerts are set only if the network interface maximum speed is available.\r\n\r\nIf bit rate is < 50%, then status is set to \"OK\".\r\n\r\nIf bit rate is > 50%, then status is set to \"CAREFUL\".\r\n\r\nIf bit rate is > 70%, then status is set to \"WARNING\".\r\n\r\nIf bit rate is > 90%, then status is set to \"CRITICAL\".\r\n\r\nFor example, on a 100 Mbps Ethernet interface, the warning status is set\r\nif the bit rate is higher than 70 Mbps.\r\n\r\n### Sensors (optional; only available on Linux)\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/sensors.png)\r\n\r\nOptionally, Glances displays the sensors informations (lm-sensors).\r\n\r\nA filter is processed in order to only display temperature.\r\n\r\nYou should enable this module using the following command line:\r\n\r\n glances -e\r\n\r\nThere is no alert on this information.\r\n\r\n### Disk I/O\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/diskio.png)\r\n\r\nGlances displays the disk I/O throughput. The unit is adapted dynamically\r\n(bytes per second, Kbytes per second, Mbytes per second...).\r\n\r\nThere is no alert on this information.\r\n\r\n### Filesystem\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/fs.png)\r\n\r\nGlances displays the total and used filesytem disk space. The unit is\r\nadapted dynamically (bytes per second, Kbytes per second, Mbytes per\r\nsecond...).\r\n\r\nAlerts are set for used disk space:\r\n\r\nIf disk used is < 50%, then status is set to \"OK\".\r\n\r\nIf disk used is > 50%, then status is set to \"CAREFUL\".\r\n\r\nIf disk used is > 70%, then status is set to \"WARNING\".\r\n\r\nIf disk used is > 90%, then status is set to \"CRITICAL\".\r\n\r\n### Processes\r\n\r\nShort view:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/processlist.png)\r\n\r\nLong view (only available if your terminal is wide enough)\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/processlist-wide.png)\r\n\r\nGlances displays a summary and a list of processes.\r\n\r\nBy default (or if you hit the 'a' key) the process list is automatically\r\nsorted by CPU of memory consumption.\r\n\r\nThe number of processes in the list is adapted to the screen size.\r\n\r\n* VIRT: Virtual memory size (in byte)\r\n* REST: Amount of resident memory (in byte)\r\n* CPU%: % of CPU used by the process\r\n* MEM%: % of MEM used by the process\r\n* PID: Process ID\r\n* USER: Process user ID\r\n* NI: Nice level of the process\r\n* S: Process status\r\n\r\n R - Running\r\n D - Sleeping (may not be interrupted)\r\n S - Sleeping (may be interrupted)\r\n T - Traced or stopped\r\n Z - Zombie or \"hung\" process\r\n\r\n* TIME+: Cumulative CPU time used\r\n* IO_R and IO_W: Per process IO read and write\r\n* NAME: Process name or command line\r\n\r\n### Logs\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/logs.png)\r\n\r\nA logs list is displayed in the bottom of the screen if (and only if):\r\n\r\n* at least one WARNING or CRITICAL alert was occured.\r\n* space is available in the bottom of the console/terminal\r\n\r\nThere is one line per alert with the following information:\r\n\r\n* start date\r\n* end date\r\n* alert name\r\n* (min/avg/max) values\r\n\r\n### Footer\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/footer.png)\r\n\r\nGlances displays the current time/date and access to the embedded help screen.\r\n\r\nIf you have ran Glances in client mode (-c), you can also see if the client is connected to the server.\r\n\r\nIf client is connected:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/client-connected.png)\r\n\r\nelse:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/client-disconnected.png)\r\n\r\nOn the left, you can easely seen if you are connected to a Glances server.\r\n\r\n## Localisation\r\n\r\nGlances localization files exist for:\r\n\r\n* English (default langage)\r\n* French\r\n* Italian\r\n* Spanish\r\n* Portugal\r\n\r\nFeel free to contribute !\r\n","tagline":"Glances an Eye on your system","note":"Don't delete this file! It's used internally to help with page regeneration.","name":"Glances","google":"UA–115490–11"} \ No newline at end of file
+{"body":"[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/thing/484466/nicolargoglances-on-GitHub)\r\n\r\n=============================\r\nGlances -- Eye on your system\r\n=============================\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/glances-white-256.png)\r\n\r\n## Description\r\n\r\nGlances is a CLI curses based monitoring tool for GNU/Linux and BSD OS.\r\n\r\nGlances uses the PsUtil library to get information from your system.\r\n\r\nIt is developed in Python.\r\n\r\nConsole (80x24) screenshot:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/screenshot.png)\r\n\r\nWide terminal (> 90x24) screenshot:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/screenshot-wide.png)\r\n\r\n## Installation\r\n\r\nPre-requisites (information for packagers):\r\n\r\n* Python 2.6+ (not tested with Python 3+)\r\n* build-essential (for installation via Pypi and setup.py)\r\n* python-dev (for installation via Pypi)\r\n* python-setuptools (for the installation via setup.py)\r\n* python-psutil 0.4.1+ (replace the old libstatgrab's lib)\r\n* python-jinja2 2.0+ (optional for HTML export)\r\n* pysensors (Python library for sensors stats)\r\n\r\n### From package manager (very easy way)\r\n\r\nPackages exist for Debian (SID), Arch, Fedora, Redhat, FreeBSD...\r\n\r\nCheck if the version is the latest one.\r\n\r\n### From PyPi (easy and cross platform way)\r\n\r\nPyPi is an official Python package manager.\r\n\r\nYou first need to install PyPi on your system. For example on Debian/Ubuntu:\r\n\r\n $ sudo apt-get update\r\n $ sudo apt-get install python-pip build-essential python-dev\r\n\r\nThen install the latest Glances version:\r\n\r\n $ sudo pip install Glances\r\n\r\nNote: if you are behind an HTTP Proxy, you should use instead:\r\n\r\n $ sudo pip install --proxy=user:password@url:port Glances\r\n\r\n### From [Homebrew](http://mxcl.github.com/homebrew/) for Mac OS X\r\n\r\n $ brew install brew-pip\r\n\t$ export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages\r\n\t$ brew pip Glances\r\n\r\nIf you have the following error:\r\n\r\n Error: Failed executing: pip install glances==1.X --install-option=--prefix=/usr/local/XXX/glances/1.X (.rb:)\r\n\r\nthen try to run:\r\n\r\n $ pip install glances==1.X --install-option=--prefix=/usr/local/XXX/glances/1.X\r\n $ brew link Glances\r\n\r\n### Concerning Windows operating system\r\n\r\nWindows operating system only support the Glances in server mode. So if you ran Glances on Windows, it will be automaticaly running in server mode.\r\n\r\nTo install Glances on you system:\r\n\r\n * Install [Python for Windows](http://www.python.org/getit/)\r\n * Install the [PsUtil lib](https://code.google.com/p/psutil/downloads/list)\r\n * Download the latest [Glances version](https://raw.github.com/nicolargo/glances/master/glances/glances.py)\r\n\r\nI am looking for a contributor to package Glances for Windows (for exemple using [PyInstaller](http://www.pyinstaller.org/)).\r\n\r\n### From source\r\n\r\nGet the latest version (form GitHub):\r\n\r\n $ rm -rf /tmp/nicolargo-glances-*\r\n $ wget -O /tmp/glances-last.tgz https://github.com/nicolargo/glances/tarball/master\r\n\r\nGlances use a standard GNU style installer (for a Debian like system):\r\n\r\n $ sudo apt-get update\r\n $ sudo apt-get install python-setuptools build-essential python-dev\r\n $ cd /tmp\r\n\t$ tar zxvf glances-last.tgz\r\n\t$ cd nicolargo-glances-*\r\n\t$ sudo python setup.py install\r\n\r\n## Configuration\r\n\r\nNo configuration is needed to use Glances.\r\n\r\nFurthermore, the release 1.6 introduces a configuration file to setup limits.\r\n\r\nThe default configuration file is under the /etc/glances/glances.conf file.\r\n\r\n## Running\r\n\r\n### In standalone mode\r\n\r\nIf you want to monitor your local machine, just run:\r\n\r\n\t$ glances\r\n\r\n### In client/server mode\r\n\r\nIf you want to remotely monitor a machine (called server) from another one (called client).\r\n\r\nRun this command on the server:\r\n\r\n server$ glances -s\r\n\r\nand this one on the client:\r\n\r\n client$ glances -c @server\r\n\r\nwhere @server is the IP address or hostname of the server\r\n\r\nGlances uses a [XML/RPC](http://docs.python.org/2/library/simplexmlrpcserver.html) server and can be used by another client software.\r\n\r\nIn server mode, you can set the bind address (-B ADDRESS) and listenning TCP port (-p PORT).\r\n\r\nIn client mode, you can set the TCP port of the server (-p port).\r\n\r\nDefault binding address is 0.0.0.0 (Glances will listen on all the networks interfaces) and TCP port is 61209.\r\n\r\nIn client/server mode, limits are set by the server side. \r\n\r\nThe version 1.6 introduces a optionnal password to access to the server (-P password).\r\n\r\n## User guide\r\n\r\nBy default, stats are refreshed every second, to change this setting, you can\r\nuse the -t option. For example to set the refresh rate to 5 seconds:\r\n\r\n\t$ glances -t 5\r\n\r\nImportants stats are colored:\r\n\r\n* GREEN: stat counter is \"OK\"\r\n* BLUE: stat counter is \"CAREFUL\"\r\n* MAGENTA: stat counter is \"WARNING\"\r\n* RED: stat counter is \"CRITICAL\"\r\n\r\nWhen Glances is running, you can press:\r\n\r\n* 'a' to set the automatic mode. The processes are sorted automatically\r\n\r\n IF CPU IoWait > 60% sort by process \"IO read and write\"\r\n\r\n If CPU > 70%, sort by process \"CPU consumption\"\r\n\r\n If MEM > 70%, sort by process \"memory size\"\r\n\r\n* 'b' switch between bit/s or byte/s for network IO\r\n* 'c' sort the processes list by CPU consumption\r\n* 'd' disable or enable the disk IO stats\r\n* 'e' enable the sensors module (PySensors library is needed; Linux-only)\r\n* 'f' disable or enable the file system stats\r\n* 'h' to display a help message with the keys you can press and the limits\r\n* 'i' sort the processes list by IO rate (need root account on some OS)\r\n* 'l' disable or enable the logs\r\n* 'm' sort the processes list by process MEM\r\n* 'n' disable or enable the network interfaces stats\r\n* 'p' sort by process name\r\n* 's' disable or enable the sensor stats (only available with -e tag)\r\n* 'w' delete finished warning logs messages\r\n* 'x' delete finished warning and critical logs messages\r\n* '1' switch between global CPU and per core stats\r\n* 'q' Exit\r\n\r\n### Header\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/header.png)\r\n\r\nThe header shows the host name and the operating system name, version and architecture.\r\n\r\n### CPU\r\n\r\nShort view:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/cpu.png)\r\n\r\nIf horizontal space is available, extended CPU infomations are displayed.\r\n\r\nExtended view (only available if your terminal is wide enough)\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/cpu-wide.png)\r\n\r\nIf user click on the '1' key, per CPU stats is displayed:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/percpu.png)\r\n\r\nThe CPU stats are shown as a percentage and for the configured refresh\r\ntime. The total CPU usage is displayed on the first line.\r\n\r\nColor code used:\r\n\r\nIf user|kernel|nice CPU is < 50%, then status is set to \"OK\".\r\n\r\nIf user|kernel|nice CPU is > 50%, then status is set to \"CAREFUL\".\r\n\r\nIf user|kernel|nice CPU is > 70%, then status is set to \"WARNING\".\r\n\r\nIf user|kernel|nice CPU is > 90%, then status is set to \"CRITICAL\".\r\n\r\n### Load\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/load.png)\r\n\r\nOn the Nosheep blog, Zach defines average load: \"In short it is the\r\naverage sum of the number of processes waiting in the run-queue plus the\r\nnumber currently executing over 1, 5, and 15 minute time periods.\"\r\n\r\nGlances gets the number of CPU cores to adapt the alerts. With Glances,\r\nalerts on average load are only set on 5 and 15 mins. The first line\r\nalso display the number of CPU core.\r\n\r\nIf average load is < O.7*Core, then status is set to \"OK\".\r\n\r\nIf average load is > O.7*Core, then status is set to \"CAREFUL\".\r\n\r\nIf average load is > 1*Core, then status is set to \"WARNING\".\r\n\r\nIf average load is > 5*Core, then status is set to \"CRITICAL\".\r\n\r\n### Memory\r\n\r\nGlances uses two columns: one for the RAM and another one for the SWAP.\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/mem.png)\r\n\r\nIf space is available, Glances displays extended informations:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/mem-wide.png)\r\n\r\nWith Glances, alerts are only set for on used swap and real memory.\r\n\r\nIf memory is < 50%, then status is set to \"OK\".\r\n\r\nIf memory is > 50%, then status is set to \"CAREFUL\".\r\n\r\nIf memory is > 70%, then status is set to \"WARNING\".\r\n\r\nIf memory is > 90%, then status is set to \"CRITICAL\".\r\n\r\n### Network bit rate\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/network.png)\r\n\r\nGlances display the network interface bit rate. The unit is adapted\r\ndynamicaly (bits per second, Kbits per second, Mbits per second...).\r\n\r\nAlerts are set only if the network interface maximum speed is available.\r\n\r\nIf bit rate is < 50%, then status is set to \"OK\".\r\n\r\nIf bit rate is > 50%, then status is set to \"CAREFUL\".\r\n\r\nIf bit rate is > 70%, then status is set to \"WARNING\".\r\n\r\nIf bit rate is > 90%, then status is set to \"CRITICAL\".\r\n\r\nFor example, on a 100 Mbps Ethernet interface, the warning status is set\r\nif the bit rate is higher than 70 Mbps.\r\n\r\n### Sensors (optional; only available on Linux)\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/sensors.png)\r\n\r\nOptionally, Glances displays the sensors informations (lm-sensors).\r\n\r\nA filter is processed in order to only display temperature.\r\n\r\nYou should enable this module using the following command line:\r\n\r\n glances -e\r\n\r\nThere is no alert on this information.\r\n\r\n### Disk I/O\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/diskio.png)\r\n\r\nGlances displays the disk I/O throughput. The unit is adapted dynamically\r\n(bytes per second, Kbytes per second, Mbytes per second...).\r\n\r\nThere is no alert on this information.\r\n\r\n### Filesystem\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/fs.png)\r\n\r\nGlances displays the total and used filesytem disk space. The unit is\r\nadapted dynamically (bytes per second, Kbytes per second, Mbytes per\r\nsecond...).\r\n\r\nAlerts are set for used disk space:\r\n\r\nIf disk used is < 50%, then status is set to \"OK\".\r\n\r\nIf disk used is > 50%, then status is set to \"CAREFUL\".\r\n\r\nIf disk used is > 70%, then status is set to \"WARNING\".\r\n\r\nIf disk used is > 90%, then status is set to \"CRITICAL\".\r\n\r\n### Processes\r\n\r\nShort view:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/processlist.png)\r\n\r\nLong view (only available if your terminal is wide enough)\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/processlist-wide.png)\r\n\r\nGlances displays a summary and a list of processes.\r\n\r\nBy default (or if you hit the 'a' key) the process list is automatically\r\nsorted by CPU of memory consumption.\r\n\r\nThe number of processes in the list is adapted to the screen size.\r\n\r\n* VIRT: Virtual memory size (in byte)\r\n* REST: Amount of resident memory (in byte)\r\n* CPU%: % of CPU used by the process\r\n* MEM%: % of MEM used by the process\r\n* PID: Process ID\r\n* USER: Process user ID\r\n* NI: Nice level of the process\r\n* S: Process status\r\n\r\n R - Running\r\n D - Sleeping (may not be interrupted)\r\n S - Sleeping (may be interrupted)\r\n T - Traced or stopped\r\n Z - Zombie or \"hung\" process\r\n\r\n* TIME+: Cumulative CPU time used\r\n* IO_R and IO_W: Per process IO read and write rate (in byte per second)\r\n* NAME: Process name or command line\r\n\r\n### Logs\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/logs.png)\r\n\r\nA logs list is displayed in the bottom of the screen if (and only if):\r\n\r\n* at least one WARNING or CRITICAL alert was occured.\r\n* space is available in the bottom of the console/terminal\r\n\r\nThere is one line per alert with the following information:\r\n\r\n* start date\r\n* end date\r\n* alert name\r\n* (min/avg/max) values\r\n\r\n### Footer\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/footer.png)\r\n\r\nGlances displays the current time/date and access to the embedded help screen.\r\n\r\nIf you have ran Glances in client mode (-c), you can also see if the client is connected to the server.\r\n\r\nIf client is connected:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/client-connected.png)\r\n\r\nelse:\r\n\r\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/client-disconnected.png)\r\n\r\nOn the left, you can easely seen if you are connected to a Glances server.\r\n\r\n## Localisation\r\n\r\nGlances localization files exist for:\r\n\r\n* English (default langage)\r\n* French\r\n* Italian\r\n* Spanish\r\n* Portugal\r\n\r\nFeel free to contribute !\r\n","tagline":"Glances an Eye on your system","name":"Glances","google":"UA–115490–11","note":"Don't delete this file! It's used internally to help with page regeneration."} \ No newline at end of file