How to Install and Uninstall pgstat Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 28,2024

1. Install "pgstat" package

In this section, we are going to explain the necessary steps to install pgstat on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install pgstat

2. Uninstall "pgstat" package

Please follow the guidelines below to uninstall pgstat on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove pgstat $ sudo apt autoclean && sudo apt autoremove

3. Information about the pgstat package on Ubuntu 21.10 (Impish Indri)

Package: pgstat
Architecture: amd64
Version: 1.0.1-1
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 64
Depends: libc6 (>= 2.4), libpq5 (>= 9.0~)
Filename: pool/universe/p/pgstat/pgstat_1.0.1-1_amd64.deb
Size: 19616
MD5sum: 9fbc964fadb5ac4d891289b72f40137e
SHA1: afaf6a06d78c389fcbff0a1d7c7162a415eae733
SHA256: 9fcf8c34fcc842572a573f470dfb2939c795a51bce3bbc4df5f0f1b2d2435336
SHA512: 33ed8fe9b0a22afe4128b4b2e10e09403c6134f0902b338785479cb805d1a88ddfefff9f76ce9f4745858042236302dd6d54d512bce415077733b912ab31d56e
Homepage: https://github.com/gleu/pgstats
Description-en: Collects PostgreSQL statistics the same way as a vmstat tool
pgstat is a client utility to gather statistical information from a PostgreSQL
instance in real time, and acts like vmstat or sar.
.
Supported statistics include archiver, bgwriter, connections, databases,
tables, tables I/O, indexes, functions, archives wals, temporary files,
and pgBouncer.
Description-md5: 5e531455b6de51a07c0e944602e62b54