summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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.
2020-04-04Remove toggle for displaying cumulative vs differential statsMark Wong
I don't think it make sense to show the raw cumulative numbers from the operative system, except for debugging. It should be more meaningful to see the rate of change.
2020-04-04Simplify i/o stats displayMark Wong
I think people primarily want to see i/o operations and throughput that is actually going to storage. Also fixed the calculations to display rates per second as opposed to just the difference between snapshots of data.
2020-04-04Show swapping activity.Mark Wong
Currently only working with Linux.
2020-03-29Set version to 4.0.0-alpha3v4.0.0-alpha3Mark Wong
2020-03-27Update AppImage for SSL supportMark Wong
2020-03-25Rename out-of-source dir from _builds to buildMark Wong
2019-09-14Fix sorting of various columnsMark Wong
Sorting was incorrectly comparing absolute values instead of the change of values.
2019-09-14Identify unknown states as background tasksMark Wong
2019-09-13Update replication query for v10 changesMark Wong
2019-09-07Fix formating on replication displayMark Wong
2019-09-07Don't count virtual xids in lock countsMark Wong
Display only locks against relations/tables.
2019-09-07Set default isolation level to read uncommittedMark Wong
This sets the isolation level just for pg_top.
2019-08-30Set version to 4.0.0-alpha2v4.0.0-alpha2Mark Wong
2019-08-30Sort large numbers first with i/o statsMark Wong
2019-08-28Set version to 4.0.0-alpha1v4.0.0-alpha1Mark Wong
2019-08-28Update repo url in READMEMark Wong
2019-08-27Update AppRum to set PGHOSTMark Wong
If no PGHOST is in the environment, set it to search multiple unixsock directories.