How To Install blktrace on Fedora 36
Introduction
In this tutorial we learn how to install blktrace
on Fedora 36.
What is blktrace
blktrace is a block layer IO tracing mechanism which provides detailed information about request queue operations to user space. This package includes both blktrace, a utility which gathers event traces from the kernel; and blkparse, a utility which formats trace data collected by blktrace. You should install the blktrace package if you need to gather detailed information about IO patterns.
We can use yum
or dnf
to install blktrace
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install blktrace.
Install blktrace on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install blktrace
using dnf
by running the following command:
sudo dnf -y install blktrace
Install blktrace on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install blktrace
using yum
by running the following command:
sudo yum -y install blktrace
How To Uninstall blktrace on Fedora 36
To uninstall only the blktrace
package we can use the following command:
sudo dnf remove blktrace
blktrace Package Contents on Fedora 36
/usr/bin/blkiomon
/usr/bin/blkparse
/usr/bin/blkrawverify
/usr/bin/blktrace
/usr/bin/bno_plot.py
/usr/bin/btrace
/usr/bin/btrecord
/usr/bin/btreplay
/usr/bin/btt
/usr/bin/verify_blkparse
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/f930b34878b0edb004e18e9a220177ea8dc963
/usr/lib/.build-id/09
/usr/lib/.build-id/09/68e4d50f02707af6e6b92eec11aa28cfac3cd8
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/823eaeee35b1952ad54697f0df1817c9e94b76
/usr/lib/.build-id/41
/usr/lib/.build-id/41/2afab9e8b6ff529e8dcfcb4af566602afb85c6
/usr/lib/.build-id/51
/usr/lib/.build-id/51/14aec518354e7d6cb5c41cc271e385e05a475f
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/af03a0ae73b1ac6a290726b1743757ce160c42
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/dade4ce84b81866692b5f071217357f45e572a
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/f1426a8c81cc7ce07356bdf56dee70cf423da5
/usr/share/doc/blktrace
/usr/share/doc/blktrace/COPYING
/usr/share/doc/blktrace/README
/usr/share/man/man1/blkparse.1.gz
/usr/share/man/man1/blkrawverify.1.gz
/usr/share/man/man1/bno_plot.1.gz
/usr/share/man/man1/btt.1.gz
/usr/share/man/man1/verify_blkparse.1.gz
/usr/share/man/man8/blkiomon.8.gz
/usr/share/man/man8/blktrace.8.gz
/usr/share/man/man8/btrace.8.gz
/usr/share/man/man8/btrecord.8.gz
/usr/share/man/man8/btreplay.8.gz
References
Summary
In this tutorial we learn how to install blktrace
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).