diff --git a/utils/mqnic-dump.c b/utils/mqnic-dump.c index d19d56a77..ba0eafcab 100644 --- a/utils/mqnic-dump.c +++ b/utils/mqnic-dump.c @@ -471,6 +471,15 @@ int main(int argc, char *argv[]) } } + if (dev->stats_rb) + { + printf("Statistics counters\n"); + for (int k = 0; k < dev->stats_count; k++) + { + printf("Index %d: %lu\n", k, mqnic_stats_read(dev, k)); + } + } + err: mqnic_close(dev);