Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
f88d8f53
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 搜索 >>
提交
f88d8f53
编写于
3月 25, 2014
作者:
N
Nicolas Hennion
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
version 1.7.6
上级
0259a729
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
28 addition
and
24 deletion
+28
-24
NEWS
NEWS
+8
-0
README.rst
README.rst
+1
-1
docs/glances-doc.html
docs/glances-doc.html
+4
-2
docs/glances-doc.rst
docs/glances-doc.rst
+2
-2
docs/index.rst
docs/index.rst
+8
-14
glances/glances.py
glances/glances.py
+2
-2
man/glances.1
man/glances.1
+1
-1
setup.py
setup.py
+2
-2
未找到文件。
NEWS
浏览文件 @
f88d8f53
Version 1.7.6
=============
* Adapt to psutil 2.0.0 API
* Fixed psutil 0.5.x support on Windows
* Fix help screen in 80x24 terminal size
* Implement toggle of process list display ('z' key)
Version 1.7.5
=============
...
...
README.rst
浏览文件 @
f88d8f53
...
...
@@ -28,7 +28,7 @@ Requirements
============
- ``python >= 2.6`` (tested with version 2.6, 2.7, 3.2, 3.3)
- ``psutil >= 0.5.1`` (recommended version >=
1.2.1
)
- ``psutil >= 0.5.1`` (recommended version >=
2.0
)
- ``setuptools``
Optional dependencies:
...
...
docs/glances-doc.html
浏览文件 @
f88d8f53
...
...
@@ -123,9 +123,9 @@ td.option-group {
<div
class=
"document"
id=
"glances"
>
<h1
class=
"title"
>
Glances
</h1>
<p>
This manual describes
<em>
Glances
</em>
version 1.7.
5
.
</p>
<p>
This manual describes
<em>
Glances
</em>
version 1.7.
6
.
</p>
<p>
Copyright © 2012-2014 Nicolas Hennion
<
<a
class=
"reference external"
href=
"mailto:nicolas@nicolargo.com"
>
nicolas
@
nicolargo.com
</a>
>
</p>
<p>
January
2014
</p>
<p>
March
2014
</p>
<div
class=
"contents topic"
id=
"table-of-contents"
>
<p
class=
"topic-title first"
>
Table of Contents
</p>
<ul
class=
"simple"
>
...
...
@@ -324,6 +324,8 @@ just run on the server:</p>
<dd>
Delete finished warning and critical log messages
</dd>
<dt><tt
class=
"docutils literal"
>
y
</tt></dt>
<dd>
Show/hide hddtemp stats (only available with -y flag)
</dd>
<dt><tt
class=
"docutils literal"
>
z
</tt></dt>
<dd>
Show/hide processes list (for low CPU consumption)
</dd>
<dt><tt
class=
"docutils literal"
>
1
</tt></dt>
<dd>
Switch between global CPU and per-CPU stats
</dd>
</dl>
...
...
docs/glances-doc.rst
浏览文件 @
f88d8f53
...
...
@@ -2,11 +2,11 @@
Glances
=======
This manual describes *Glances* version 1.7.
5
.
This manual describes *Glances* version 1.7.
6
.
Copyright © 2012-2014 Nicolas Hennion <nicolas@nicolargo.com>
January
2014
March
2014
.. contents:: Table of Contents
...
...
docs/index.rst
浏览文件 @
f88d8f53
.. Glances documentation master file, created by
sphinx-quickstart on Tue Mar 25 19:57:21 2014.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Glances's documentation!
===================================
**Glances** is a cross-platform curses-based monitoring tool written in Python.
It uses the psutil library and some internal code to get information from your system.
.. image:: https://raw.github.com/nicolargo/glances/master/docs/images/screenshot-wide.png
Get the code
------------
The `source <http://github.com/nicolargo/glances>`_ is available on GitHub.
Contents
--------
Contents:
.. toctree::
:maxdepth: 2
glances-doc
Indices and tables
==================
...
...
@@ -26,3 +19,4 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
glances/glances.py
浏览文件 @
f88d8f53
...
...
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
__appname__
=
'glances'
__version__
=
"1.7.
5
"
__version__
=
"1.7.
6
"
__author__
=
"Nicolas Hennion <nicolas@nicolargo.com>"
__licence__
=
"LGPL"
...
...
@@ -903,7 +903,7 @@ class glancesLogs:
if
item_type
.
startswith
(
"MEM"
):
# Sort TOP process by memory_percent
sortby
=
'memory_percent'
elif
item_type
.
startswith
(
"CPU
IO"
)
and
is_Linux
:
elif
item_type
.
startswith
(
"CPU
_
IO"
)
and
is_Linux
:
# Sort TOP process by io_counters (only for Linux OS)
sortby
=
'io_counters'
elif
item_type
.
startswith
(
"MON"
):
...
...
man/glances.1
浏览文件 @
f88d8f53
.TH glances 1 "March, 2014" "version 1.7.
5
" "USER COMMANDS"
.TH glances 1 "March, 2014" "version 1.7.
6
" "USER COMMANDS"
.SH NAME
glances \- A cross-platform curses-based monitoring tool
.SH SYNOPSIS
...
...
setup.py
浏览文件 @
f88d8f53
...
...
@@ -33,13 +33,13 @@ else:
setup
(
name
=
'Glances'
,
version
=
'1.7.
5
'
,
version
=
'1.7.
6
'
,
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-1.7.
5
.tar.gz',
# download_url='https://s3.amazonaws.com/glances/glances-1.7.
6
.tar.gz',
license
=
"LGPL"
,
keywords
=
"cli curses monitoring system"
,
install_requires
=
requires
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录