Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
08e41ce9
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 搜索 >>
提交
08e41ce9
编写于
11月 03, 2017
作者:
N
nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OS specific arguments should be documented and reported #1180
上级
25cdc370
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
13 addition
and
8 deletion
+13
-8
NEWS
NEWS
+1
-0
docs/cmds.rst
docs/cmds.rst
+2
-2
docs/man/glances.1
docs/man/glances.1
+8
-3
glances/main.py
glances/main.py
+2
-3
未找到文件。
NEWS
浏览文件 @
08e41ce9
...
...
@@ -22,6 +22,7 @@ Bugs corrected:
* NameError: name 'mode' is not defined in case of interrupt shortly after starting the server mode #1175
* Crash on startup: KeyError: 'hz_actual_raw' on Raspbian 9.1 #1170
* Add missing mount-observe and system-observe interfaces #1179
* OS specific arguments should be documented and reported #1180
Backward-incompatible changes:
...
...
docs/cmds.rst
浏览文件 @
08e41ce9
...
...
@@ -288,11 +288,11 @@ Command-Line Options
.. option:: --hide-kernel-threads
hide kernel threads in process list
hide kernel threads in process list
(not available on Windows)
.. option:: --tree
display processes as a tree
display processes as a tree
(Linux only)
.. option:: -b, --byte
...
...
docs/man/glances.1
浏览文件 @
08e41ce9
.\" Man page generated from reStructuredText.
.
.TH "GLANCES" "1" "
Oct 15
, 2017" "3.0_DEV" "Glances"
.TH "GLANCES" "1" "
Nov 03
, 2017" "3.0_DEV" "Glances"
.SH NAME
glances \- An eye on your system
.
...
...
@@ -173,6 +173,11 @@ disable Wifi module
.UNINDENT
.INDENT 0.0
.TP
.B \-\-light, \-\-enable\-light
light mode for Curses UI (disable all but top menu)
.UNINDENT
.INDENT 0.0
.TP
.B \-0, \-\-disable\-irix
task\(aqs CPU usage will be divided by the total number of CPUs
.UNINDENT
...
...
@@ -394,12 +399,12 @@ force short name for processes name
.INDENT 0.0
.TP
.B \-\-hide\-kernel\-threads
hide kernel threads in process list
hide kernel threads in process list
(not available on Windows)
.UNINDENT
.INDENT 0.0
.TP
.B \-\-tree
display processes as a tree
display processes as a tree
(Linux only)
.UNINDENT
.INDENT 0.0
.TP
...
...
glances/main.py
浏览文件 @
08e41ce9
...
...
@@ -32,7 +32,6 @@ from glances.logger import logger
class
GlancesMain
(
object
):
"""Main class to manage Glances instance."""
# Default stats' refresh time is 3 seconds
...
...
@@ -254,10 +253,10 @@ Examples of use:
dest
=
'process_short_name'
,
help
=
'force short name for processes name'
)
if
not
WINDOWS
:
parser
.
add_argument
(
'--hide-kernel-threads'
,
action
=
'store_true'
,
default
=
False
,
dest
=
'no_kernel_threads'
,
help
=
'hide kernel threads in process list'
)
dest
=
'no_kernel_threads'
,
help
=
'hide kernel threads in process list
(not available on Windows)
'
)
if
LINUX
:
parser
.
add_argument
(
'--tree'
,
action
=
'store_true'
,
default
=
False
,
dest
=
'process_tree'
,
help
=
'display processes as a tree'
)
dest
=
'process_tree'
,
help
=
'display processes as a tree
(Linux only)
'
)
parser
.
add_argument
(
'-b'
,
'--byte'
,
action
=
'store_true'
,
default
=
False
,
dest
=
'byte'
,
help
=
'display network rate in byte per second'
)
parser
.
add_argument
(
'--diskio-show-ramfs'
,
action
=
'store_true'
,
default
=
False
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录