Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
b4922202
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 搜索 >>
提交
b4922202
编写于
3月 15, 2017
作者:
N
nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Port in the -c URI #996
上级
8080ebab
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
8 deletion
+19
-8
NEWS
NEWS
+3
-0
docs/cmds.rst
docs/cmds.rst
+1
-1
docs/man/glances.1
docs/man/glances.1
+13
-7
glances/main.py
glances/main.py
+2
-0
未找到文件。
NEWS
浏览文件 @
b4922202
...
...
@@ -5,6 +5,9 @@ Glances Version 2
Version 2.9.0
=============
Enhancements and new features:
* Port in the -c URI (-c hostname:port) (issue #996)
Version 2.8.8
=============
...
...
docs/cmds.rst
浏览文件 @
b4922202
...
...
@@ -196,7 +196,7 @@ Command-Line Options
.. option:: -c CLIENT, --client CLIENT
connect to a Glances server by IPv4/IPv6 address
or hostname
connect to a Glances server by IPv4/IPv6 address
, hostname or hostname:port
.. option:: -s, --server
...
...
docs/man/glances.1
浏览文件 @
b4922202
.\" Man page generated from reStructuredText.
.
.TH "GLANCES" "1" "Mar 1
2, 2017" "2.8.8
" "Glances"
.TH "GLANCES" "1" "Mar 1
5, 2017" "2.9.0_DEVELOP
" "Glances"
.SH NAME
glances \- An eye on your system
.
...
...
@@ -59,7 +59,7 @@ show program\(aqs version number and exit
.INDENT 0.0
.TP
.B \-d, \-\-debug
enable debug mode
. The debugging output is saved to /tmp/glances\-USERNAME.log.
enable debug mode
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -179,8 +179,7 @@ start Glances in per CPU mode
.INDENT 0.0
.TP
.B \-2, \-\-disable\-left\-sidebar
disable network, disk I/O, FS and sensors modules (py3sensors lib
needed)
disable network, disk I/O, FS and sensors modules
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -285,7 +284,7 @@ export stats to a ZeroMQ server (zmq lib needed)
.INDENT 0.0
.TP
.B \-c CLIENT, \-\-client CLIENT
connect to a Glances server by IPv4/IPv6 address
or hostname
connect to a Glances server by IPv4/IPv6 address
, hostname or hostname:port
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -440,8 +439,12 @@ The following commands (key pressed) are supported while in Glances:
.B \fBENTER\fP
Set the process filter
.sp
\fBNote\fP: on macOS, please use \fBCTRL\-H\fP to delete
filter.
\fBNOTE:\fP
.INDENT 7.0
.INDENT 3.5
On macOS please use \fBCTRL\-H\fP to delete filter.
.UNINDENT
.UNINDENT
.sp
Filter is a regular expression pattern:
.INDENT 7.0
...
...
@@ -583,6 +586,9 @@ Enable/disable all but quick look and load module
.B \fB5\fP
Enable/disable top menu (QuickLook, CPU, MEM, SWAP and LOAD)
.TP
.B \fB6\fP
Enable/disable mean GPU mode
.TP
.B \fB/\fP
Switch between process command line or command name
.UNINDENT
...
...
glances/main.py
浏览文件 @
b4922202
...
...
@@ -276,6 +276,8 @@ Examples of use:
args
.
port
=
self
.
web_server_port
else
:
args
.
port
=
self
.
server_port
# Port in the -c URI #996
args
.
client
,
args
.
port
=
(
x
if
x
else
y
for
(
x
,
y
)
in
zip
(
args
.
client
.
partition
(
':'
)[::
2
],
(
args
.
client
,
args
.
port
)))
# Autodiscover
if
args
.
disable_autodiscover
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录