ethstats command not found

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

Introduction

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

ethstats: command not found

or when using sudo you get the following error message

sudo: ethstats: command not found

Solutions to ethstats: command not found

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

In Ubuntu ethstats is provided by ethstats package.

ethstats is:

ethstats works by parsing the /proc/net/dev file that the Linux kernel maintains, and thus utilizes a negligible amount of CPU time. ethstats shows the throughput of each device in both megabits per second and packets per second.

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

sudo apt-get -y install ethstats

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

You can also use apt command to install ethstats.

sudo apt -y install ethstats

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

sudo aptitude install ethstats

Summary

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