summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/_static/sparkline.pngbin0 -> 41952 bytes
-rw-r--r--docs/aoa/load.rst8
-rw-r--r--docs/aoa/quicklook.rst7
-rw-r--r--docs/man/glances.18
4 files changed, 20 insertions, 3 deletions
diff --git a/docs/_static/sparkline.png b/docs/_static/sparkline.png
new file mode 100644
index 00000000..6a44eded
--- /dev/null
+++ b/docs/_static/sparkline.png
Binary files differ
diff --git a/docs/aoa/load.rst b/docs/aoa/load.rst
index 7765ca63..30eb2e38 100644
--- a/docs/aoa/load.rst
+++ b/docs/aoa/load.rst
@@ -3,7 +3,7 @@
Load
====
-*Availability: Unix*
+*Availability: Unix and Windows with a PsUtil version >= 5.6.2*
.. image:: ../_static/load.png
@@ -14,8 +14,9 @@ on GNU/Linux operating system:
waiting in the run-queue plus the number currently executing
over 1, 5, and 15 minutes time periods."
-Be aware that Load on Linux and BSD are different things, high
-`load on BSD`_ does not means high CPU load.
+Be aware that Load on Linux, BSD and Windows are different things, high
+`load on BSD`_ does not means high CPU load. The Windows load is emulated
+by the PsUtil lib (see `load on Windows`_)
Glances gets the number of CPU core to adapt the alerts.
Alerts on load average are only set on 15 minutes time period.
@@ -38,3 +39,4 @@ Load avg Status
.. _load average: http://nosheep.net/story/defining-unix-load-average/
.. _load on BSD: http://undeadly.org/cgi?action=article&sid=20090715034920
+.. _load on Windows: https://psutil.readthedocs.io/en/latest/#psutil.getloadavg
diff --git a/docs/aoa/quicklook.rst b/docs/aoa/quicklook.rst
index d4e6c74f..3b2d0fa0 100644
--- a/docs/aoa/quicklook.rst
+++ b/docs/aoa/quicklook.rst
@@ -12,6 +12,13 @@ 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. 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::
Limit values can be overwritten in the configuration file under
the ``[quicklook]`` section.
diff --git a/docs/man/glances.1 b/docs/man/glances.1
index 2d3b7538..1ffed86b 100644
--- a/docs/man/glances.1
+++ b/docs/man/glances.1
@@ -303,6 +303,11 @@ display FS free space instead of used
.UNINDENT
.INDENT 0.0
.TP
+.B \-\-sparkline
+display sparlines instead of bar in the curses interface
+.UNINDENT
+.INDENT 0.0
+.TP
.B \-\-theme\-white
optimize display colors for white background
.UNINDENT
@@ -422,6 +427,9 @@ Show/hide RAID plugin
.B \fBs\fP
Show/hide sensors stats
.TP
+.B \fBS\fP
+Switch from bars to sparklines
+.TP
.B \fBt\fP
Sort process by CPU times (TIME+)
.TP