Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
deb42a07
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 搜索 >>
提交
deb42a07
编写于
10月 21, 2016
作者:
N
nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add documentation (issue #937)
上级
092930d4
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
24 addition
and
4 deletion
+24
-4
NEWS
NEWS
+2
-1
docs/_static/wifi.png
docs/_static/wifi.png
+0
-0
docs/aoa/index.rst
docs/aoa/index.rst
+1
-0
docs/aoa/network.rst
docs/aoa/network.rst
+1
-1
docs/aoa/wifi.rst
docs/aoa/wifi.rst
+18
-0
docs/man/glances.1
docs/man/glances.1
+1
-1
glances/plugins/glances_wifi.py
glances/plugins/glances_wifi.py
+1
-1
未找到文件。
NEWS
浏览文件 @
deb42a07
...
...
@@ -5,10 +5,11 @@ Glances Version 2
Version 2.8
===========
Enhancements and new features:
Enhancements and new
s
features:
* Add ZeroMQ exporter (issue #939)
* Add CouchDB exporter (issue #928)
* Add hotspot Wifi informations (issue #937)
* Highlight max stats in the processes list (issue #878)
* Docker alerts and actions (issue #875)
* Glances API returns the processes PPID (issue #926)
...
...
docs/_static/wifi.png
0 → 100644
浏览文件 @
deb42a07
9.2 KB
docs/aoa/index.rst
浏览文件 @
deb42a07
...
...
@@ -26,6 +26,7 @@ Legend:
load
memory
network
wifi
ports
disk
fs
...
...
docs/aoa/network.rst
浏览文件 @
deb42a07
...
...
@@ -11,7 +11,7 @@ dynamically (bit/s, kbit/s, Mbit/s, etc).
Alerts are only set if the maximum speed per network interface is
available (see sample in the configuration file).
It's also possib
i
le to define:
It's also possible to define:
- a list of network interfaces to hide
- per-interface limit values
...
...
docs/aoa/wifi.rst
0 → 100644
浏览文件 @
deb42a07
.. _wifi:
Wifi
=====
.. image:: ../_static/wifi.png
Glances displays the Wifi hotspot name and quality where the host is connected.
If Glances is ran as root, then all the available hotspots are displayed.
It's also possible to disable the scan on a specific interface from the
configuration file (``[network]`` section). For example, if you want to
hide the loopback interface (lo) and all the virtual docker interface:
.. code-block:: ini
[wifi]
hide=lo,docker.*
docs/man/glances.1
浏览文件 @
deb42a07
.\" Man page generated from reStructuredText.
.
.TH "GLANCES" "1" "Oct
15
, 2016" "2.8_DEVELOP" "Glances"
.TH "GLANCES" "1" "Oct
21
, 2016" "2.8_DEVELOP" "Glances"
.SH NAME
glances \- An eye on your system
.
...
...
glances/plugins/glances_wifi.py
浏览文件 @
deb42a07
...
...
@@ -165,10 +165,10 @@ class Plugin(GlancesPlugin):
ret
.
append
(
self
.
curse_add_line
(
msg
,
"TITLE"
))
msg
=
'{:>6}'
.
format
(
'Quality'
)
ret
.
append
(
self
.
curse_add_line
(
msg
))
ret
.
append
(
self
.
curse_new_line
())
# Hotspot list (sorted by name)
for
i
in
sorted
(
self
.
stats
,
key
=
operator
.
itemgetter
(
self
.
get_key
())):
ret
.
append
(
self
.
curse_new_line
())
# Do not display hotspot with no name (/ssid)
if
i
[
'ssid'
]
==
''
:
continue
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录