From ce67fedd01d0c9c3f451662a4005935109a1a788 Mon Sep 17 00:00:00 2001 From: Nicolas Hennion Date: Sat, 3 Nov 2012 14:45:20 +0100 Subject: [PATCH] Update man page --- glances/glances.py | 2 +- man/glances.1 | 26 ++++++++++++++++++++++++-- setup.py | 4 ++-- 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/glances/glances.py b/glances/glances.py index 18a29131..324066fd 100755 --- a/glances/glances.py +++ b/glances/glances.py @@ -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)")) diff --git a/man/glances.1 b/man/glances.1 index 19911f4d..7ae0a3c9 100644 --- a/man/glances.1 +++ b/man/glances.1 @@ -1,9 +1,9 @@ -.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 diff --git a/setup.py b/setup.py index 37048e84..3e6c310b 100755 --- a/setup.py +++ b/setup.py @@ -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',