Add a F.A.Q in the documentation. Add respond for encoding issue

This commit is contained in:
nicolargo 2018-07-28 14:49:34 +02:00
parent fa58150db6
commit fa323bb181
3 changed files with 20 additions and 9 deletions

10
docs/faq.rst Normal file
View File

@ -0,0 +1,10 @@
.. _faq:
F.A.Q
=====
*Any encoding issue ?*
Try to run Glances with the following command line:
LANG=en_US.UTF-8 LC_ALL= glances

View File

@ -31,4 +31,5 @@ Table of Contents
aoa/index
gw/index
api
faq
support

View File

@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "GLANCES" "1" "Apr 02, 2018" "3.0.rc1" "Glances"
.TH "GLANCES" "1" "Jul 28, 2018" "3.0.rc5" "Glances"
.SH NAME
glances \- An eye on your system
.
@ -54,7 +54,7 @@ show this help message and exit
.INDENT 0.0
.TP
.B \-V, \-\-version
show program\(aqs version number and exit
show programs version number and exit
.UNINDENT
.INDENT 0.0
.TP
@ -114,7 +114,7 @@ light mode for Curses UI (disable all but top menu)
.INDENT 0.0
.TP
.B \-0, \-\-disable\-irix
task\(aqs CPU usage will be divided by the total number of CPUs
tasks CPU usage will be divided by the total number of CPUs
.UNINDENT
.INDENT 0.0
.TP
@ -449,7 +449,7 @@ Show/hide processes stats
.B \fB0\fP
Enable/disable Irix/Solaris mode
.sp
Task\(aqs CPU usage will be divided by the total number of CPUs
Tasks CPU usage will be divided by the total number of CPUs
.TP
.B \fB1\fP
Switch between global CPU and per\-CPU stats
@ -796,7 +796,7 @@ $ glances \-w
Monitor local machine and export stats to a CSV file:
.INDENT 0.0
.INDENT 3.5
$ glances \-\-export csv \-\-export\-csv\-file /tmp/glances.csv
$ glances export csv export\-csv\-file /tmp/glances.csv
.UNINDENT
.UNINDENT
.sp
@ -805,14 +805,14 @@ refresh time (also possible to export to OpenTSDB, Cassandra, Statsd,
ElasticSearch, RabbitMQ and Riemann):
.INDENT 0.0
.INDENT 3.5
$ glances \-t 5 \-\-export influxdb
$ glances \-t 5 export influxdb
.UNINDENT
.UNINDENT
.sp
It is also possible to export stats to multiple endpoints:
.INDENT 0.0
.INDENT 3.5
$ glances \-t 5 \-\-export influxdb,statsd,csv
$ glances \-t 5 export influxdb,statsd,csv
.UNINDENT
.UNINDENT
.sp
@ -833,14 +833,14 @@ $ glances \-c <ip_server>
Connect to a Glances server and export stats to a StatsD server:
.INDENT 0.0
.INDENT 3.5
$ glances \-c <ip_server> \-\-export statsd
$ glances \-c <ip_server> export statsd
.UNINDENT
.UNINDENT
.sp
Start the client browser (browser mode):
.INDENT 0.0
.INDENT 3.5
$ glances \-\-browser
$ glances browser
.UNINDENT
.UNINDENT
.SH AUTHOR