From ad93633d10d36c350cd5dabf0758149042fd3326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Fri, 3 Mar 2023 16:02:37 +0300 Subject: [PATCH] =?UTF-8?q?mdbx-tools:=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20?= =?UTF-8?q?=D0=B2=D1=81=D0=B5=D1=85=20=D1=81=D1=87=D0=B5=D1=82=D1=87=D0=B8?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2=20page-operations=20=D0=B2=20`mdbx=5Fstat`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mdbx_stat.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/mdbx_stat.c b/src/mdbx_stat.c index 860cf54d..adedc13e 100644 --- a/src/mdbx_stat.c +++ b/src/mdbx_stat.c @@ -256,6 +256,17 @@ int main(int argc, char *argv[]) { printf(" WOP: %8" PRIu64 "\t// number of explicit write operations (not a pages) to a disk\n", mei.mi_pgop_stat.wops); + printf(" PreFault: %8" PRIu64 + "\t// number of prefault write operations (not a pages)\n", + mei.mi_pgop_stat.prefault); + printf(" mInCore: %8" PRIu64 "\t// number of mincore() calls\n", + mei.mi_pgop_stat.mincore); + printf(" mSync: %8" PRIu64 + "\t// number of explicit msync-to-disk operations (not a pages)\n", + mei.mi_pgop_stat.msync); + printf(" fSync: %8" PRIu64 + "\t// number of explicit fsync-to-disk operations (not a pages)\n", + mei.mi_pgop_stat.fsync); } if (envinfo) {