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

Update AUTHORS file

上级 ddc386d7
Nicolas Hennion (aka) Nicolargo
http://www.nicolargo.com
http://blog.nicolargo.com
https://twitter.com/nicolargo
contact@nicolargo.com
Alessio Sergi (aka) Al3hex
https://twitter.com/al3hex
Brandon Philips (aka) Philips
http://ifup.org/
......@@ -3,6 +3,8 @@ Version 1.5.2
* Add sensors module (enable it with -e option)
* Improve CPU stats (IO wait, Nice, IRQ)
* More stats in lower space (yes it is possible)
* Refactor processes list and count (lower CPU/MEM footprint)
Version 1.5.1
=============
......
......@@ -827,15 +827,29 @@ class GlancesStats:
self.fs = self.glancesgrabfs.get()
# PROCESS
# TODO: Add IO rate -1
#~ self.glancesgrabprocesses.update()
#~ process = self.glancesgrabprocesses.getlist()
#~ processcount = self.glancesgrabprocesses.getcount()
#~ if not hasattr(self, 'process_old'):
#~ self.processcount = {}
#~ self.process = []
#~ self.process_old = process
#~ else:
#~ self.processcount = processcount
#~ self.process = process
#~ for proc in self.process:
#~ pass
#~ self.process_old = process
self.glancesgrabprocesses.update()
process = self.glancesgrabprocesses.getlist()
processcount = self.glancesgrabprocesses.getcount()
if not hasattr(self, 'process'):
self.process = []
if not hasattr(self, 'process'):
self.processcount = {}
self.process = []
else:
self.process = process
self.processcount = processcount
self.process = process
# Initialiation of the running processes list
# Data are refreshed every two cycle (refresh_time * 2)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册