summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-12-18 12:40:56 +0000
committerLars Wirzenius <liw@liw.fi>2011-12-18 12:40:56 +0000
commit6597cbfa48f814981e2298b2d4691229a21784fc (patch)
tree69e320dc2b1e9c5e467e611b31ce5e9c1c283fea
parent00f96d1c5773d251fa92c34a19c1afdfd13d059e (diff)
downloadseivot-6597cbfa48f814981e2298b2d4691229a21784fc.tar.gz
make seivots-summary report fsck and verify results
-rwxr-xr-xseivots-summary10
1 files changed, 9 insertions, 1 deletions
diff --git a/seivots-summary b/seivots-summary
index ed0a404..f77109b 100755
--- a/seivots-summary
+++ b/seivots-summary
@@ -101,7 +101,9 @@ class SeivotsSummary(cliapp.Application):
for group, caption in self.find_groups(seivots):
title = 'Profile: %s' % caption
self.output.write('%s\n%s\n\n' % (title, '-' * len(title)))
- for op in ['backup', 'restore', 'list_files', 'forget']:
+ ops = ['backup', 'restore', 'list_files', 'forget', 'fsck',
+ 'verify']
+ for op in ops:
self.output.write('Operation: %s\n\n' % op)
table = self.make_table(group, op)
table.write_plaintext(self.output)
@@ -142,6 +144,12 @@ class SeivotsSummary(cliapp.Application):
'forget':
('gen0-time', 'gen0-ram', 'slowest-time', 'biggest-ram',
'repo-writes', 'repo-reads'),
+ 'fsck':
+ ('gen0-time', 'gen0-ram', 'slowest-time', 'biggest-ram',
+ 'repo-writes', 'repo-reads'),
+ 'verify':
+ ('gen0-time', 'gen0-speed', 'gen0-ram', 'slowest-time',
+ 'slowest-speed', 'biggest-ram','repo-writes', 'repo-reads'),
}
suffix = ('branch', 'description')
colnames = prefix + which[op] + suffix