summaryrefslogtreecommitdiffstats
path: root/docs/aoa/quicklook.rst
blob: 82fac3aae2cc517845916e48e61eaa610c395d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.. _quicklook:

Quick Look
==========

The ``quicklook`` plugin is only displayed on wide screen and proposes a
bar view for cpu, memory, swap and load (this list is configurable).

In the terminal interface, click on ``3`` to enable/disable it.

.. image:: ../_static/quicklook.png

If the per CPU mode is on (by clicking the ``1`` key):

.. 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 (need the
sparklines Python lib on your system). Please be aware that sparklines use
the Glances history and will not be available if the history is disabled
from the command line. For the moment sparkline is not available in
client/server mode (see issue ).

.. image:: ../_static/sparkline.png

.. note::
    Limit values can be overwritten in the configuration file under
    the ``[quicklook]`` section.

You can also configure the stats list and the bat character used in the
user interface.

.. code-block:: ini

    [quicklook]
    # Stats list (default is cpu,mem,load)
    # Available stats are: cpu,mem,load,swap
    list=cpu,mem,load
    # Graphical percentage char used in the terminal user interface (default is |)
    bar_char=|