How To Install blktrace.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install blktrace.x86_64 on Amazon Linux 2.
What is blktrace.x86_64
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 to install blktrace.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install blktrace.x86_64.
Install blktrace.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install blktrace.x86_64 using yum by running the following command:
sudo yum -y install blktrace.x86_64
How To Uninstall blktrace.x86_64 on Amazon Linux 2
To uninstall only the blktrace.x86_64 package we can use the following command:
sudo yum remove blktrace.x86_64
blktrace.x86_64 Package Contents on Amazon Linux 2
/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/share/doc/blktrace-1.0.5
/usr/share/doc/blktrace-1.0.5/COPYING
/usr/share/doc/blktrace-1.0.5/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.x86_64 on Amazon Linux 2 using yum.