Giter Site home page Giter Site logo

pgtop's Introduction

pgtop version 0.11
==================

  pgtop is a PostgreSQL clone of `mytop', which in turn is a `top' clone for MySQL

  pgtop is a console-based (non-gui) tool for monitoring the threads
  and overall performance of PostgreSQL 7.2+. It
  runs on most Unix systems which have Perl, DBI, and Term::ReadKey
  installed. And with Term::ANSIColor installed you even get color.

  For more detailed information, look at the `mytop' page on sourceforge.net:
  http://mytop.sourceforge.net/

WARNING

  pgtop is a quick & dirty hack over `mytop', and not all MySQL concepts map
  very well onto PostgreSQL architecture and statistics collector. So don't
  expect a good quality out of this little hack...

  And, you should probably look for `ptop'.

INSTALLATION

  tar -zxvf pgtop-<version>.tar.gz
  cd pgtop-<version>
  perl Makefile.PL
  make
  make test
  make install

  There's no tests, actually.

DOCKER

  A ready-made Dockerfile is bundled in this repository.
  If you'd like to run pgtop from the docker container, all you need to do
  is to supply your own `.pgtop` configuration file.

  Build the docker container as:

     docker build -t my_pgtop .

  You most probably will want to run pgtop pointing it to your database
  rather than localhost:5432, so make sure to build a pgtoprc file
  from the provided sample `pgtoprc.sample`. After you've done that,
  run the docker container with:

     cp pgtoprc.sample pgtoprc

     # Edit the pgtoprc file to add your database host, port, name, etc..
     docker run --rm -it -v ./pgtoprc:/app/.pgtop my_pgtop

  Don't forget the `-it` options, or pgtop won't run with the necessary
  terminal capabilities to display anything in a meaningful way.

DOCUMENTATION

  man pgtop
  perldoc pgtop

AUTHOR

  Cosimo Streppone <[email protected]>
    inspired (and most of code) by `mytop' author
    Jeremy D. Zawodny <[email protected]>

COPYRIGHT

  pgtop is licensed under the GNU General Public License version 2.
  For the full license information, please visit

  http://www.gnu.org/copyleft/gpl.html

pgtop's People

Contributors

cosimo avatar

Stargazers

Harald Gliebe avatar Jason Morganson avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

boonedox

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.