vma_stats command not found

In this troubleshooting guide we learn how to fix vma_stats command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

vma_stats: command not found

or when using sudo you get the following error message

sudo: vma_stats: command not found

Solutions to vma_stats: command not found

How To Fix vma_stats: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vma_stats is provided by libvma-utils package.

libvma-utils is:

libvma is a LD_PRELOAD-able library that boosts performance of TCP and UDP traffic. It allows application written over standard socket API to handle fast path data traffic from user space over Ethernet and/or Infiniband with full network stack bypass and get better throughput, latency and packets/sec rate.

No application binary change is required for that. libvma is supported by RDMA capable devices that support “verbs” IBV_QPT_RAW_PACKET QP for Ethernet and/or IBV_QPT_UD QP for IPoIB.

This package contains the tool vma_stats for collecting and analyzing Libvma statistic.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libvma-utils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libvma-utils.

sudo apt -y install libvma-utils

Or if you have aptitude installed you can use the following command.

sudo aptitude install libvma-utils

Summary

In this tutorial we learn how to fix vma_stats command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.