Permalink
Browse files

Fixed typo in dstat_topio and dstat_topbio when using CSV output (Bha…

…rvani Toshaan)
  • Loading branch information...
1 parent 6bf4b6c commit 4278df6e6dad81fa4c9bd146ee788432493dfbad @dagwieers committed Apr 10, 2008
Showing with 4 additions and 2 deletions.
  1. +1 −0 ChangeLog
  2. +1 −0 dstat
  3. +1 −1 plugins/dstat_topbio.py
  4. +1 −1 plugins/dstat_topio.py
View
@@ -13,6 +13,7 @@
- Fixed permissions of plugins (Andrew Pollock)
- Fixed exception when specifying -I eth0 (Radek Brich)
- dstat_int plugin now allows -I total (Radek Brich)
+- Fixed typo in dstat_topio and dstat_topbio when using CSV output (Bharvani Toshaan)
* 0.6.7 - Cambridge overdue - released 26/02/2008
- Only rewrite xterm title when XTERM_SHELL is set to bash
View
1 dstat
@@ -1946,6 +1946,7 @@ def main():
### Let the games begin
while update <= op.delay * op.count or op.count == -1:
scheduler.enterabs(inittime + update, 1, perform, (update,))
+# scheduler.enter(1, 1, perform, (update,))
scheduler.run()
update = update + interval
View
@@ -91,6 +91,6 @@ def show(self):
return '%s%-*s%s:%s' % (ansi['default'], self.format[1]-11, self.val['process'][0:self.format[1]-11], cprint(self.val['read_usage'], ('f', 5, 1024)), cprint(self.val['write_usage'], ('f', 5, 1024)))
def showcsv(self):
- return '%s / %d:%d' % (self.val['name'], self.val['read_usage'], selv.val['write_usage'])
+ return '%s / %d:%d' % (self.val['name'], self.val['read_usage'], self.val['write_usage'])
# vim:ts=4:sw=4:et
View
@@ -91,6 +91,6 @@ def show(self):
return '%s%-*s%s:%s' % (ansi['default'], self.format[1]-11, self.val['process'][0:self.format[1]-11], cprint(self.val['read_usage'], ('f', 5, 1024)), cprint(self.val['write_usage'], ('f', 5, 1024)))
def showcsv(self):
- return '%s / %d:%d' % (self.val['name'], self.val['read_usage'], selv.val['write_usage'])
+ return '%s / %d:%d' % (self.val['name'], self.val['read_usage'], self.val['write_usage'])
# vim:ts=4:sw=4:et

0 comments on commit 4278df6

Please sign in to comment.