terminal based postgres monitoring script with live refresh .
NOTE - > This script is tested against RHEL only.
PRE-REQUISITES:
1. Install python3 and below additional modules.
example - > /usr/bin/python3 -m pip install rich datetime psutil pyfiglet os psycopg2
rich datetime psutil pyfiglet os psycopg2
2. Update the connect.py file with connection details.
3. Run the python script as below .
/usr/bin/python3 pg_dash_v1.py