diff options
author | Nicolas Hennion <nicolas@nicolargo.com> | 2012-12-12 18:10:26 +0100 |
---|---|---|
committer | Nicolas Hennion <nicolas@nicolargo.com> | 2012-12-12 18:10:26 +0100 |
commit | a8c57b8f16ef296b9b7e273fb7a0197cc4a4f601 (patch) | |
tree | ee7f07fe77e48fe1b1640959cc2fda84f723a6f7 | |
parent | ddc386d7b2bf06dfbd755b9f82d569645d7003e3 (diff) |
Update AUTHORS file
-rw-r--r-- | AUTHORS | 7 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | glances/glances.py | 20 |
3 files changed, 25 insertions, 4 deletions
@@ -1,5 +1,10 @@ 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 ============= diff --git a/glances/glances.py b/glances/glances.py index 89f75287..e3143f55 100755 --- a/glances/glances.py +++ b/glances/glances.py @@ -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) |