Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
3dcb5632
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 搜索 >>
提交
3dcb5632
编写于
3月 26, 2016
作者:
N
nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Correct minor PEP8 and update doc
上级
ea474e2d
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
25 addition
and
23 deletion
+25
-23
NEWS
NEWS
+7
-0
README.rst
README.rst
+13
-15
docs/man/glances.1
docs/man/glances.1
+1
-1
glances/__init__.py
glances/__init__.py
+1
-1
glances/exports/glances_riemann.py
glances/exports/glances_riemann.py
+1
-2
glances/outputs/glances_curses_browser.py
glances/outputs/glances_curses_browser.py
+0
-1
setup.py
setup.py
+1
-2
sonar-project.properties
sonar-project.properties
+1
-1
未找到文件。
NEWS
浏览文件 @
3dcb5632
...
...
@@ -9,6 +9,12 @@ Enhancements and new features:
* Add a connector to Riemann (issue #822 by Greogo Nagy)
Bugs corrected:
* Browsing for servers which are in the [serverlist] is broken (issue #819)
* [WebUI] Glances will not get past loading screen (issue #815) opened 9 days ago
* Python error after upgrading from 2.5.1 to 2.6 bug (issue #813)
Version 2.6
===========
...
...
@@ -41,6 +47,7 @@ Enhancements and new features:
* InfluxDB > 0.9.3 needs float and not int for numerical value (issue#749 and issue#750 by nicolargo)
Bugs corrected:
* Can't read sensors on a Thinkpad (issue #711)
* InfluxDB/OpenTSDB: tag parsing broken (issue #713)
* Grafana Dashboard outdated for InfluxDB 0.9.x (issue #648)
...
...
README.rst
浏览文件 @
3dcb5632
...
...
@@ -229,21 +229,19 @@ Known issue on RHEL/CentOS/Fedora installation
For Python 2.6 RedHat-based distros there might be an issue with starting Glances:
```
Traceback (most recent call last):
File "/usr/bin/glances", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
workingset.require(_requires)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
```
Try upgrading setuptools, has been proven to solve the problem:
Traceback (most recent call last):
File "/usr/bin/glances", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
workingset.require(_requires)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
Try upgrading setuptools, has been proven to solve the problem:
sudo pip install -U setuptools
Usage
...
...
docs/man/glances.1
浏览文件 @
3dcb5632
.\" Man page generated from reStructuredText.
.
.TH "GLANCES" "1" "March
16, 2016" "2.6
" "Glances"
.TH "GLANCES" "1" "March
26, 2016" "2.6.1
" "Glances"
.SH NAME
glances \- An eye on your system
.
...
...
glances/__init__.py
浏览文件 @
3dcb5632
...
...
@@ -27,7 +27,7 @@ import sys
# Global name
__appname__
=
'glances'
__version__
=
'2.
7_BETA
'
__version__
=
'2.
6.1
'
__author__
=
'Nicolas Hennion <nicolas@nicolargo.com>'
__license__
=
'LGPL'
...
...
glances/exports/glances_riemann.py
浏览文件 @
3dcb5632
...
...
@@ -84,10 +84,9 @@ class Export(GlancesExport):
if
not
isinstance
(
points
[
i
],
Number
):
continue
else
:
data
=
{
'host'
:
self
.
hostname
,
'service'
:
name
+
" "
+
columns
[
i
],
'metric'
:
points
[
i
]
}
data
=
{
'host'
:
self
.
hostname
,
'service'
:
name
+
" "
+
columns
[
i
],
'metric'
:
points
[
i
]
}
logger
.
debug
(
data
)
try
:
self
.
client
.
send
(
data
)
except
Exception
as
e
:
logger
.
error
(
"Can not export stats to Riemann (%s)"
%
e
)
glances/outputs/glances_curses_browser.py
浏览文件 @
3dcb5632
...
...
@@ -271,4 +271,3 @@ class GlancesCursesBrowser(_GlancesCurses):
line
+=
1
return
True
setup.py
浏览文件 @
3dcb5632
...
...
@@ -50,13 +50,12 @@ def get_requires():
setup
(
name
=
'Glances'
,
version
=
'2.6'
,
version
=
'2.6
.1
'
,
description
=
"A cross-platform curses-based monitoring tool"
,
long_description
=
open
(
'README.rst'
).
read
(),
author
=
'Nicolas Hennion'
,
author_email
=
'nicolas@nicolargo.com'
,
url
=
'https://github.com/nicolargo/glances'
,
# download_url='https://s3.amazonaws.com/glances/glances-2.6.tar.gz',
license
=
"LGPL"
,
keywords
=
"cli curses monitoring system"
,
install_requires
=
get_requires
(),
...
...
sonar-project.properties
浏览文件 @
3dcb5632
# Required metadata
sonar.projectKey
=
glances
sonar.projectName
=
Glances
sonar.projectVersion
=
2.6
sonar.projectVersion
=
2.6
.1
# Path to the parent source code directory.
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录