summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-05-21Fix string truncation warningsHEADmainMark Wong
2023-05-21Revert "Revert "monitor the disk I/O of the server""Mark Wong
This reverts commit fa587455496a1aa45cc9ad7ff1280a927e74493b.
2023-05-21Move Makefile to Makefile.cmakeMark Wong
Seems to be the simpler way to prevent collisions with temporary Makefiles generated by CMake.
2023-05-21Move AppImage filesMark Wong
Put AppImage specific files in "appimage" directory, expect pg_top.png as only the .svg file is needed. Move the "container" directory to "tools". Rename the appimage scripts.
2023-01-27Use AppImageKit v13Mark Wong
2022-12-08podman switchMark Wong
Also update files to use CentOS 7, as CentOS 6 is not functioning. It's not clear whether it's because of switching to podman or because CentOS 6 simply isn't able to function in a container under some of the newer Linux systems.
2022-12-08CMake minimum version to 2.8.12Mark Wong
Per CMake deprication warning.
2021-12-21build: mark libelf, ncurses, libbsd as REQUIREDSam James
This causes CMake to fail in the configure stage rather than failing at build time when e.g. it can't include a header. All of these appear to be required (non-optional) by pg_top. Bug: https://bugs.gentoo.org/773403 Signed-off-by: Sam James <sam@gentoo.org>
2021-07-22Update help text with replication viewazranel
2021-07-22Add Docker file and script to build AppImageMark Wong
2021-07-22Correct release date in HISTORYMark Wong
2021-03-09Change pg_proctab project urlMikel Olasagasti Uranga
2021-01-07Fix rules to use -Wall on Debug buildsMark Wong
2020-10-08Update for v4.0.0 releasev4.0.0Mark Wong
2020-10-07Remove code using obsolete termioMark Wong
Expect to use termios.h.
2020-08-29linux: Fix heading spacing for top i/oMark Wong
Follow up to f3a30cd1b356b37e44f8b2c5bb1a564a906a3dfd.
2020-08-06Correct pg_systat name in HISTORYMark Wong
2020-08-05Update for v4.0.0beta1 releasev4.0.0-beta1Mark Wong
2020-08-05Update AppImage notesMark Wong
Configure PostgreSQL using --with-openssl flag to build libpq library such that pg_top can use SSL connections from the AppImage.
2020-08-05Make room for longer pids in a few more locationsMark Wong
Follow up to f3a30cd1b356b37e44f8b2c5bb1a564a906a3dfd.
2020-08-05linux: define _GNU_SOURCE for reallocarray()Mark Wong
Some Linux distros may need _GNU_SOURCE explicitly defined in order to use reallocarray() in. Ubuntu 18.01 is one of them.
2020-07-31Fix malformed xmlMark Wong
2020-07-30Update for v4.0.0alpha6 releasev4.0.0-alpha6Mark Wong
2020-07-30Note FreeBSD version in historyMark Wong
2020-07-30m_openbsd: multiple updatesMark Wong
* Updated on OpenBSD 6.7 * add replication view * update activity view * Username column now reflects the Postgres role. * State column now reflects Postgres backend state. * Transaction (XTIME) and query (QTIME) execution time has been added. * Added LOCKS column showing number of locks acquired per process. * Removed column relating to priority and nice.
2020-07-26Handle longer pids (64-bit) on LinuxPeter Hicks
2020-04-16m_freebsd: add support for displaying io statsMark Wong
2020-04-16Set up freebsd for top io stats displayMark Wong
Set of various machines as we go since displaying i/o stats per process is going to be operating system dependent.
2020-04-16Add extra error handling to i_process()Mark Wong
2020-04-11m_freebsd: add replication view functionalityMark Wong
2020-04-11Force all machines to handle replication viewMark Wong
2020-04-11Handle NULL header gracefullyMark Wong
2020-04-11m_freebsd: update activity viewMark Wong
Removed column relating threads, priority and nice. These tends not necessarily be of interest to Postgres as a processed base application that is generally not niced or prioritized. Username column now reflects the Postgres role. State column now reflects Postgres backend state. Transaction (XTIME) and query (QTIME) execution time has been added. Added LOCKS column showing number of locks acquired per process.
2020-04-10Force all machines to conform to updated get_process_info()Mark Wong
The changes that were previously restricted for Linux should be applied to all machines. There shouldn't be any reason that the updates can't be applied to some degree on all platform.
2020-04-10m_freebsd: update sprintf with snprintfMark Wong
2020-04-10Use enum for pg_stat_replication queryMark Wong
This will hopefully make updating various machine files easier.
2020-04-10Use enum for pg_stat_activity queryMark Wong
This will hopefully make updating various machine files easier.
2020-04-10Minimal fixes to compile on FreeBSD 12.1Mark Wong
2020-04-08Update for v4.0.0alpha5 releasev4.0.0-alpha5Mark Wong
2020-04-08Change display logic to show any non-negative valuesMark Wong
Previously hid anything that was 0, which would display anything that was negative. I think it's useful to see values that are 0 and then to use negative values to indicate that a statistic isn't available.
2020-04-08Re-implement swap activity for linuxMark Wong
Redid the bulk of that changes in 7b98b287f95fed34719e0bd30a1e77a34ecd2d26 to conform with the infrastructure already in place.
2020-04-07Update for v4.0.0alpha4 releasev4.0.0-alpha4Mark Wong
2020-04-07Update README with additional featuresMark Wong
2020-04-07Fix display of locks help by processMark Wong
Add a column for the schema name and index name. | database | schema | table | index | type | granted --+----------+--------+-------+--------+-----------------+-------- 1 | mark | public | | a_pkey | AccessShareLock | t 2 | mark | public | a | | AccessShareLock | t Previously the schema was not being shown and tables and indexes were being shown in the same column.
2020-04-06Convert man pages to rstMark Wong
2020-04-06Convert various text files to rstMark Wong
2020-04-05Fix coloring of CPU statesMark Wong
The update and initialization functions were not coloring the same parts of the text.
2020-04-05Fix name of env variable for setting colorsMark Wong
2020-04-04Fix command line handling of display countsMark Wong
With minor updates in usage() output to match the command line text with the options test.
2020-04-04Add missing command line argument descriptionsMark Wong
The usage() function was missing -R and -X.