Update doc and correct grammatical errors

This commit is contained in:
nicolargo 2016-01-10 09:53:48 +01:00
parent d75a9ee9d7
commit f2fb8d982b
4 changed files with 13 additions and 4 deletions

1
NEWS
View File

@ -8,6 +8,7 @@ Version 2.6
Enhancements and new features:
* New folders' monitoring plugins (issue #721)
* Add an option to disable top menu (issue #766)
* Add IOps in the DiskIO plugin (issue #763)
* Add hide configuration key for FS Plugin (issue #736)
* Add process summary min/max stats (issue #703)

View File

@ -151,6 +151,8 @@ Command-Line Options
disable quick look module
-4, --full-quicklook
enable all but quick look and load
-5, --disable-top
Enable/disable the top menu (QuickLook, CPU, MEM and LOAD)
--disable-cpu disable CPU module
--disable-mem disable MEM module
--disable-swap disable SWAP module

View File

@ -74,7 +74,7 @@ class Plugin(GlancesPlugin):
ret.append(self.curse_add_line(msg, "TITLE"))
logs_len = glances_logs.len()
if logs_len > 1:
msg = ' (lasts {0} entries)'.format(logs_len)
msg = ' (last {0} entries)'.format(logs_len)
else:
msg = ' (one entry)'
ret.append(self.curse_add_line(msg, "TITLE"))

View File

@ -33,12 +33,15 @@ enable debug mode (log file is /tmp/glances.log)
.B \-C CONF_FILE, \-\-config CONF_FILE
path to the configuration file
.TP
.B \-\-disable-quicklook
.B \3, \-\-disable-quicklook
disable quick look module
.TP
.B \-\-full-quicklook
disable all but quick look and load modules
.TP
.B \4, \-\-disable-top
disable top menu (QuickLook, CPU, MEM and LOAD)
.TP
.B \-\-disable-cpu
disable CPU module
.TP
@ -78,7 +81,7 @@ disable RAID module
.B \-\-disable-docker
disable Docker module
.TP
.B \-\-disable-left-sidebar
.B \2, \-\-disable-left-sidebar
disable network, disk I/O, file system and sensors modules
.TP
.B \-\-disable-process
@ -183,7 +186,7 @@ display processes as a tree
.B \-b, \-\-byte
display network rate in byte per second [default: bit per second]
.TP
.B \-\-diskio\-show\-ramfs
.B \-\-diskio\-show\-ramfs
show RAM Fs in the disk IO plugin
.TP
.B \-\-fahrenheit
@ -302,6 +305,9 @@ Enable/disable the quick look module
.B 4
Enable/disable all but quick look and load module
.TP
.B 5
Enable/disable the top menu (QuickLook, CPU, MEM and LOAD)
.TP
.B /
Switch between short name/command line (processes name)
.SH EXAMPLES