Add comments

This commit is contained in:
Nicolas Hennion 2013-01-11 10:04:59 +01:00
parent 68e84d435f
commit 9f3184f48b

View File

@ -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(