tbench_srv command not found

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

Introduction

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

tbench_srv: command not found

or when using sudo you get the following error message

sudo: tbench_srv: command not found

Solutions to tbench_srv: command not found

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

In Ubuntu tbench_srv is provided by dbench package.

dbench is:

dbench and tbench simulate the load of the netbench “industry standard” benchmark used to rate (windows) file servers. Unlike netbench, they do not require a lab of Microsoft Windows PCs: dbench produces the filesystem load on a netbench run, and tbench produces the network load, allowing simpler bottleneck isolation.

Note that this benchmark is not a realistic reflection of normal server load.

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

sudo apt-get -y install dbench

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

You can also use apt command to install dbench.

sudo apt -y install dbench

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

sudo aptitude install dbench

Summary

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