2012-09-04 16:27:37 +04:00
|
|
|
[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/thing/484466/nicolargoglances-on-GitHub)
|
2012-01-20 18:36:03 +04:00
|
|
|
|
|
|
|
=============================
|
2011-12-05 16:24:49 +04:00
|
|
|
Glances -- Eye on your system
|
|
|
|
=============================
|
|
|
|
|
2012-09-07 15:33:19 +04:00
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/glances-white-256.png)
|
2012-09-07 15:32:13 +04:00
|
|
|
|
2011-12-05 16:24:49 +04:00
|
|
|
## Description
|
|
|
|
|
2012-02-14 14:58:04 +04:00
|
|
|
Glances is a CLI curses based monitoring tool for GNU/Linux and BSD OS.
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2012-02-14 14:58:04 +04:00
|
|
|
Glances uses the PsUtil library to get information from your system.
|
2012-02-21 20:23:41 +04:00
|
|
|
|
2012-02-14 14:58:04 +04:00
|
|
|
It is developed in Python.
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Console (80x24) screenshot:
|
|
|
|
|
2011-12-05 16:24:49 +04:00
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/screenshot.png)
|
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Wide terminal (> 90x24) screenshot:
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/screenshot-wide.png)
|
|
|
|
|
2011-12-05 16:24:49 +04:00
|
|
|
## Installation
|
|
|
|
|
2012-07-09 17:17:45 +04:00
|
|
|
Pre-requisites (information for packagers):
|
|
|
|
|
|
|
|
* Python 2.6+ (not tested with Python 3+)
|
2012-09-05 00:58:58 +04:00
|
|
|
* build-essential (for installation via Pypi and setup.py)
|
2012-07-11 15:41:04 +04:00
|
|
|
* python-dev (for installation via Pypi)
|
|
|
|
* python-setuptools (for the installation via setup.py)
|
2012-07-09 17:17:45 +04:00
|
|
|
* python-psutil 0.4.1+ (replace the old libstatgrab's lib)
|
|
|
|
* python-jinja2 2.0+ (optional for HTML export)
|
2012-12-14 05:00:00 +04:00
|
|
|
* pysensors (Python library for sensors stats)
|
2012-07-09 17:17:45 +04:00
|
|
|
|
2012-02-14 14:58:04 +04:00
|
|
|
### From package manager (very easy way)
|
2011-12-18 20:34:22 +04:00
|
|
|
|
2012-11-02 16:15:39 +04:00
|
|
|
Packages exist for Debian (SID), Arch, Fedora, Redhat, FreeBSD...
|
2012-03-13 17:23:00 +04:00
|
|
|
|
2012-12-30 17:20:45 +04:00
|
|
|
Check if the version is the latest one.
|
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
### From PyPi (easy and cross platform way)
|
2012-03-13 17:23:00 +04:00
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
PyPi is an official Python package manager.
|
2012-03-13 17:23:00 +04:00
|
|
|
|
2013-01-19 14:30:38 +04:00
|
|
|
You first need to install PyPi on your system. For example on Debian/Ubuntu:
|
2012-09-04 16:27:37 +04:00
|
|
|
|
2012-09-14 18:28:18 +04:00
|
|
|
$ sudo apt-get update
|
2012-09-06 12:33:27 +04:00
|
|
|
$ sudo apt-get install python-pip build-essential python-dev
|
2012-03-13 17:23:00 +04:00
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Then install the latest Glances version:
|
2012-03-13 17:23:00 +04:00
|
|
|
|
2012-09-12 15:54:57 +04:00
|
|
|
$ sudo pip install Glances
|
2012-12-14 05:00:00 +04:00
|
|
|
|
2013-01-19 14:30:38 +04:00
|
|
|
Note: if you are behind an HTTP Proxy, you should use instead:
|
2012-03-13 17:23:00 +04:00
|
|
|
|
2012-09-12 15:54:57 +04:00
|
|
|
$ sudo pip install --proxy=user:password@url:port Glances
|
2012-02-14 14:58:04 +04:00
|
|
|
|
2013-01-19 14:30:38 +04:00
|
|
|
### From [Homebrew](http://mxcl.github.com/homebrew/) for Mac OS X
|
2012-03-13 17:31:19 +04:00
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
$ brew install brew-pip
|
2012-09-04 16:27:37 +04:00
|
|
|
$ export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages
|
|
|
|
$ brew pip Glances
|
2012-03-13 17:31:19 +04:00
|
|
|
|
2012-11-02 18:02:37 +04:00
|
|
|
If you have the following error:
|
|
|
|
|
|
|
|
Error: Failed executing: pip install glances==1.X --install-option=--prefix=/usr/local/XXX/glances/1.X (.rb:)
|
2012-12-14 05:00:00 +04:00
|
|
|
|
2013-01-19 14:30:38 +04:00
|
|
|
then try to run:
|
2012-11-02 18:02:37 +04:00
|
|
|
|
|
|
|
$ pip install glances==1.X --install-option=--prefix=/usr/local/XXX/glances/1.X
|
|
|
|
$ brew link Glances
|
|
|
|
|
2012-11-02 18:38:28 +04:00
|
|
|
### Concerning Windows operating system
|
|
|
|
|
2012-12-14 05:00:00 +04:00
|
|
|
Windows operating system only support the Glances in server mode. So if you ran Glances on Windows, it will be automaticaly running in server mode.
|
2012-11-02 18:38:28 +04:00
|
|
|
|
|
|
|
To install Glances on you system:
|
|
|
|
|
|
|
|
* Install [Python for Windows](http://www.python.org/getit/)
|
|
|
|
* Install the [PsUtil lib](https://code.google.com/p/psutil/downloads/list)
|
|
|
|
* Download the latest [Glances version](https://raw.github.com/nicolargo/glances/master/glances/glances.py)
|
|
|
|
|
2013-01-19 14:30:38 +04:00
|
|
|
I am looking for a contributor to package Glances for Windows (for exemple using [PyInstaller](http://www.pyinstaller.org/)).
|
2012-11-02 18:38:28 +04:00
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
### From source
|
|
|
|
|
2012-11-02 18:38:28 +04:00
|
|
|
Get the latest version (form GitHub):
|
2011-12-06 15:03:24 +04:00
|
|
|
|
2012-12-14 05:00:00 +04:00
|
|
|
$ rm -rf /tmp/nicolargo-glances-*
|
2012-09-06 12:33:27 +04:00
|
|
|
$ wget -O /tmp/glances-last.tgz https://github.com/nicolargo/glances/tarball/master
|
2011-12-06 15:03:24 +04:00
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Glances use a standard GNU style installer (for a Debian like system):
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2012-09-14 18:28:18 +04:00
|
|
|
$ sudo apt-get update
|
2012-07-11 15:41:04 +04:00
|
|
|
$ sudo apt-get install python-setuptools build-essential python-dev
|
2012-09-06 12:33:27 +04:00
|
|
|
$ cd /tmp
|
|
|
|
$ tar zxvf glances-last.tgz
|
|
|
|
$ cd nicolargo-glances-*
|
2012-03-14 14:10:38 +04:00
|
|
|
$ sudo python setup.py install
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2013-01-19 14:30:38 +04:00
|
|
|
## Configuration
|
|
|
|
|
|
|
|
No configuration is needed to use Glances.
|
|
|
|
|
|
|
|
Furthermore, the release 1.6 introduces a configuration file to setup limits.
|
|
|
|
|
2013-02-14 18:41:51 +04:00
|
|
|
The default configuration file is under:
|
|
|
|
|
|
|
|
/etc/glances/glances.conf (Linux)
|
|
|
|
or
|
|
|
|
|
|
|
|
/usr/local/etc/glances.conf (*BSD and OS X)
|
|
|
|
|
|
|
|
To override the default configuration, you can copy the `glances.conf` file to
|
|
|
|
your `$XDG_CONFIG_HOME` directory (e.g. Linux):
|
|
|
|
|
|
|
|
mkdir -p $XDG_CONFIG_HOME/glances
|
|
|
|
cp /etc/glances/glances.conf $XDG_CONFIG_HOME/glances/
|
|
|
|
|
|
|
|
On OS X, you should copy the configuration file to `~/Library/Application Support/glances/`.
|
2013-01-19 14:30:38 +04:00
|
|
|
|
2011-12-05 16:24:49 +04:00
|
|
|
## Running
|
|
|
|
|
2012-11-02 16:15:39 +04:00
|
|
|
### In standalone mode
|
|
|
|
|
|
|
|
If you want to monitor your local machine, just run:
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2012-07-06 20:02:42 +04:00
|
|
|
$ glances
|
2012-12-14 05:00:00 +04:00
|
|
|
|
2012-11-02 16:15:39 +04:00
|
|
|
### In client/server mode
|
|
|
|
|
|
|
|
If you want to remotely monitor a machine (called server) from another one (called client).
|
|
|
|
|
|
|
|
Run this command on the server:
|
|
|
|
|
|
|
|
server$ glances -s
|
2012-12-14 05:00:00 +04:00
|
|
|
|
2012-11-02 16:15:39 +04:00
|
|
|
and this one on the client:
|
|
|
|
|
|
|
|
client$ glances -c @server
|
|
|
|
|
|
|
|
where @server is the IP address or hostname of the server
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2012-11-02 18:38:28 +04:00
|
|
|
Glances uses a [XML/RPC](http://docs.python.org/2/library/simplexmlrpcserver.html) server and can be used by another client software.
|
|
|
|
|
2013-01-19 14:30:38 +04:00
|
|
|
In server mode, you can set the bind address (-B ADDRESS) and listenning TCP port (-p PORT).
|
|
|
|
|
|
|
|
In client mode, you can set the TCP port of the server (-p port).
|
|
|
|
|
2013-01-23 00:03:44 +04:00
|
|
|
Default binding address is 0.0.0.0 (Glances will listen on all the networks interfaces) and TCP port is 61209.
|
2013-01-19 14:30:38 +04:00
|
|
|
|
2013-02-14 18:41:51 +04:00
|
|
|
In client/server mode, limits are set by the server side.
|
2013-01-23 00:03:44 +04:00
|
|
|
|
|
|
|
The version 1.6 introduces a optionnal password to access to the server (-P password).
|
2013-01-19 14:30:38 +04:00
|
|
|
|
2011-12-05 16:24:49 +04:00
|
|
|
## User guide
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
By default, stats are refreshed every second, to change this setting, you can
|
2012-09-05 00:58:58 +04:00
|
|
|
use the -t option. For example to set the refresh rate to 5 seconds:
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2012-07-06 20:02:42 +04:00
|
|
|
$ glances -t 5
|
2011-12-05 16:24:49 +04:00
|
|
|
|
|
|
|
Importants stats are colored:
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
* GREEN: stat counter is "OK"
|
|
|
|
* BLUE: stat counter is "CAREFUL"
|
|
|
|
* MAGENTA: stat counter is "WARNING"
|
|
|
|
* RED: stat counter is "CRITICAL"
|
2011-12-05 16:24:49 +04:00
|
|
|
|
|
|
|
When Glances is running, you can press:
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
* 'a' to set the automatic mode. The processes are sorted automatically
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2013-01-19 14:30:38 +04:00
|
|
|
IF CPU IoWait > 60% sort by process "IO read and write"
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
If CPU > 70%, sort by process "CPU consumption"
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
If MEM > 70%, sort by process "memory size"
|
2011-12-05 16:24:49 +04:00
|
|
|
|
2012-11-02 16:15:39 +04:00
|
|
|
* 'b' switch between bit/s or byte/s for network IO
|
2012-11-02 18:02:37 +04:00
|
|
|
* 'c' sort the processes list by CPU consumption
|
|
|
|
* 'd' disable or enable the disk IO stats
|
2012-12-14 05:00:00 +04:00
|
|
|
* 'e' enable the sensors module (PySensors library is needed; Linux-only)
|
2012-11-02 18:02:37 +04:00
|
|
|
* 'f' disable or enable the file system stats
|
2013-01-19 14:30:38 +04:00
|
|
|
* 'h' to display a help message with the keys you can press and the limits
|
2013-01-26 14:45:07 +04:00
|
|
|
* 'i' sort the processes list by IO rate (need root account on some OS)
|
2012-11-02 18:02:37 +04:00
|
|
|
* 'l' disable or enable the logs
|
|
|
|
* 'm' sort the processes list by process MEM
|
|
|
|
* 'n' disable or enable the network interfaces stats
|
|
|
|
* 'p' sort by process name
|
2012-12-30 01:05:18 +04:00
|
|
|
* 's' disable or enable the sensor stats (only available with -e tag)
|
2012-11-02 18:38:28 +04:00
|
|
|
* 'w' delete finished warning logs messages
|
|
|
|
* 'x' delete finished warning and critical logs messages
|
2012-11-02 18:02:37 +04:00
|
|
|
* '1' switch between global CPU and per core stats
|
2011-12-05 16:24:49 +04:00
|
|
|
* 'q' Exit
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
### Header
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/header.png)
|
|
|
|
|
2012-07-06 16:03:32 +04:00
|
|
|
The header shows the host name and the operating system name, version and architecture.
|
2011-12-18 20:34:22 +04:00
|
|
|
|
|
|
|
### CPU
|
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Short view:
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/cpu.png)
|
|
|
|
|
2012-12-30 01:05:18 +04:00
|
|
|
If horizontal space is available, extended CPU infomations are displayed.
|
|
|
|
|
|
|
|
Extended view (only available if your terminal is wide enough)
|
2012-09-06 12:33:27 +04:00
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/cpu-wide.png)
|
|
|
|
|
2012-12-30 01:05:18 +04:00
|
|
|
If user click on the '1' key, per CPU stats is displayed:
|
2011-12-18 20:34:22 +04:00
|
|
|
|
2012-07-26 19:15:09 +04:00
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/percpu.png)
|
|
|
|
|
2012-12-30 01:05:18 +04:00
|
|
|
The CPU stats are shown as a percentage and for the configured refresh
|
|
|
|
time. The total CPU usage is displayed on the first line.
|
2012-07-26 19:15:09 +04:00
|
|
|
|
|
|
|
Color code used:
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
If user|kernel|nice CPU is < 50%, then status is set to "OK".
|
|
|
|
|
|
|
|
If user|kernel|nice CPU is > 50%, then status is set to "CAREFUL".
|
|
|
|
|
|
|
|
If user|kernel|nice CPU is > 70%, then status is set to "WARNING".
|
|
|
|
|
|
|
|
If user|kernel|nice CPU is > 90%, then status is set to "CRITICAL".
|
|
|
|
|
|
|
|
### Load
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/load.png)
|
|
|
|
|
2012-09-05 00:58:58 +04:00
|
|
|
On the Nosheep blog, Zach defines average load: "In short it is the
|
2012-06-19 15:00:00 +04:00
|
|
|
average sum of the number of processes waiting in the run-queue plus the
|
2011-12-18 20:34:22 +04:00
|
|
|
number currently executing over 1, 5, and 15 minute time periods."
|
|
|
|
|
2012-06-19 15:00:00 +04:00
|
|
|
Glances gets the number of CPU cores to adapt the alerts. With Glances,
|
2012-12-14 05:00:00 +04:00
|
|
|
alerts on average load are only set on 5 and 15 mins. The first line
|
2012-07-06 16:03:32 +04:00
|
|
|
also display the number of CPU core.
|
2011-12-18 20:34:22 +04:00
|
|
|
|
|
|
|
If average load is < O.7*Core, then status is set to "OK".
|
|
|
|
|
|
|
|
If average load is > O.7*Core, then status is set to "CAREFUL".
|
|
|
|
|
|
|
|
If average load is > 1*Core, then status is set to "WARNING".
|
|
|
|
|
|
|
|
If average load is > 5*Core, then status is set to "CRITICAL".
|
|
|
|
|
|
|
|
### Memory
|
|
|
|
|
2012-12-30 01:05:18 +04:00
|
|
|
Glances uses two columns: one for the RAM and another one for the SWAP.
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/mem.png)
|
2011-12-18 20:34:22 +04:00
|
|
|
|
2012-12-30 01:05:18 +04:00
|
|
|
If space is available, Glances displays extended informations:
|
2011-12-18 20:34:22 +04:00
|
|
|
|
2012-12-30 01:05:18 +04:00
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/mem-wide.png)
|
2011-12-18 20:34:22 +04:00
|
|
|
|
|
|
|
With Glances, alerts are only set for on used swap and real memory.
|
|
|
|
|
|
|
|
If memory is < 50%, then status is set to "OK".
|
|
|
|
|
|
|
|
If memory is > 50%, then status is set to "CAREFUL".
|
|
|
|
|
|
|
|
If memory is > 70%, then status is set to "WARNING".
|
|
|
|
|
|
|
|
If memory is > 90%, then status is set to "CRITICAL".
|
|
|
|
|
|
|
|
### Network bit rate
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/network.png)
|
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Glances display the network interface bit rate. The unit is adapted
|
2011-12-18 20:34:22 +04:00
|
|
|
dynamicaly (bits per second, Kbits per second, Mbits per second...).
|
|
|
|
|
|
|
|
Alerts are set only if the network interface maximum speed is available.
|
|
|
|
|
2012-09-05 00:58:58 +04:00
|
|
|
If bit rate is < 50%, then status is set to "OK".
|
2011-12-18 20:34:22 +04:00
|
|
|
|
2012-09-05 00:58:58 +04:00
|
|
|
If bit rate is > 50%, then status is set to "CAREFUL".
|
2011-12-18 20:34:22 +04:00
|
|
|
|
2012-09-05 00:58:58 +04:00
|
|
|
If bit rate is > 70%, then status is set to "WARNING".
|
2011-12-18 20:34:22 +04:00
|
|
|
|
2012-09-05 00:58:58 +04:00
|
|
|
If bit rate is > 90%, then status is set to "CRITICAL".
|
2011-12-18 20:34:22 +04:00
|
|
|
|
2012-09-04 16:58:48 +04:00
|
|
|
For example, on a 100 Mbps Ethernet interface, the warning status is set
|
2011-12-18 20:34:22 +04:00
|
|
|
if the bit rate is higher than 70 Mbps.
|
|
|
|
|
2012-12-14 05:00:00 +04:00
|
|
|
### Sensors (optional; only available on Linux)
|
2012-11-18 13:55:14 +04:00
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/sensors.png)
|
|
|
|
|
2012-12-14 05:00:00 +04:00
|
|
|
Optionally, Glances displays the sensors informations (lm-sensors).
|
2012-11-18 13:55:14 +04:00
|
|
|
|
2012-12-30 01:05:18 +04:00
|
|
|
A filter is processed in order to only display temperature.
|
|
|
|
|
2012-11-18 13:55:14 +04:00
|
|
|
You should enable this module using the following command line:
|
|
|
|
|
|
|
|
glances -e
|
|
|
|
|
|
|
|
There is no alert on this information.
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
### Disk I/O
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/diskio.png)
|
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Glances displays the disk I/O throughput. The unit is adapted dynamically
|
2011-12-18 20:34:22 +04:00
|
|
|
(bytes per second, Kbytes per second, Mbytes per second...).
|
|
|
|
|
|
|
|
There is no alert on this information.
|
|
|
|
|
|
|
|
### Filesystem
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/fs.png)
|
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Glances displays the total and used filesytem disk space. The unit is
|
2012-09-05 00:58:58 +04:00
|
|
|
adapted dynamically (bytes per second, Kbytes per second, Mbytes per
|
2011-12-18 20:34:22 +04:00
|
|
|
second...).
|
|
|
|
|
|
|
|
Alerts are set for used disk space:
|
|
|
|
|
|
|
|
If disk used is < 50%, then status is set to "OK".
|
|
|
|
|
|
|
|
If disk used is > 50%, then status is set to "CAREFUL".
|
|
|
|
|
|
|
|
If disk used is > 70%, then status is set to "WARNING".
|
|
|
|
|
|
|
|
If disk used is > 90%, then status is set to "CRITICAL".
|
|
|
|
|
|
|
|
### Processes
|
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Short view:
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/processlist.png)
|
|
|
|
|
2012-09-06 12:33:27 +04:00
|
|
|
Long view (only available if your terminal is wide enough)
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/processlist-wide.png)
|
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
Glances displays a summary and a list of processes.
|
|
|
|
|
2012-09-05 00:58:58 +04:00
|
|
|
By default (or if you hit the 'a' key) the process list is automatically
|
2011-12-18 20:34:22 +04:00
|
|
|
sorted by CPU of memory consumption.
|
|
|
|
|
|
|
|
The number of processes in the list is adapted to the screen size.
|
|
|
|
|
2012-07-06 16:03:32 +04:00
|
|
|
* VIRT: Virtual memory size (in byte)
|
|
|
|
* REST: Amount of resident memory (in byte)
|
|
|
|
* CPU%: % of CPU used by the process
|
|
|
|
* MEM%: % of MEM used by the process
|
|
|
|
* PID: Process ID
|
|
|
|
* USER: Process user ID
|
|
|
|
* NI: Nice level of the process
|
|
|
|
* S: Process status
|
|
|
|
|
|
|
|
R - Running
|
|
|
|
D - Sleeping (may not be interrupted)
|
|
|
|
S - Sleeping (may be interrupted)
|
|
|
|
T - Traced or stopped
|
|
|
|
Z - Zombie or "hung" process
|
|
|
|
|
|
|
|
* TIME+: Cumulative CPU time used
|
2013-01-26 14:45:07 +04:00
|
|
|
* IO_R and IO_W: Per process IO read and write rate (in byte per second)
|
2012-07-06 16:03:32 +04:00
|
|
|
* NAME: Process name or command line
|
|
|
|
|
2012-01-31 17:37:56 +04:00
|
|
|
### Logs
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/logs.png)
|
|
|
|
|
2012-09-04 23:47:12 +04:00
|
|
|
A logs list is displayed in the bottom of the screen if (and only if):
|
2012-01-31 17:37:56 +04:00
|
|
|
|
|
|
|
* at least one WARNING or CRITICAL alert was occured.
|
|
|
|
* space is available in the bottom of the console/terminal
|
|
|
|
|
|
|
|
There is one line per alert with the following information:
|
|
|
|
|
|
|
|
* start date
|
|
|
|
* end date
|
|
|
|
* alert name
|
2012-06-19 15:00:00 +04:00
|
|
|
* (min/avg/max) values
|
2012-01-31 17:37:56 +04:00
|
|
|
|
2011-12-18 20:34:22 +04:00
|
|
|
### Footer
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/footer.png)
|
|
|
|
|
2012-09-05 00:58:58 +04:00
|
|
|
Glances displays the current time/date and access to the embedded help screen.
|
2011-12-18 20:34:22 +04:00
|
|
|
|
2012-11-08 00:53:05 +04:00
|
|
|
If you have ran Glances in client mode (-c), you can also see if the client is connected to the server.
|
|
|
|
|
|
|
|
If client is connected:
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/client-connected.png)
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/client-disconnected.png)
|
|
|
|
|
2012-11-02 18:38:28 +04:00
|
|
|
On the left, you can easely seen if you are connected to a Glances server.
|
|
|
|
|
2012-01-12 23:48:16 +04:00
|
|
|
## Localisation
|
|
|
|
|
2012-10-23 16:25:11 +04:00
|
|
|
Glances localization files exist for:
|
2012-01-12 23:48:16 +04:00
|
|
|
|
2012-10-23 16:25:11 +04:00
|
|
|
* English (default langage)
|
|
|
|
* French
|
2012-12-14 05:00:00 +04:00
|
|
|
* Italian
|
2012-10-23 16:25:11 +04:00
|
|
|
* Spanish
|
|
|
|
* Portugal
|
|
|
|
|
|
|
|
Feel free to contribute !
|