momd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
momd: command not found
or when using sudo you get the following error message
sudo: momd: command not found
Solutions to momd: command not found
How To Fix momd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu momd is provided by mom package.
mom is:
MOM is a policy-driven tool that can be used to manage overcommitment on KVM hosts. Using libvirt, MOM keeps track of active virtual machines on a host. At a regular collection interval, data is gathered about the host and guests. Data can come from multiple sources (eg. the /proc interface, libvirt API calls, a client program connected to a guest, etc). Once collected, the data is organized for use by the policy evaluation engine. When started, MOM accepts a user-supplied overcommitment policy. This policy is regularly evaluated using the latest collected data. In response to certain conditions, the policy may trigger reconfiguration of the system’s overcommitment mechanisms. Currently MOM supports control of memory ballooning and KSM but the architecture is designed to accommodate new mechanisms such as cgroups.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mom
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mom.
sudo apt -y install mom
Or if you have aptitude installed you can use the following command.
sudo aptitude install mom
Summary
In this tutorial we learn how to fix momd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.