summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--images/body-bg.jpgbin3188 -> 0 bytes
-rw-r--r--images/body-bg.pngbin0 -> 8859 bytes
-rw-r--r--images/download-button.pngbin31731 -> 0 bytes
-rw-r--r--images/github-button.pngbin3219 -> 0 bytes
-rw-r--r--images/header-bg.jpgbin10442 -> 0 bytes
-rw-r--r--images/hr.pngbin0 -> 1037 bytes
-rw-r--r--images/octocat-icon.pngbin0 -> 1651 bytes
-rw-r--r--images/sidebar-bg.jpgbin3200 -> 0 bytes
-rw-r--r--images/tar-gz-icon.pngbin0 -> 1671 bytes
-rw-r--r--images/zip-icon.pngbin0 -> 1661 bytes
-rw-r--r--index.html130
-rw-r--r--params.json2
-rw-r--r--stylesheets/stylesheet.css352
13 files changed, 173 insertions, 311 deletions
diff --git a/images/body-bg.jpg b/images/body-bg.jpg
deleted file mode 100644
index 0e0f861b..00000000
--- a/images/body-bg.jpg
+++ /dev/null
Binary files differ
diff --git a/images/body-bg.png b/images/body-bg.png
new file mode 100644
index 00000000..d0618fe7
--- /dev/null
+++ b/images/body-bg.png
Binary files differ
diff --git a/images/download-button.png b/images/download-button.png
deleted file mode 100644
index df3f09a6..00000000
--- a/images/download-button.png
+++ /dev/null
Binary files differ
diff --git a/images/github-button.png b/images/github-button.png
deleted file mode 100644
index efe07f9a..00000000
--- a/images/github-button.png
+++ /dev/null
Binary files differ
diff --git a/images/header-bg.jpg b/images/header-bg.jpg
deleted file mode 100644
index 960bff75..00000000
--- a/images/header-bg.jpg
+++ /dev/null
Binary files differ
diff --git a/images/hr.png b/images/hr.png
new file mode 100644
index 00000000..6c723a56
--- /dev/null
+++ b/images/hr.png
Binary files differ
diff --git a/images/octocat-icon.png b/images/octocat-icon.png
new file mode 100644
index 00000000..f0ba137d
--- /dev/null
+++ b/images/octocat-icon.png
Binary files differ
diff --git a/images/sidebar-bg.jpg b/images/sidebar-bg.jpg
deleted file mode 100644
index 42890fe7..00000000
--- a/images/sidebar-bg.jpg
+++ /dev/null
Binary files differ
diff --git a/images/tar-gz-icon.png b/images/tar-gz-icon.png
new file mode 100644
index 00000000..d50f34f6
--- /dev/null
+++ b/images/tar-gz-icon.png
Binary files differ
diff --git a/images/zip-icon.png b/images/zip-icon.png
new file mode 100644
index 00000000..162c425b
--- /dev/null
+++ b/images/zip-icon.png
Binary files differ
diff --git a/index.html b/index.html
index e33c7905..84278c0c 100644
--- a/index.html
+++ b/index.html
@@ -3,33 +3,38 @@
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link href='https://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'>
+ <link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
-
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
-
<title>Glances by nicolargo</title>
</head>
<body>
- <header>
+ <div id="container">
<div class="inner">
- <h1>Glances</h1>
- <h2>Glances an Eye on your system</h2>
- <a href="https://github.com/nicolargo/glances" class="button"><small>View project on</small>GitHub</a>
- </div>
- </header>
- <div id="content-wrapper">
- <div class="inner clearfix">
- <section id="main-content">
+ <header>
+ <h1>Glances</h1>
+ <h2>Glances an Eye on your system</h2>
+ </header>
+
+ <section id="downloads" class="clearfix">
+ <a href="https://github.com/nicolargo/glances/zipball/master" id="download-zip" class="button"><span>Download .zip</span></a>
+ <a href="https://github.com/nicolargo/glances/tarball/master" id="download-tar-gz" class="button"><span>Download .tar.gz</span></a>
+ <a href="https://github.com/nicolargo/glances" id="view-on-github" class="button"><span>View on GitHub</span></a>
+ </section>
+
+ <hr>
+
+ <section id="main_content">
<p><a href="https://flattr.com/thing/484466/nicolargoglances-on-GitHub"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this git repo"></a></p>
+<h1></h1>
+
<h1>Glances -- Eye on your system</h1>
<h2>Description</h2>
@@ -50,38 +55,26 @@
<h2>Installation</h2>
-<h3>From packets manager (clean and easy way)</h3>
+<p>Pre-requisites (information for packagers):</p>
<ul>
-<li>ArchLinux: <a href="http://aur.archlinux.org/packages.php?ID=54666">In the AUR repository</a></li>
-<li>CentOS: <a href="https://github.com/nicolargo/glances/wiki/Install:-On-CentOS-6.x-with-EPEL-repository">Using EPEL and Pip</a></li>
-<li><a href="http://packages.qa.debian.org/g/glances.html">Debian Sid</a></li>
-<li><a href="https://apps.fedoraproject.org/packages/glances">Fedora</a></li>
-<li><a href="http://www.freebsd.org/cgi/query-pr.cgi?pr=171517">FreeBSD</a></li>
-<li><a href="http://packages.gentoo.org/package/sys-process/glances">Gentoo</a></li>
-<li><a href="http://rpm.pbone.net/">Redhat</a></li>
-<li><a href="https://launchpad.net/~arnaud-hartmann/+archive/glances-stable">Ubuntu (see instructions bellow)</a></li>
-</ul>
-
-<p>Note: Packets are maintained by contibutors. It's not sure to have the latest Glances version.</p>
+<li>Python 2.6+ (not tested with Python 3+)</li>
+<li>build-essential (for installation via Pypi and setup.py)</li>
+<li>python-dev (for installation via Pypi)</li>
+<li>python-setuptools (for the installation via setup.py)</li>
+<li>python-psutil 0.4.1+ (replace the old libstatgrab's lib)</li>
+<li>python-jinja2 2.0+ (optional for HTML export)</li>
+</ul><h3>From package manager (very easy way)</h3>
+
+<p>Packages exist for Arch, Fedora, Redhat, FreeBSD...</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.</p>
-
-<p>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
-</code></pre>
-
-<p>or for CentOS/Fedora/RH:</p>
-
-<pre><code>
-$ sudo rpm -ivh http://fr2.rpmfind.net/linux/epel/6/x86_64/epel-release-6-7.noarch.rpm
-$ sudo yum install python-pip python-dev
+<pre><code>$ sudo apt-get install python-pip build-essential python-dev
</code></pre>
<p>Then install the latest Glances version:</p>
@@ -94,11 +87,6 @@ $ sudo yum install python-pip python-dev
<pre><code>$ sudo pip install --proxy=user:password@url:port glances
</code></pre>
-<p>If you want to upgrade Glances to the latest version:</p>
-
-<pre><code>$ sudo pip install --upgrade 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>
@@ -116,10 +104,6 @@ $ sudo apt-get update
<pre><code>$ sudo apt-get install glances
</code></pre>
-<h3>From our Puppet Master</h3>
-
-<p>Remi Verchere has created <a href="https://github.com/rverchere/puppet-glances">a Glances module for Puppet</href>.</p>
-
<h3>From <a href="http://mxcl.github.com/homebrew/">Homebrew</a> via PyPi (OS X)</h3>
<pre><code>$ brew install brew-pip
@@ -131,31 +115,19 @@ $ brew pip Glances
<p>Get the latest version:</p>
-<pre><code>$ rm -rf /tmp/nicolargo-glances-*
+<pre><code>$ rm -rf /tm/nicolargo-glances-*
$ wget -O /tmp/glances-last.tgz https://github.com/nicolargo/glances/tarball/master
</code></pre>
<p>Glances use a standard GNU style installer (for a Debian like system):</p>
-<pre><code>$ sudo apt-get update
-$ sudo apt-get install python-setuptools build-essential python-dev
+<pre><code>$ sudo apt-get install python-setuptools build-essential python-dev
$ cd /tmp
$ tar zxvf glances-last.tgz
$ cd nicolargo-glances-*
$ sudo python setup.py install
</code></pre>
-<p>Pre-requisites (information for packagers):</p>
-
-<ul>
-<li>Python 2.6+ (not tested with Python 3+)</li>
-<li>build-essential (for installation via Pypi and setup.py)</li>
-<li>python-dev (for installation via Pypi)</li>
-<li>python-setuptools (for the installation via setup.py)</li>
-<li>python-psutil 0.4.1+ (replace the old libstatgrab's lib)</li>
-<li>python-jinja2 2.0+ (optional for HTML export)</li>
-</ul>
-
<h2>Running</h2>
<p>Easy way (that's all folks !):</p>
@@ -209,7 +181,11 @@ use the -t option. For example to set the refresh rate to 5 seconds:</p>
<p><img src="https://github.com/nicolargo/glances/raw/master/doc/cpu.png" alt="screenshot"></p>
-<p>Long view (only available if your terminal is wide enough). The CPU stats are shown as a percentage and for the configured refresh
+<p>Long view (only available if your terminal is wide enough)</p>
+
+<p><img src="https://github.com/nicolargo/glances/raw/master/doc/cpu-wide.png" alt="screenshot"></p>
+
+<p>The CPU stats are shown as a percentage and for the configured refresh
time. The total CPU usage is displayed on the first line.</p>
<p><img src="https://github.com/nicolargo/glances/raw/master/doc/percpu.png" alt="screenshot"></p>
@@ -372,29 +348,21 @@ Z - Zombie or "hung" process</p>
<p>Glances displays the current time/date and access to the embedded help screen.</p>
-<center>
- <p><img src="https://github.com/nicolargo/glances/raw/master/doc/glances-white-256.png" alt="screenshot"></p>
-</center>
- </section>
+<h2>Localisation</h2>
- <aside id="sidebar">
- <a href="https://github.com/nicolargo/glances/zipball/master" class="button">
- <small>Download</small>
- .zip file
- </a>
- <a href="https://github.com/nicolargo/glances/tarball/master" class="button">
- <small>Download</small>
- .tar.gz file
- </a>
+<p>To generate french locale execute as root or sudo :
+i18n_francais_generate.sh</p>
- <p class="repo-owner"><a href="https://github.com/nicolargo/glances"></a> is maintained by <a href="https://github.com/nicolargo">nicolargo</a>.</p>
+<p>To generate spanish locale execute as root or sudo :
+i18n_espanol_generate.sh</p>
+ </section>
- <p>This page was generated by <a href="pages.github.com">GitHub Pages</a> using the Architect theme by <a href="http://twitter.com/jasonlong">Jason Long</a>.</p>
- </aside>
- </div>
- </div>
+ <footer>
+ Glances is maintained by <a href="https://github.com/nicolargo">nicolargo</a><br>
+ This page was generated by <a href="http://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="http://twitter.com/jasonlong">Jason Long</a>.
+ </footer>
- <script type="text/javascript">
+ <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
@@ -405,5 +373,7 @@ Z - Zombie or "hung" process</p>
} catch(err) {}
</script>
+ </div>
+ </div>
</body>
</html> \ No newline at end of file
diff --git a/params.json b/params.json
index f082c54c..0fea1dfd 100644
--- a/params.json
+++ b/params.json
@@ -1 +1 @@
-{"name":"Glances","tagline":"Glances an Eye on your system","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## 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\r\n### From package manager (very easy way)\r\n\r\nPackages exist for 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 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\n### From source\r\n\r\nGet the latest version:\r\n\r\n\t$ rm -rf /tm/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 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\nEasy way (that's all folks !):\r\n\r\n\t$ glances\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* 'c' to sort the processes list by CPU consumption\r\n* 'd' Disable or enable the disk IO stats\r\n* 'f' Disable or enable the file system stats\r\n* 'l' Disable or enable the logs\r\n* 'm' to sort the processes list by process MEM\r\n* 'n' Disable or enable the network interfaces stats\r\n* 'p' to sort by process name\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\nLong 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\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\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/percpu.png)\r\n\r\nIf horizontal space is available, per core CPU infomations are displayed. \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![screenshot](https://github.com/nicolargo/glances/raw/master/doc/mem.png)\r\n\r\nGlances uses three columns: memory (RAM), \"real\" and swap.\r\n\r\nReal used memory is: used - cache.\r\n\r\nReal free memory is: free + cache.\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### 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* IO READ and WRITE: Per process IO read and write\r\n* TIME+: Cumulative CPU time used\r\n* NAME: Process name or command line\r\n\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\n## Localisation\r\n\r\nTo generate french locale execute as root or sudo :\r\ni18n_francais_generate.sh\r\n\r\nTo generate spanish locale execute as root or sudo :\r\ni18n_espanol_generate.sh\r\n","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
+{"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## 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\r\n### From package manager (very easy way)\r\n\r\nPackages exist for 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 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\n### From source\r\n\r\nGet the latest version:\r\n\r\n\t$ rm -rf /tm/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 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\nEasy way (that's all folks !):\r\n\r\n\t$ glances\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* 'c' to sort the processes list by CPU consumption\r\n* 'd' Disable or enable the disk IO stats\r\n* 'f' Disable or enable the file system stats\r\n* 'l' Disable or enable the logs\r\n* 'm' to sort the processes list by process MEM\r\n* 'n' Disable or enable the network interfaces stats\r\n* 'p' to sort by process name\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\nLong 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\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\n![screenshot](https://github.com/nicolargo/glances/raw/master/doc/percpu.png)\r\n\r\nIf horizontal space is available, per core CPU infomations are displayed. \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![screenshot](https://github.com/nicolargo/glances/raw/master/doc/mem.png)\r\n\r\nGlances uses three columns: memory (RAM), \"real\" and swap.\r\n\r\nReal used memory is: used - cache.\r\n\r\nReal free memory is: free + cache.\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### 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* IO READ and WRITE: Per process IO read and write\r\n* TIME+: Cumulative CPU time used\r\n* NAME: Process name or command line\r\n\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\n## Localisation\r\n\r\nTo generate french locale execute as root or sudo :\r\ni18n_francais_generate.sh\r\n\r\nTo generate spanish locale execute as root or sudo :\r\ni18n_espanol_generate.sh\r\n","tagline":"Glances an Eye on your system","note":"Don't delete this file! It's used internally to help with page regeneration.","google":"UA–115490–11","name":"Glances"} \ No newline at end of file
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
index 7e3b8f0e..020ad6dc 100644
--- a/stylesheets/stylesheet.css
+++ b/stylesheets/stylesheet.css
@@ -48,138 +48,146 @@ table {
/* LAYOUT STYLES */
body {
- font-size: 15px;
+ font-size: 1em;
line-height: 1.5;
- background: #fafafa url(../images/body-bg.jpg) 0 0 repeat;
+ background: #e7e7e7 url(../images/body-bg.png) 0 0 repeat;
font-family: 'Helvetica Neue', Helvetica, Arial, serif;
- font-weight: 400;
- color: #666;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
+ color: #6d6d6d;
}
a {
- color: #2879d0;
+ color: #d5000d;
}
a:hover {
- color: #2268b2;
+ color: #c5000c;
}
header {
- padding-top: 40px;
- padding-bottom: 40px;
- font-family: 'Architects Daughter', 'Helvetica Neue', Helvetica, Arial, serif;
- background: #2e7bcf url(../images/header-bg.jpg) 0 0 repeat-x;
- border-bottom: solid 1px #275da1;
+ padding-top: 35px;
+ padding-bottom: 25px;
}
header h1 {
+ font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif; font-weight: 900;
letter-spacing: -1px;
- font-size: 72px;
- color: #fff;
- line-height: 1;
- margin-bottom: 0.2em;
- width: 540px;
+ font-size: 48px;
+ color: #303030;
+ line-height: 1.2;
}
header h2 {
- font-size: 26px;
- color: #9ddcff;
+ letter-spacing: -1px;
+ font-size: 24px;
+ color: #aaa;
font-weight: normal;
line-height: 1.3;
- width: 540px;
- letter-spacing: 0;
-}
-
-.inner {
- position: relative;
- width: 940px;
- margin: 0 auto;
}
-#content-wrapper {
- border-top: solid 1px #fff;
- padding-top: 30px;
+#container {
+ background: transparent url(../images/highlight-bg.jpg) 50% 0 no-repeat;
+ min-height: 595px;
}
-#main-content {
- width: 690px;
- float: left;
+.inner {
+ width: 620px;
+ margin: 0 auto;
}
-#main-content img {
+#container .inner img {
max-width: 100%;
}
-aside#sidebar {
- width: 200px;
- padding-left: 20px;
- min-height: 504px;
- float: right;
- background: transparent url(../images/sidebar-bg.jpg) 0 0 no-repeat;
- font-size: 12px;
- line-height: 1.3;
-}
-
-aside#sidebar p.repo-owner,
-aside#sidebar p.repo-owner a {
- font-weight: bold;
-}
-
#downloads {
margin-bottom: 40px;
}
a.button {
- width: 134px;
- height: 58px;
- line-height: 1.2;
- font-size: 23px;
- color: #fff;
- padding-left: 68px;
- padding-top: 22px;
- font-family: 'Architects Daughter', 'Helvetica Neue', Helvetica, Arial, serif;
-}
-a.button small {
+ -moz-border-radius: 30px;
+ -webkit-border-radius: 30px;
+ border-radius: 30px;
+ border-top: solid 1px #cbcbcb;
+ border-left: solid 1px #b7b7b7;
+ border-right: solid 1px #b7b7b7;
+ border-bottom: solid 1px #b3b3b3;
+ color: #303030;
+ line-height: 25px;
+ font-weight: bold;
+ font-size: 15px;
+ padding: 12px 8px 12px 8px;
+ display: block;
+ float: left;
+ width: 179px;
+ margin-right: 14px;
+ background: #fdfdfd; /* Old browsers */
+ background: -moz-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f2f2f2)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* IE10+ */
+ background: linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* W3C */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
+ -webkit-box-shadow: 10px 10px 5px #888;
+ -moz-box-shadow: 10px 10px 5px #888;
+ box-shadow: 0px 1px 5px #e8e8e8;
+}
+a.button:hover {
+ border-top: solid 1px #b7b7b7;
+ border-left: solid 1px #b3b3b3;
+ border-right: solid 1px #b3b3b3;
+ border-bottom: solid 1px #b3b3b3;
+ background: #fafafa; /* Old browsers */
+ background: -moz-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f6f6f6)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* IE10+ */
+ background: linear-gradient(top, #fdfdfd 0%,#f6f6f6, 100%); /* W3C */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
+}
+
+a.button span {
+ padding-left: 50px;
display: block;
- font-size: 11px;
+ height: 23px;
+}
+
+#download-zip span {
+ background: transparent url(../images/zip-icon.png) 12px 50% no-repeat;
}
-header a.button {
- position: absolute;
- right: 0;
- top: 0;
- background: transparent url(../images/github-button.png) 0 0 no-repeat;
+#download-tar-gz span {
+ background: transparent url(../images/tar-gz-icon.png) 12px 50% no-repeat;
}
-aside a.button {
- width: 138px;
- padding-left: 64px;
- display: block;
- background: transparent url(../images/download-button.png) 0 0 no-repeat;
- margin-bottom: 20px;
- font-size: 21px;
+#view-on-github span {
+ background: transparent url(../images/octocat-icon.png) 12px 50% no-repeat;
+}
+#view-on-github {
+ margin-right: 0;
}
code, pre {
- font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
+ font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal;
color: #222;
margin-bottom: 30px;
- font-size: 13px;
+ font-size: 14px;
}
code {
- background-color: #f2f8fc;
- border: solid 1px #dbe7f3;
+ background-color: #f2f2f2;
+ border: solid 1px #ddd;
padding: 0 3px;
}
pre {
padding: 20px;
- background: #fff;
+ background: #303030;
+ color: #f2f2f2;
text-shadow: none;
overflow: auto;
- border: solid 1px #f2f2f2;
}
pre code {
- color: #2879d0;
- background-color: #fff;
+ color: #f2f2f2;
+ background-color: #303030;
border: none;
padding: 0;
}
@@ -197,7 +205,15 @@ hr {
margin-top: 1em;
padding-bottom: 1em;
border: none;
- background: transparent url('../images/hr.png') 0 0 no-repeat;
+ background: transparent url('../images/hr.png') 50% 0 no-repeat;
+}
+
+strong {
+ font-weight: bold;
+}
+
+em {
+ font-style: italic;
}
table {
@@ -224,89 +240,42 @@ form {
/* GENERAL ELEMENT TYPE STYLES */
-#main-content h1 {
- font-family: 'Architects Daughter', 'Helvetica Neue', Helvetica, Arial, serif;
- font-size: 2.8em;
- letter-spacing: -1px;
- color: #474747;
+h1 {
+ font-size: 32px;
}
-#main-content h1:before {
- content: "/";
- color: #9ddcff;
- padding-right: 0.3em;
- margin-left: -0.9em;
-}
-
-