提交 ae12132b 编写于 作者: N Nicolas Hennion

Update doc

上级 cc227c1d
......@@ -130,6 +130,12 @@ The header shows the host name and the operating system name, version and archit
The CPU states are shown as a percentage and for the configured refresh
time. The total CPU usage is displayed on the first line.
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/percpu.png)
If horizontal space is available, per core CPU infomations are displayed.
Color code used:
If user|kernel|nice CPU is < 50%, then status is set to "OK".
If user|kernel|nice CPU is > 50%, then status is set to "CAREFUL".
......
......@@ -127,6 +127,13 @@ qu'une information sur le système d'exploitation (nom, version).
L'état de la CPU est affiché par un pourcentage de l'utilisation globale.
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/percpu.png)
Si la taille de la fenêtre est suffisante, Glances affiche les informations
de CPU par coeur.
Les codes couleurs suivant sont utilisés:
Si user|kernel|nice CPU est < 50%, alors le status est "OK".
Si user|kernel|nice CPU est > 50%, alors le status est "CAREFUL".
......
......@@ -130,6 +130,12 @@ The header shows the host name and the operating system name, version and archit
The CPU states are shown as a percentage and for the configured refresh
time. The total CPU usage is displayed on the first line.
![screenshot](https://github.com/nicolargo/glances/raw/master/doc/percpu.png)
If horizontal space is available, per core CPU infomations are displayed.
Color code used:
If user|kernel|nice CPU is < 50%, then status is set to "OK".
If user|kernel|nice CPU is > 50%, then status is set to "CAREFUL".
......
......@@ -552,6 +552,11 @@ class glancesStats:
self.load = {}
# MEM
# !!! TODO
# Mem functions Pending deprecation warning in PsUtil 0.5.1
# See the forum: http://bit.ly/LPMXMP
# !!!
#
try:
# Only for Linux
cachemem = psutil.cached_phymem() + psutil.phymem_buffers()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册