提交 4dafdd60 编写于 作者: A Alessio Sergi

Fix Glances 1.7 to work on FreeBSD and OS X (issue #274)

上级 718f3825
......@@ -2373,8 +2373,9 @@ class glancesScreen:
cpu['user'], proclist)
logs.add(self.__getCpuAlert(cpu['system'], stat = "SYSTEM"), "CPU system",
cpu['system'], proclist)
logs.add(self.__getCpuAlert(cpu['iowait'], stat = "IOWAIT"), "CPU IOwait",
cpu['iowait'], proclist)
if 'iowait' in cpu:
logs.add(self.__getCpuAlert(cpu['iowait'], stat = "IOWAIT"), "CPU IOwait",
cpu['iowait'], proclist)
# Display per-CPU stats
if screen_y > self.cpu_y + 5 and tag_percpu:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册