Tested on el7 system.
Software recomendado:
1 . Instale o repositório do EPEL e PGDG:
yum install \
http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-2.noarch.rpm \
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
1 . Instale os pacotes abaixo:
yum install htop atop pg_activity
1 . Instale os pacotes abaixo:
yum install git
1 . Baixe o repositorio do pg_view:
git clone https://github.com/zalando/pg_view.git
1 . Instale o pg_view:
cd pg_view
python setup.py install
1 . Crie o arquivo de configuração necessário:
cd pg_view
python setup.py install