test_rt command not found

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

Introduction

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

test_rt: command not found

or when using sudo you get the following error message

sudo: test_rt: command not found

Solutions to test_rt: command not found

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

In Ubuntu test_rt is provided by das-watchdog package.

das-watchdog is:

Das_Watchdog is a general watchdog for the Linux operating system that should be run in the background at all times to ensure a realtime process won’t hang the machine.

Das_Watchdog is inspired by the rt_watchdog program from Florian Schmidt, but has some improvements over it:

  • It works with 2.4 kernels as well as 2.6.
  • Instead of permanently setting all realtime processes to run non-realtime, das_watchdog only sets them temporary.
  • When the watchdog kicks in, an X window should pop up that tells you whats happening (just close it after reading the message).

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

sudo apt-get -y install das-watchdog

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

You can also use apt command to install das-watchdog.

sudo apt -y install das-watchdog

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

sudo aptitude install das-watchdog

Summary

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