fatrace(8) | System Manager's Manual | fatrace(8) |
fatrace - report system wide file access events
fatrace [ OPTIONS ]
fatrace reports file access events from all running processes.
It does not report file access by fatrace itself, to avoid logging events caused by writing the output into a file. It also ignores events on virtual and kernel file systems such as sysfs, proc, and devtmpfs.
Its main purpose is to find processes which keep waking up the disk unnecessarily and thus prevent some power saving.
By default, events are reported to stdout. This will cause some loops if you run this tool in e. g. gnome-terminal, as this causes a disk access for every output line. To avoid this, redirect the output into a file.
A typical event looks like
The line has the following fields:
Directory events can only be detected on Linux 5.1 or higher.
E. g. use --filter=OC to only show open and close events.
fatrace is developed by Martin Pitt <martin@piware.de>.
August 20, 2020 | Martin Pitt |