mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-24 05:15:47 +03:00
Update documentation for sparklines.
This commit is contained in:
parent
a35a7d547b
commit
c3f04f2cca
BIN
docs/_static/sparkline.png
vendored
Normal file
BIN
docs/_static/sparkline.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
@ -12,6 +12,13 @@ If the per CPU mode is on (by clicking the ``1`` key):
|
|||||||
|
|
||||||
.. image:: ../_static/quicklook-percpu.png
|
.. image:: ../_static/quicklook-percpu.png
|
||||||
|
|
||||||
|
In the Curses/terminal interface, it is also possible to switch from bar to
|
||||||
|
sparkline using 'S' hot key or --sparkline command line option. Please be
|
||||||
|
aware that sparklines use the Glances history and will not be available
|
||||||
|
if the history is disabled from the command line.
|
||||||
|
|
||||||
|
.. image:: ../_static/sparkline.png
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Limit values can be overwritten in the configuration file under
|
Limit values can be overwritten in the configuration file under
|
||||||
the ``[quicklook]`` section.
|
the ``[quicklook]`` section.
|
||||||
|
@ -303,6 +303,11 @@ display FS free space instead of used
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
|
.B \-\-sparkline
|
||||||
|
display sparlines instead of bar in the curses interface
|
||||||
|
.UNINDENT
|
||||||
|
.INDENT 0.0
|
||||||
|
.TP
|
||||||
.B \-\-theme\-white
|
.B \-\-theme\-white
|
||||||
optimize display colors for white background
|
optimize display colors for white background
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
@ -422,6 +427,9 @@ Show/hide RAID plugin
|
|||||||
.B \fBs\fP
|
.B \fBs\fP
|
||||||
Show/hide sensors stats
|
Show/hide sensors stats
|
||||||
.TP
|
.TP
|
||||||
|
.B \fBS\fP
|
||||||
|
Switch from bars to sparklines
|
||||||
|
.TP
|
||||||
.B \fBt\fP
|
.B \fBt\fP
|
||||||
Sort process by CPU times (TIME+)
|
Sort process by CPU times (TIME+)
|
||||||
.TP
|
.TP
|
||||||
|
@ -241,7 +241,7 @@ Examples of use:
|
|||||||
parser.add_argument('--fs-free-space', action='store_true', default=False,
|
parser.add_argument('--fs-free-space', action='store_true', default=False,
|
||||||
dest='fs_free_space', help='display FS free space instead of used')
|
dest='fs_free_space', help='display FS free space instead of used')
|
||||||
parser.add_argument('--sparkline', action='store_true', default=False,
|
parser.add_argument('--sparkline', action='store_true', default=False,
|
||||||
dest='sparkline', help='displat sparklines instead of bar in the curses interface')
|
dest='sparkline', help='display sparklines instead of bar in the curses interface')
|
||||||
parser.add_argument('--theme-white', action='store_true', default=False,
|
parser.add_argument('--theme-white', action='store_true', default=False,
|
||||||
dest='theme_white', help='optimize display colors for white background')
|
dest='theme_white', help='optimize display colors for white background')
|
||||||
# Globals options
|
# Globals options
|
||||||
|
Loading…
Reference in New Issue
Block a user