From a08b4099298147494f37e1030edc536649309567 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 22 Sep 2020 02:23:55 -0700 Subject: [PATCH] modules/console: Add cache info line to column summary. --- modules/console.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/console.cc b/modules/console.cc index ada020de7..1a7201d02 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -5434,7 +5434,7 @@ try if(c) { - out << std::endl; + out << "\n--- files:" << std::endl; _print_sst_info_header(out); db::database::sst::info::vector vector{c}; std::sort(begin(vector), end(vector), [] @@ -5445,6 +5445,10 @@ try for(const auto &info : vector) _print_sst_info(out, info); + + out << std::setfill(' '); + out << "\n--- caches:" << std::endl; + console_cmd__db__cache(out, line); } else {