nfswatch command not found

In this troubleshooting guide we learn how to fix nfswatch command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nfswatch: command not found

or when using sudo you get the following error message

sudo: nfswatch: command not found

Solutions to nfswatch: command not found

How To Fix nfswatch: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nfswatch is provided by nfswatch package.

nfswatch is:

Nfswatch is a command-line tool for monitoring NFS traffic. It can capture and analyze the NFS packets on a particular network interface or on all interfaces.

It mostly monitors NFS client traffic (NFS requests). it also monitors the NFS reply traffic from a server in order to measure the response time for each RPC.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nfswatch

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nfswatch.

sudo apt -y install nfswatch

Or if you have aptitude installed you can use the following command.

sudo aptitude install nfswatch

Summary

In this tutorial we learn how to fix nfswatch command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.