How To Install blktrace on Fedora 34
Introduction
In this tutorial we learn how to install blktrace
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install blktrace.
Install blktrace on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install blktrace
using dnf
by running the following command:
sudo dnf -y install blktrace
Install blktrace on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the blktrace
package we can use the following command:
sudo dnf remove blktrace
blktrace Package Contents on Fedora 34
/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/11
/usr/lib/.build-id/11/613a88f4badcf77bca1294ec47db1ce3b9f47a
/usr/lib/.build-id/68
/usr/lib/.build-id/68/e2175356529447d30bd2f388adca8e5fa4cada
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/1a4c8bef09b45f5c03f77b5461ab80986eb984
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/965e943ed1f46c3e3abd14143d0f827a928d28
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/72d234f51fffaeba7780a078068d1573dc95ac
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/4e12ce1eb61ed3908abb05d457e5053b88ad63
/usr/lib/.build-id/de
/usr/lib/.build-id/de/2cb85189cff4bb1b2144107a1ec1dca7c45b3f
/usr/lib/.build-id/df
/usr/lib/.build-id/df/037b133c493f2019da01f72f8b61ccd9701f47
/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 34 using yum and dnf.