mrtg-load command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mrtg-load: command not found
or when using sudo you get the following error message
sudo: mrtg-load: command not found
Solutions to mrtg-load: command not found
How To Fix mrtg-load: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mrtg-load is provided by mrtgutils package.
mrtgutils is:
MRTGutils is a collection of simple utilities to generate output useful for mrtg. Many of the existing mrtg setups use shell or perl scripts to gather output. On busy systems, these scripts can generate a lot of extra load. These (small) C programs can return the given statistics more efficiently.
This package provides the following binaries that return:
- mrtg-load: the current load average (5-minute average)
- mrtg-ip-acct: the number of IP packets that have traversed an interface
- mrtg-apache: the number of hits to a Apache web site
To fix this problem, we can install more using the command below.
sudo apt-get -y install mrtgutils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mrtgutils.
sudo apt -y install mrtgutils
Or if you have aptitude installed you can use the following command.
sudo aptitude install mrtgutils
Summary
In this tutorial we learn how to fix mrtg-load command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.