memstat command not found

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

Introduction

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

memstat: command not found

or when using sudo you get the following error message

sudo: memstat: command not found

Solutions to memstat: command not found

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

In Ubuntu memstat is provided by memstat package.

memstat is:

Lists all the processes, executables, and shared libraries that are using up virtual memory. It’s helpful to see how the shared memory is used and which ‘old’ libs are loaded.

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

sudo apt-get -y install memstat

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

You can also use apt command to install memstat.

sudo apt -y install memstat

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

sudo aptitude install memstat

Summary

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