pgcluu command not found

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

Introduction

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

pgcluu: command not found

or when using sudo you get the following error message

sudo: pgcluu: command not found

Solutions to pgcluu: command not found

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

In Ubuntu pgcluu is provided by pgcluu package.

pgcluu is:

pgCluu is a PostgreSQL performance monitoring and auditing tool. It is a Perl program used to perform a full audit of PostgreSQL cluster and system performance. It is divided in three parts:

pgcluu_collectd: collector used to grab statistics of the PostgreSQL cluster using the psql command line utility and sar from the sysstat package

pgcluu: generates static HTML output containing charts and graphs

pgcluu.cgi: generates dynamic HTML output containing charts and graphs

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

sudo apt-get -y install pgcluu

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

You can also use apt command to install pgcluu.

sudo apt -y install pgcluu

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

sudo aptitude install pgcluu

Summary

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