summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Hennion <nicolas@nicolargo.com>2012-12-12 18:10:26 +0100
committerNicolas Hennion <nicolas@nicolargo.com>2012-12-12 18:10:26 +0100
commita8c57b8f16ef296b9b7e273fb7a0197cc4a4f601 (patch)
treeee7f07fe77e48fe1b1640959cc2fda84f723a6f7
parentddc386d7b2bf06dfbd755b9f82d569645d7003e3 (diff)
Update AUTHORS file
-rw-r--r--AUTHORS7
-rw-r--r--NEWS2
-rwxr-xr-xglances/glances.py20
3 files changed, 25 insertions, 4 deletions
diff --git a/AUTHORS b/AUTHORS
index f199c1db..7f3c1857 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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/
diff --git a/NEWS b/NEWS
index b23c4f3f..5c02fed2 100644
--- a/NEWS
+++ b/NEWS
@@ -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)