Skip to content

Commit

Permalink
Add a space in top-cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
scottchiefbaker committed Sep 10, 2019
1 parent f961f50 commit a2912e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/dool_top_cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def extract(self):
# self.val['name'] = name

if self.val['max'] != 0.0:
self.output = '%-*s%s' % (self.width-3, self.val['name'][0:self.width-3], cprint(self.val['max'], 'f', 3, 34))
self.output = '%-*s%s' % (self.width-3, self.val['name'][0:self.width-4], cprint(self.val['max'], 'f', 3, 34))

### Debug (show PID)
# self.output = '%*s %-*s' % (5, self.val['pid'], self.width-6, self.val['name'])
Expand Down

0 comments on commit a2912e3

Please sign in to comment.