Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
89a05958
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 搜索 >>
提交
89a05958
编写于
12月 06, 2011
作者:
N
nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
version 1.1.3
上级
4f77c14a
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
38 addition
and
38 deletion
+38
-38
README
README
+1
-1
autom4te.cache/output.0
autom4te.cache/output.0
+10
-10
autom4te.cache/output.1
autom4te.cache/output.1
+10
-10
autom4te.cache/traces.1
autom4te.cache/traces.1
+1
-1
configure
configure
+10
-10
configure.ac
configure.ac
+1
-1
setup.py
setup.py
+2
-2
src/glances.py
src/glances.py
+3
-3
未找到文件。
README
浏览文件 @
89a05958
...
...
@@ -3,7 +3,7 @@ Glances -- Eye on your system
## Description
Glances is a CLI curses based monitoring tool
s
for both GNU/Linux and BSD.
Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
Glances uses the libstatgrab library to get information from your system.
Glances is developed in Python and uses the python-statgrab lib.
...
...
autom4te.cache/output.0
浏览文件 @
89a05958
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.68 for Glances 1.1.
2
.
@%:@ Generated by GNU Autoconf 2.68 for Glances 1.1.
3
.
@%:@
@%:@
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
...
...
@@ -556,8 +556,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='Glances'
PACKAGE_TARNAME='glances'
PACKAGE_VERSION='1.1.
2
'
PACKAGE_STRING='Glances 1.1.
2
'
PACKAGE_VERSION='1.1.
3
'
PACKAGE_STRING='Glances 1.1.
3
'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
...
...
@@ -1185,7 +1185,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures Glances 1.1.
2
to adapt to many kinds of systems.
\`configure' configures Glances 1.1.
3
to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
...
...
@@ -1251,7 +1251,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of Glances 1.1.
2
:";;
short | recursive ) echo "Configuration of Glances 1.1.
3
:";;
esac
cat <<\_ACEOF
...
...
@@ -1325,7 +1325,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
Glances configure 1.1.
2
Glances configure 1.1.
3
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
...
...
@@ -1342,7 +1342,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Glances $as_me 1.1.
2
, which was
It was created by Glances $as_me 1.1.
3
, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
...
...
@@ -2163,7 +2163,7 @@ fi
# Define the identity of the package.
PACKAGE='glances'
VERSION='1.1.
2
'
VERSION='1.1.
3
'
cat >>confdefs.h <<_ACEOF
...
...
@@ -2970,7 +2970,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by Glances $as_me 1.1.
2
, which was
This file was extended by Glances $as_me 1.1.
3
, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
...
...
@@ -3032,7 +3032,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
Glances config.status 1.1.
2
Glances config.status 1.1.
3
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
...
...
autom4te.cache/output.1
浏览文件 @
89a05958
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.68 for Glances 1.1.
2
.
@%:@ Generated by GNU Autoconf 2.68 for Glances 1.1.
3
.
@%:@
@%:@
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
...
...
@@ -556,8 +556,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='Glances'
PACKAGE_TARNAME='glances'
PACKAGE_VERSION='1.1.
2
'
PACKAGE_STRING='Glances 1.1.
2
'
PACKAGE_VERSION='1.1.
3
'
PACKAGE_STRING='Glances 1.1.
3
'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
...
...
@@ -1185,7 +1185,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures Glances 1.1.
2
to adapt to many kinds of systems.
\`configure' configures Glances 1.1.
3
to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
...
...
@@ -1251,7 +1251,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of Glances 1.1.
2
:";;
short | recursive ) echo "Configuration of Glances 1.1.
3
:";;
esac
cat <<\_ACEOF
...
...
@@ -1325,7 +1325,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
Glances configure 1.1.
2
Glances configure 1.1.
3
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
...
...
@@ -1342,7 +1342,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Glances $as_me 1.1.
2
, which was
It was created by Glances $as_me 1.1.
3
, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
...
...
@@ -2163,7 +2163,7 @@ fi
# Define the identity of the package.
PACKAGE='glances'
VERSION='1.1.
2
'
VERSION='1.1.
3
'
cat >>confdefs.h <<_ACEOF
...
...
@@ -2970,7 +2970,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by Glances $as_me 1.1.
2
, which was
This file was extended by Glances $as_me 1.1.
3
, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
...
...
@@ -3032,7 +3032,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
Glances config.status 1.1.
2
Glances config.status 1.1.
3
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
...
...
autom4te.cache/traces.1
浏览文件 @
89a05958
m4trace:configure.ac:4: -1- AC_INIT([Glances], [1.1.
2
], [], [glances])
m4trace:configure.ac:4: -1- AC_INIT([Glances], [1.1.
3
], [], [glances])
m4trace:configure.ac:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.ac:4: -1- m4_pattern_forbid([_AC_])
m4trace:configure.ac:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
...
...
configure
浏览文件 @
89a05958
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for Glances 1.1.
2
.
# Generated by GNU Autoconf 2.68 for Glances 1.1.
3
.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
...
...
@@ -556,8 +556,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME
=
'Glances'
PACKAGE_TARNAME
=
'glances'
PACKAGE_VERSION
=
'1.1.
2
'
PACKAGE_STRING
=
'Glances 1.1.
2
'
PACKAGE_VERSION
=
'1.1.
3
'
PACKAGE_STRING
=
'Glances 1.1.
3
'
PACKAGE_BUGREPORT
=
''
PACKAGE_URL
=
''
...
...
@@ -1185,7 +1185,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat
<<
_ACEOF
\`
configure' configures Glances 1.1.
2
to adapt to many kinds of systems.
\`
configure' configures Glances 1.1.
3
to adapt to many kinds of systems.
Usage:
$0
[OPTION]... [VAR=VALUE]...
...
...
@@ -1251,7 +1251,7 @@ fi
if
test
-n
"
$ac_init_help
"
;
then
case
$ac_init_help
in
short
|
recursive
)
echo
"Configuration of Glances 1.1.
2
:"
;;
short
|
recursive
)
echo
"Configuration of Glances 1.1.
3
:"
;;
esac
cat
<<
\
_ACEOF
...
...
@@ -1325,7 +1325,7 @@ fi
test
-n
"
$ac_init_help
"
&&
exit
$ac_status
if
$ac_init_version
;
then
cat
<<
\
_ACEOF
Glances configure 1.1.
2
Glances configure 1.1.
3
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
...
...
@@ -1342,7 +1342,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Glances
$as_me
1.1.
2
, which was
It was created by Glances
$as_me
1.1.
3
, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0
$@
...
...
@@ -2163,7 +2163,7 @@ fi
# Define the identity of the package.
PACKAGE
=
'glances'
VERSION
=
'1.1.
2
'
VERSION
=
'1.1.
3
'
cat
>>
confdefs.h
<<
_ACEOF
...
...
@@ -2970,7 +2970,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by Glances
$as_me
1.1.
2
, which was
This file was extended by Glances
$as_me
1.1.
3
, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES =
$CONFIG_FILES
...
...
@@ -3032,7 +3032,7 @@ _ACEOF
cat
>>
$CONFIG_STATUS
<<
_ACEOF
|| ac_write_fail=1
ac_cs_config="`
$as_echo
"
$ac_configure_args
" | sed 's/^ //; s/[
\\
""
\`\$
]/
\\\\
&/g'`"
ac_cs_version="
\\
Glances config.status 1.1.
2
Glances config.status 1.1.
3
configured by
$0
, generated by GNU Autoconf 2.68,
with options
\\
"
\$
ac_cs_config
\\
"
...
...
configure.ac
浏览文件 @
89a05958
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
AC_INIT(Glances, 1.1.
2
, , glances)
AC_INIT(Glances, 1.1.
3
, , glances)
AC_CONFIG_HEADERS([config.h])
...
...
setup.py
浏览文件 @
89a05958
...
...
@@ -11,8 +11,8 @@ def read(fname):
return
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
fname
)).
read
()
setup
(
name
=
'Glances'
,
version
=
'1.1.
2
'
,
description
=
'CLI curses-based monitoring tool
s
'
,
version
=
'1.1.
3
'
,
description
=
'CLI curses-based monitoring tool'
,
author
=
'Nicolas Hennion'
,
author_email
=
'nicolas@nicolargo.com'
,
license
=
"LGPL"
,
...
...
src/glances.py
浏览文件 @
89a05958
...
...
@@ -33,7 +33,7 @@ import statgrab
#==================
# The glances version id
__version__
=
"1.1.
2
"
__version__
=
"1.1.
3
"
# Class
#======
...
...
@@ -359,8 +359,8 @@ class glancesScreen():
for
interface
in
range
(
0
,
min
(
4
,
len
(
network
))):
elapsed_time
=
max
(
1
,
network
[
interface
][
'systime'
])
self
.
term_window
.
addnstr
(
self
.
network_y
+
1
+
interface
,
self
.
network_x
,
network
[
interface
][
'interface_name'
]
+
':'
,
8
)
self
.
term_window
.
addnstr
(
self
.
network_y
+
1
+
interface
,
self
.
network_x
+
10
,
str
(
network
[
interface
][
'rx'
]
/
elapsed_time
/
1000
),
8
)
self
.
term_window
.
addnstr
(
self
.
network_y
+
1
+
interface
,
self
.
network_x
+
20
,
str
(
network
[
interface
][
'tx'
]
/
elapsed_time
/
1000
),
8
)
self
.
term_window
.
addnstr
(
self
.
network_y
+
1
+
interface
,
self
.
network_x
+
10
,
str
(
network
[
interface
][
'rx'
]
/
elapsed_time
/
1000
*
8
),
8
)
self
.
term_window
.
addnstr
(
self
.
network_y
+
1
+
interface
,
self
.
network_x
+
20
,
str
(
network
[
interface
][
'tx'
]
/
elapsed_time
/
1000
*
8
),
8
)
def
displayDiskIO
(
self
,
diskio
):
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录