Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
47904a58
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 搜索 >>
提交
47904a58
编写于
8月 26, 2016
作者:
N
Nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improve documentation (issue #872)
上级
ba5f8991
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
50 addition
and
14 deletion
+50
-14
NEWS
NEWS
+1
-0
docs/README.txt
docs/README.txt
+3
-3
docs/_static/browser.png
docs/_static/browser.png
+0
-0
docs/quickstart.rst
docs/quickstart.rst
+46
-11
未找到文件。
NEWS
浏览文件 @
47904a58
...
...
@@ -30,6 +30,7 @@ Enhancements and new features:
* Refactor stats history and export to graph. History available through API (issue #696)
* Add Cassandra/Scylla export plugin (issue #857)
* Huge pull request by Nicolas Hart to optimize the WebUI (issue #906)
* Improve documentation: http://glances.readthedocs.io (issue #872)
Bugs corrected:
...
...
docs/README.txt
浏览文件 @
47904a58
Building the docs
=================
First install Sphinx:
First install Sphinx
and the RTD theme
:
pip install sphinx
pip install sphinx
sphinx_rtd_theme
or update it if already installed:
pip install --upgrade sphinx
pip install --upgrade sphinx
sphinx_rtd_theme
Go to the docs folder:
...
...
docs/_static/browser.png
0 → 100644
浏览文件 @
47904a58
43.1 KB
docs/quickstart.rst
浏览文件 @
47904a58
...
...
@@ -13,7 +13,7 @@ Glances offers 3 modes:
Standalone Mode
---------------
S
imply run:
If you want to monitor your local machine, s
imply run:
.. code-block:: console
...
...
@@ -37,10 +37,6 @@ and on the client:
where ``@server`` is the IP address or hostname of the server.
Glances can centralize available Glances servers using the ``--browser``
option. The server list can be statically defined via the configuration
file (section ``[serverlist]``).
In server mode, you can set the bind address with ``-B ADDRESS`` and
the listening TCP port with ``-p PORT``.
...
...
@@ -53,24 +49,55 @@ In client/server mode, limits are set by the server side.
You can set a password to access to the server ``--password``. By
default, the username is ``glances`` but you can change it with
``--username``.
``--username``. It is also possible to set the password in the
Glances configuration file:
.. code-block:: ini
[passwords]
# Define the passwords list
# Syntax: host=password
# Where: host is the hostname
# password is the clear password
# Additionally (and optionally) a default password could be defined
localhost=mylocalhostpassword
default=mydefaultpassword
If you ask it, the SHA password will be stored in ``username.pwd`` file.
Next time your run the server/client, password will not be asked.
Glances is ``IPv6`` compatible. Just use the ``-B ::`` option to bind to
all IPv6 addresses.
Central client
^^^^^^^^^^^^^^
.. image:: _static/browser.png
Autodiscover
^^^^^^^^^^^^
Glances can centralize available Glances servers using the ``--browser``
option. The server list can be statically defined via the configuration
file (section ``[serverlist]``).
Example:
.. code-block:: ini
[serverlist]
# Define the static servers list
server_1_name=xps
server_1_alias=xps
server_1_port=61209
server_2_name=win
server_2_port=61235
Glances can also detect and display all Glances servers available on
your network via the ``zeroconf`` protocol (not available on Windows):
To start the central client, use the following option:
.. code-block:: console
client$ glances --browser
Use ``--disable-autodiscover`` to disable it.
.. note::
Use ``--disable-autodiscover`` to disable the auto discovery mode.
SNMP
^^^^
...
...
@@ -84,6 +111,14 @@ client, the latter will try to grab stats using the ``SNMP`` protocol:
.. note::
Stats grabbed by SNMP request are limited and OS dependent.
A SNMP server should be installed and configured...
IPv6
^^^^
Glances is ``IPv6`` compatible. Just use the ``-B ::`` option to bind to
all IPv6 addresses.
Web Server Mode
---------------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录