How To Install nfswatch on Fedora 36

In this tutorial we learn how to install nfswatch in Fedora 36. nfswatch is An NFS traffic monitoring tool

Introduction

In this tutorial we learn how to install nfswatch on Fedora 36.

What is nfswatch

Nfswatch is a command-line tool for monitoring NFS traffic. Nfswatch can capture and analyze the NFS packets on a particular network interface or on all interfaces. Install nfswatch if you need a program to monitor NFS traffic.

We can use yum or dnf to install nfswatch on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nfswatch.

Install nfswatch 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 nfswatch using dnf by running the following command:

sudo dnf -y install nfswatch

Install nfswatch 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 nfswatch using yum by running the following command:

sudo yum -y install nfswatch

How To Uninstall nfswatch on Fedora 36

To uninstall only the nfswatch package we can use the following command:

sudo dnf remove nfswatch

nfswatch Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/30a3b7f1a9373892ccf833c1fb5a0f17612c09
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/eb9e1a8131765b5e3befe96a163f95c3bd47c5
/usr/sbin/nfslogsum
/usr/sbin/nfswatch
/usr/share/doc/nfswatch
/usr/share/doc/nfswatch/LICENSE
/usr/share/doc/nfswatch/README
/usr/share/man/man8/nfslogsum.8.gz
/usr/share/man/man8/nfswatch.8.gz

References

Summary

In this tutorial we learn how to install nfswatch on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).