Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
languagebash
themeMidnight
titlepg_activity
# pip installieren
$ wget https://bootstrap.pypa.io/get-pip.py
$ python get-pip.py
$ pip install psycopg2
$ apt-get install python-dev
$ pip install psutil

# pg_activity installieren
$ su 
$ pip install pg_activity

# pg_activity starten
$ sudo -u postgres pg_activity -U postgres

...