fatrace command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
fatrace: command not found
or when using sudo you get the following error message
sudo: fatrace: command not found
Solutions to fatrace: command not found
How To Fix fatrace: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu fatrace is provided by fatrace package.
fatrace is:
fatrace reports file access events from all running processes. Its main purpose is to find processes which keep waking up the disk unnecessarily and thus prevent some power saving.
This package also contains a “power-usage-report” tool, which uses fatrace and powertop to build a textual report from one minute of measuring power usage and file accesses. This does not take any arguments or requires any interactivity, so is very simple to use and serves as a starting point for bug reports or optimizing a particular installation.
To fix this problem, we can install more using the command below.
sudo apt-get -y install fatrace
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install fatrace.
sudo apt -y install fatrace
Or if you have aptitude installed you can use the following command.
sudo aptitude install fatrace
Summary
In this tutorial we learn how to fix fatrace command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.