[svn] r6261 - in trunk/tools/dstat: . plugins

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Thu Apr 10 12:25:34 CEST 2008


Author: dag
Date: 2008-04-10 11:25:34 +0100 (Thu, 10 Apr 2008)
New Revision: 6261

Modified:
   trunk/tools/dstat/ChangeLog
   trunk/tools/dstat/dstat
   trunk/tools/dstat/plugins/dstat_topbio.py
   trunk/tools/dstat/plugins/dstat_topio.py
Log:
Fixed typo in dstat_topio and dstat_topbio when using CSV output (Bharvani Toshaan)

Modified: trunk/tools/dstat/ChangeLog
===================================================================
--- trunk/tools/dstat/ChangeLog	2008-04-10 10:12:50 UTC (rev 6260)
+++ trunk/tools/dstat/ChangeLog	2008-04-10 10:25:34 UTC (rev 6261)
@@ -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

Modified: trunk/tools/dstat/dstat
===================================================================
--- trunk/tools/dstat/dstat	2008-04-10 10:12:50 UTC (rev 6260)
+++ trunk/tools/dstat/dstat	2008-04-10 10:25:34 UTC (rev 6261)
@@ -1946,6 +1946,7 @@
     ### 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
 

Modified: trunk/tools/dstat/plugins/dstat_topbio.py
===================================================================
--- trunk/tools/dstat/plugins/dstat_topbio.py	2008-04-10 10:12:50 UTC (rev 6260)
+++ trunk/tools/dstat/plugins/dstat_topbio.py	2008-04-10 10:25:34 UTC (rev 6261)
@@ -91,6 +91,6 @@
             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

Modified: trunk/tools/dstat/plugins/dstat_topio.py
===================================================================
--- trunk/tools/dstat/plugins/dstat_topio.py	2008-04-10 10:12:50 UTC (rev 6260)
+++ trunk/tools/dstat/plugins/dstat_topio.py	2008-04-10 10:25:34 UTC (rev 6261)
@@ -91,6 +91,6 @@
             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



More information about the svn-commits mailing list