[svn] r5538 - trunk/tools/dstat/plugins
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Sun Jun 24 21:56:58 CEST 2007
Author: dag
Date: 2007-06-24 21:56:58 +0200 (Sun, 24 Jun 2007)
New Revision: 5538
Modified:
trunk/tools/dstat/plugins/dstat_topcpu.py
Log:
Updates
Modified: trunk/tools/dstat/plugins/dstat_topcpu.py
===================================================================
--- trunk/tools/dstat/plugins/dstat_topcpu.py 2007-06-24 19:56:14 UTC (rev 5537)
+++ trunk/tools/dstat/plugins/dstat_topcpu.py 2007-06-24 19:56:58 UTC (rev 5538)
@@ -66,7 +66,7 @@
def show(self):
if self.val['usage'] == 0.0:
- return '%-s%s' % (self.format[1], '')
+ return '%-*s' % (self.format[1], '')
else:
return '%s%-*s%s%3d' % (ansi['default'], self.format[1]-3, self.val['process'], ansi['yellow'], round(self.val['usage']))
More information about the svn-commits
mailing list