Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
adb13fef
G
glances
项目概览
蜕变的菜鸟
/
glances
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
glances
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
adb13fef
编写于
9月 04, 2014
作者:
N
Nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update user documentation for Glances 2.1
上级
e67fb54e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
35 addition
and
16 deletion
+35
-16
docs/glances-doc.rst
docs/glances-doc.rst
+35
-16
未找到文件。
docs/glances-doc.rst
浏览文件 @
adb13fef
...
...
@@ -2,11 +2,11 @@
Glances
=======
This manual describes *Glances* version 2.
0.
1.
This manual describes *Glances* version 2.1.
Copyright © 2012-2014 Nicolas Hennion <nicolas@nicolargo.com>
June
2014
September
2014
.. contents:: Table of Contents
...
...
@@ -75,7 +75,7 @@ In client mode, you can set the TCP port of the server ``-p PORT``.
You can also set a password to access to the server ``--password``.
Default binding address is ``0.0.0.0`` (Glances will listen on all the
network interfaces) and TCP port is ``61209``.
available
network interfaces) and TCP port is ``61209``.
In client/server mode, limits are set by the server side.
...
...
@@ -89,14 +89,13 @@ client, the latter will try to grab stats using the ``SNMP`` protocol:
client$ glances -c @snmpserver
Known issues: grab using SNMP is only validated for GNU/Linux with SNMP
v2/2c server.
Note: Stats grabbed by SNMP request are limited.
Web Server Mode
---------------
If you want to remotely monitor a machine, called ``server``, from any
device with a web browser,
called ``client``,
just run on the server:
device with a web browser, just run on the server:
.. code-block:: console
...
...
@@ -192,7 +191,7 @@ The following commands (key pressed) are supported while in Glances:
Enable/disable top extended stats
``f``
Show/hide file system stats
``
f
``
``
g
``
Generate hraphs for current history
``h``
Show/hide the help screen
...
...
@@ -230,13 +229,11 @@ The following commands (key pressed) are supported while in Glances:
Configuration
=============
**Caution! Glances version 1.x configuration files are not compatible
with the version 2.x.**
No configuration file is mandatory to use Glances.
Furthermore a configuration file is needed to set up limits, disks or
network interfaces to hide and/or monitored processes list.
network interfaces to hide and/or monitored processes list or to define
alias.
By default, the configuration file is under:
...
...
@@ -255,6 +252,8 @@ Since Windows Vista and newer versions:
::
C:\Users\<User>\AppData\Roaming
or
%userprofile%\AppData\Roaming
You can override the default configuration, located in one of the above
directories on your system, except for Windows.
...
...
@@ -270,6 +269,18 @@ e.g., on Linux:
On OS X, you should copy the configuration file to
``~/Library/Application Support/glances/``.
Logs and debug mode
===================
Glances logs all its internal messages to a log file. By default, only
INFO & WARNING & ERROR &CRITICAL levels are logged, but DEBUG messages
can ben logged using the -d option on the command line.
By default, the configuration file is under:
:Linux, \*BSD and OS X: ``/tmp/glances.conf``
:Windows: ``%APPDATA%\Local\temp\glances.conf``
Anatomy Of The Application
==========================
...
...
@@ -390,7 +401,7 @@ Alerts are only set if the maximum speed per network interface is available
*Note*: it is possibile to define a list of network interfaces to hide
and per-interface limit values in the ``[network]`` section of the
configuration file
.
configuration file
and aliases for interface name.
Disk I/O
--------
...
...
@@ -402,7 +413,7 @@ Glances displays the disk I/O throughput. The unit is adapted dynamically.
There is no alert on this information.
*Note*: it is possible to define a list of disks to hide under the
``[diskio]`` section in the configuration file.
``[diskio]`` section in the configuration file
and aliases for disk name
.
File System
-----------
...
...
@@ -437,8 +448,8 @@ temperature only.
There is no alert on this information.
*Note*: limit values
can be overwritten in the configuration file under
the ``[sensors]`` section.
*Note*: limit values
and sensors alias names can be defined in the configuration
file under
the ``[sensors]`` section.
Processes List
--------------
...
...
@@ -499,7 +510,8 @@ The number of processes in the list is adapted to the screen size.
``IOW/s``
Per process I/O write rate (in Byte/s)
``COMMAND``
Process command line (process name is highlighted)
Process command line
User cans switch to the process name by pressing on the ``/`` key
Process status legend:
...
...
@@ -514,6 +526,13 @@ Process status legend:
``Z``
Zombie
In standalone mode, additionals informations are provided for the top process:
* CPU affinity (number of cores used by the process)
* Extended memory information (swap, shared, text, lib, data and dirty on Linux)
* Openned threads, files and network sessions (TCP and UDP)
* IO nice level
*Note*: limit values can be overwritten in the configuration file under
the ``[process]`` section.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录