tcpstat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tcpstat: command not found
or when using sudo you get the following error message
sudo: tcpstat: command not found
Solutions to tcpstat: command not found
How To Fix tcpstat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tcpstat is provided by tcpstat package.
tcpstat is:
tcpstat reports certain network interface statistics much like vmstat does for system statistics. tcpstat gets its information by either monitoring a specific interface, or by reading previously saved tcpdump data from a file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tcpstat
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tcpstat.
sudo apt -y install tcpstat
Or if you have aptitude installed you can use the following command.
sudo aptitude install tcpstat
Summary
In this tutorial we learn how to fix tcpstat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.