Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
c3f04f2c
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 搜索 >>
提交
c3f04f2c
编写于
4月 08, 2019
作者:
N
nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update documentation for sparklines.
上级
a35a7d54
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
16 addition
and
1 deletion
+16
-1
docs/_static/sparkline.png
docs/_static/sparkline.png
+0
-0
docs/aoa/quicklook.rst
docs/aoa/quicklook.rst
+7
-0
docs/man/glances.1
docs/man/glances.1
+8
-0
glances/main.py
glances/main.py
+1
-1
未找到文件。
docs/_static/sparkline.png
0 → 100644
浏览文件 @
c3f04f2c
41.0 KB
docs/aoa/quicklook.rst
浏览文件 @
c3f04f2c
...
...
@@ -12,6 +12,13 @@ If the per CPU mode is on (by clicking the ``1`` key):
.. image:: ../_static/quicklook-percpu.png
In the Curses/terminal interface, it is also possible to switch from bar to
sparkline using 'S' hot key or --sparkline command line option. Please be
aware that sparklines use the Glances history and will not be available
if the history is disabled from the command line.
.. image:: ../_static/sparkline.png
.. note::
Limit values can be overwritten in the configuration file under
the ``[quicklook]`` section.
docs/man/glances.1
浏览文件 @
c3f04f2c
...
...
@@ -303,6 +303,11 @@ display FS free space instead of used
.UNINDENT
.INDENT 0.0
.TP
.B \-\-sparkline
display sparlines instead of bar in the curses interface
.UNINDENT
.INDENT 0.0
.TP
.B \-\-theme\-white
optimize display colors for white background
.UNINDENT
...
...
@@ -422,6 +427,9 @@ Show/hide RAID plugin
.B \fBs\fP
Show/hide sensors stats
.TP
.B \fBS\fP
Switch from bars to sparklines
.TP
.B \fBt\fP
Sort process by CPU times (TIME+)
.TP
...
...
glances/main.py
浏览文件 @
c3f04f2c
...
...
@@ -241,7 +241,7 @@ Examples of use:
parser
.
add_argument
(
'--fs-free-space'
,
action
=
'store_true'
,
default
=
False
,
dest
=
'fs_free_space'
,
help
=
'display FS free space instead of used'
)
parser
.
add_argument
(
'--sparkline'
,
action
=
'store_true'
,
default
=
False
,
dest
=
'sparkline'
,
help
=
'displa
t
sparklines instead of bar in the curses interface'
)
dest
=
'sparkline'
,
help
=
'displa
y
sparklines instead of bar in the curses interface'
)
parser
.
add_argument
(
'--theme-white'
,
action
=
'store_true'
,
default
=
False
,
dest
=
'theme_white'
,
help
=
'optimize display colors for white background'
)
# Globals options
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录