summaryrefslogtreecommitdiffstats
path: root/docs/quickstart.rst
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2018-02-11 11:02:16 +0100
committernicolargo <nicolas@nicolargo.com>2018-02-11 11:02:16 +0100
commitb091bdbb7bef1fa43c4be25df0b1e0b031901007 (patch)
tree25090342bbea5b7cb5331e4ef7079ca50054f964 /docs/quickstart.rst
parent0d029220dd4cc382590ad5f513832217f9ff9a1e (diff)
Add a new output mode to stdout #1168
Diffstat (limited to 'docs/quickstart.rst')
-rw-r--r--docs/quickstart.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index 786db787..32bc9b40 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -24,6 +24,19 @@ Glances should start (press 'q' or 'ESC' to exit):
.. image:: _static/screenshot-wide.png
+It is also possible to display stats directly to stdout using:
+
+.. code-block:: console
+
+ $ glances --stdout cpu.user,mem.used,load
+ cpu.user: 30.7
+ mem.used: 3278204928
+ load: {'cpucore': 4, 'min1': 0.21, 'min5': 0.4, 'min15': 0.27}
+ cpu.user: 3.4
+ mem.used: 3275251712
+ load: {'cpucore': 4, 'min1': 0.19, 'min5': 0.39, 'min15': 0.27}
+ ...
+
Client/Server Mode
------------------