power-usage-report

report system wide file access events

Install

All systems
curl cmd.cat/power-usage-report.sh
Debian Debian
apt-get install fatrace
Ubuntu
apt-get install fatrace
image/svg+xml Kali Linux
apt-get install fatrace
Fedora
dnf install fatrace
Windows (WSL2)
sudo apt-get update sudo apt-get install fatrace
Raspbian
apt-get install fatrace

fatrace

report system wide file access events

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.