提交 ce67fedd 编写于 作者: N Nicolas Hennion

Update man page

上级 598f3c9b
......@@ -2256,7 +2256,7 @@ def printSyntax():
print(_("Usage: glances [-f file] [-o output] [-t sec] [-h] [-v]"))
print("")
print(_("\t-b\t\tDisplay network rate in Byte per second"))
print(_("\t -B IP|NAME\tBind server to the given IP or host NAME"))
print(_("\t-B IP|NAME\tBind server to the given IP or host NAME"))
print(_("\t-c @IP|host\tConnect to a Glances server"))
print(_("\t-d\t\tDisable disk I/O module"))
print(_("\t-f file\t\tSet the output folder (HTML) or file (CSV)"))
......
.TH glances 1 "October, 2012" "version 1.4.2.1" "USER COMMANDS"
.TH glances 1 "November, 2012" "version 1.5" "USER COMMANDS"
.SH NAME
glances \- CLI curses based monitoring tool
.SH SYNOPSIS
.B glances
[\-h] [\-t refresh] [\-v]
[\-bdhmnsv] [\-t refresh] [\-B bind] [\-c server] [\-p port] [\-o output] [\-f file]
.SH DESCRIPTION
Glances is a free (LGPL) curses-based monitoring tool which aims to present a maximum of information
in a minimum of space, ideally to fit in a classical 80x24 terminal. Glances can adapt dynamicaly the
......@@ -14,6 +14,8 @@ This tool is written in Python and uses PsUtil to fetch the statistical values f
You can use the following keys to sort the processesi list:
.PP
'a' to set the automatic mode. The process list is sorted automatically
.PP
'b' to switch between bit/s or byte/s for network IO
.PP
'c' the processes list is sorted by CPU consomption
.PP
......@@ -28,8 +30,16 @@ You can use the following keys to sort the processesi list:
'm' the processes list is sorted by process size
.PP
'n' Disable or enable the network interfaces stats
.PP
'p' The processes list is sorted by process name
.PP
'w' Delete finished warning logs messages
.PP
'x' Delete finished warning and critical logs
.PP
'q' Exit
.PP
'1' Switch between global CPU and per core stats
.PP
The current version grab the following stats: CPU, Load, Memory, Network rate, Disk IO, file system,
process number and details.
......@@ -39,6 +49,12 @@ process number and details.
\-b
Display network rate in Byte per second
.TP
\-B bind
Bind server to the given IP or host NAME
.TP
\-c server
Connect to a Glances server (IP address or hostname)
.TP
\-d
Disable disk I/O module
.TP
......@@ -57,6 +73,12 @@ Disable network module
\-o output
Define additional output (available: HTML or CSV)
.TP
\-p port
Define the client or server TCP port (default: 61209)
.TP
\-s
Run Glances in server mode
.TP
\-t sec
Set the refresh time in seconds (default: 2)
.TP
......
......@@ -23,8 +23,8 @@ for mo in glob('i18n/*/LC_MESSAGES/*.mo'):
data_files.append((dirname(mo).replace('i18n/', 'share/locale/'), [mo]))
setup(name='Glances',
version='1.4.2.1',
download_url='https://github.com/downloads/nicolargo/glances/glances-1.4.2.1.tar.gz',
version='1.5b',
download_url='https://github.com/downloads/nicolargo/glances/glances-1.5b.tar.gz',
url='https://github.com/nicolargo/glances',
description='CLI curses-based monitoring tool',
author='Nicolas Hennion',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册