ifstat command not found

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

Introduction

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

ifstat: command not found

or when using sudo you get the following error message

sudo: ifstat: command not found

Solutions to ifstat: command not found

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

In Ubuntu ifstat is provided by ifstat package.

ifstat is:

ifstat is a tool to report network interfaces bandwidth just like vmstat/iostat do for other system counters. It can monitor local interfaces by polling the kernel counters, or remote hosts interfaces using SNMP.

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

sudo apt-get -y install ifstat

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

You can also use apt command to install ifstat.

sudo apt -y install ifstat

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

sudo aptitude install ifstat

Summary

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