mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-23 17:22:46 +03:00
Add comments
This commit is contained in:
parent
68e84d435f
commit
9f3184f48b
@ -1866,6 +1866,8 @@ class glancesScreen:
|
|||||||
format(percpu[i]['system'] / 100, '>6.1%'), 6,
|
format(percpu[i]['system'] / 100, '>6.1%'), 6,
|
||||||
self.__getCpuColor2(percpu[i]['system'], stat = 'system'))
|
self.__getCpuColor2(percpu[i]['system'], stat = 'system'))
|
||||||
|
|
||||||
|
# If the IOWait stat is available then display it
|
||||||
|
# else display the IDLE stat
|
||||||
if 'iowait' in percpu[i]:
|
if 'iowait' in percpu[i]:
|
||||||
# iowait
|
# iowait
|
||||||
self.term_window.addnstr(
|
self.term_window.addnstr(
|
||||||
|
Loading…
Reference in New Issue
Block a user