How to Install and Uninstall pg-activity Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 20,2024

1. Install "pg-activity" package

This guide covers the steps necessary to install pg-activity on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install pg-activity

2. Uninstall "pg-activity" package

Please follow the guidance below to uninstall pg-activity on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove pg-activity $ sudo apt autoclean && sudo apt autoremove

3. Information about the pg-activity package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: pg-activity
Priority: extra
Section: universe/utils
Installed-Size: 137
Maintainer: Ubuntu Developers
Original-Maintainer: Emmanuel Bouthenot
Architecture: all
Version: 1.3.0-1
Depends: python (>= 2.7), python (<< 2.8), python-psutil, python-psycopg2
Filename: pool/universe/p/pg-activity/pg-activity_1.3.0-1_all.deb
Size: 23572
MD5sum: e0a934484ad894956d478b10da83e0cb
SHA1: be9d28d4ce89da184b563520f72f6e77d6bab026
SHA256: e6fbd00a543dd4c8b290c84264d6a46fe433616f7164214eb722e2b0ff06d870
Description-en: Realtime PostgreSQL database server monitoring tool
PgActivity is a curses-based realtime utility to display information from a
running PostgreSQL database server.
.
It is modelled after the standard 'top' utility, and displays information such
as:
- the running, waiting and blocking queries
- cpu, memory and i/o usage of each query
- the queries execution time
.
It also provides interactive commands to sort, filter, scroll and extend the
queries list displayed.
Description-md5: 14f45fb2e930ade8542e931db7c4ecc0
Homepage: https://github.com/julmon/pg_activity
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu