lttng-periodtop command not found

In this troubleshooting guide we learn how to fix lttng-periodtop command not found error message

Introduction

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

lttng-periodtop: command not found

or when using sudo you get the following error message

sudo: lttng-periodtop: command not found

Solutions to lttng-periodtop: command not found

How To Fix lttng-periodtop: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lttng-periodtop is provided by python3-lttnganalyses package.

python3-lttnganalyses is:

The LTTng project aims at providing highly efficient tracing tools for Linux. Its tracers help tracking down performance issues and debugging problems involving multiple concurrent processes and threads. Tracing across multiple systems is also possible.

This package contains various tools to analyse LTTng kernel traces and extract monitoring data and metrics. As opposed to other diagnostic or monitoring solutions, this approach is designed to allow users to record their system’s activity with a low overhead, wait for a problem to occur and then diagnose its cause offline.

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

sudo apt-get -y install python3-lttnganalyses

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

You can also use apt command to install python3-lttnganalyses.

sudo apt -y install python3-lttnganalyses

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

sudo aptitude install python3-lttnganalyses

Summary

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