smemstat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
smemstat: command not found
or when using sudo you get the following error message
sudo: smemstat: command not found
Solutions to smemstat: command not found
How To Fix smemstat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu smemstat is provided by smemstat package.
smemstat is:
Smemstat reports the physical memory usage taking into consideration shared memory. The tool can either report a current snapshot of memory usage or periodically dump out any changes in memory.
To fix this problem, we can install more using the command below.
sudo apt-get -y install smemstat
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install smemstat.
sudo apt -y install smemstat
Or if you have aptitude installed you can use the following command.
sudo aptitude install smemstat
Summary
In this tutorial we learn how to fix smemstat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.