summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStefan Raspl <raspl@linux.vnet.ibm.com>2017-06-07 21:08:36 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-06-08 18:17:28 +0200
commitf6d753102a2469ae4ce08ef3e34d170ec583fb50 (patch)
tree250a46ed45de1b45dc0c14b924d29778cc36cf60 /tools
parent5725393764a342b6a5420fdd10184984ca08b5f6 (diff)
downloadop-kernel-dev-f6d753102a2469ae4ce08ef3e34d170ec583fb50.zip
op-kernel-dev-f6d753102a2469ae4ce08ef3e34d170ec583fb50.tar.gz
tools/kvm_stat: make heading look a bit more like 'top'
Print header in standout font just like the 'top' command does. Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/kvm/kvm_stat/kvm_stat3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat
index 790fbce..35147e4 100755
--- a/tools/kvm/kvm_stat/kvm_stat
+++ b/tools/kvm/kvm_stat/kvm_stat
@@ -982,7 +982,8 @@ class Tui(object):
regex = regex[:MAX_REGEX_LEN] + '...'
self.screen.addstr(1, 17, 'regex filter: {0}'.format(regex))
self.screen.addstr(2, 1, '%-40s %10s%7s %7s' %
- ('Event', 'Total', '%Total', 'Current'))
+ ('Event', 'Total', '%Total', 'Current'),
+ curses.A_STANDOUT)
self.screen.addstr(4, 1, 'Collecting data...')
self.screen.refresh()
OpenPOWER on IntegriCloud