Permalink
Browse files

Small changes, nearing new release

  • Loading branch information...
1 parent efc3688 commit 2368386ba61d1509e4f7c513c9ebb1c53f9de6c5 @dagwieers committed Jun 23, 2006
Showing with 7 additions and 7 deletions.
  1. +2 −2 ChangeLog
  2. +2 −1 TODO
  3. +3 −4 dstat
View
@@ -1,5 +1,4 @@
-* 0.6.3 - ... - release ../../....
-- Added load to default output (since we have extra space for it)
+* 0.6.3 - Amsterdam - released 23/06/2006
- Changed default (silver) color of delimiter to gray
- Fixed sum() and enumerate() only when it isn't there (Jesse Young)
- Added external plugins dstat_app
@@ -10,6 +9,7 @@
- Added individual swap monitoring (-s with -S)
- Small performance improvements
- Raise module exceptions when --debug is invoked
+- Removed the memory-leaking curses implementation (supastuff@freenode)
* 0.6.2 - Cumbernauld - released 08/03/2006
- Fixed situation where no TERM environment variable was set (William Webber)
View
3 TODO
@@ -45,13 +45,14 @@ contact me as well. :) Send an email to: Dag Wieers <dag@wieers.com>
+ Python 1.5 prints 'L' for long, crashes when int()
+ Implement better (?) protection against counter rollovers (see mail from Sebastien Prud'homme)
+ Plugins currently have to be written in python 1.5 to work for dstat15 (lowest common denominator)
-+ One of the plugins (or the main implementation) has a memory leak after days of running 200MB of memory is not uncommon (python 2.2.3 memory leak ?)
### Plugin issues
+ tcp plugin is very slow and generates lots of softirqs (on busy systems), to be confirmed
+ proc plugin (run and blk) does not work on 2.4.24+, to be confirmed
+ proc plugin seem to be off-by-one compared to vmstat (some of the time, this is what I get from /proc/stat)
+ /proc/partitions can have negative numbers, seen on systems with long uptime. dstat handles this except for calculating the very first stat, no work-around possible?
++ app plugin is reasonably slow
++ new swap plugin is slower than swapold
### Redesign (v2.0)
+ Create modules that can contain samples of different units
View
7 dstat
@@ -160,7 +160,7 @@ class Options:
self.modlist.append('sys')
elif opt in ['-a', '--all']:
- self.modlist = self.modlist + [ 'cpu', 'disk', 'net', 'page', 'sys', 'load' ]
+ self.modlist = self.modlist + [ 'cpu', 'disk', 'net', 'page', 'sys' ]
elif opt in ['-v', '--vmstat']:
self.modlist = self.modlist + [ 'proc', 'mem', 'page', 'disk', 'sys', 'cpu' ]
elif opt in ['-f', '--full']:
@@ -186,7 +186,7 @@ class Options:
exit(0)
if not self.modlist:
- self.modlist = [ 'cpu', 'disk', 'net', 'page', 'sys', 'load' ]
+ self.modlist = [ 'cpu', 'disk', 'net', 'page', 'sys' ]
try:
if len(args) > 0: self.delay = int(args[0])
@@ -1174,8 +1174,7 @@ class dstat_swap(dstat):
l = line.split()
if len(l) < 5 or l[0] == 'Filename': continue
name = l[0]
- if name in self.vars:
- self.val[name] = ( long(l[3]) * 1024.0, (long(l[2]) - long(l[3])) * 1024.0 )
+ self.val[name] = ( long(l[3]) * 1024.0, (long(l[2]) - long(l[3])) * 1024.0 )
self.val['total'] = ( self.val['total'][0] + self.val[name][0], self.val['total'][1] + self.val[name][1])
class dstat_swapold(dstat):

0 comments on commit 2368386

Please sign in to comment.