Pgsi
pgsi
PGSI / Pegasi Energy Resources Corp. XML -IDEA: XBRL DOCUMENT. 2019-10-25 sec.gov - v3.3.0.814 CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($) 9 Months Ended Sep. 30, 2014 Operating Activities Net loss $ (13,813,469) $ (8,092,932) Adjustments to reconcile net loss to net cash used in operating activities: Amortization and depreciation 434,211 437,065 Accretion of. This fact sheet explains what the PGSI is, the list of questions included in the PGSI, the four categories of gambling behaviours, and general findings based on PGSI characteristics in Victoria.
pgsi is the Postgres System Impact report, a script that analyzes Postgres log files and reports on which queries have the highest overall impact on the server. The impact is computed by looking at not only how long each query takes to complete, but how many times it is run, and the time period between subsequent runs. The report show the queries with the highest system impact, grouped by the type of query (SELECT, UPDATE, etc.)
Download
The latest version of pgsi, 1.7.1, can be downloaded at:
Basic Usage
To use pgsi, you must run it against a Postgres logfile that has full logging enabled. Then run:
perl pgsi.pl --file=logfile > pgsi.html
Postgres Logging Options
Make sure the following options are set in your postgresql.conf, or otherwise enabled for the traffic you want pgsi to analyze:
log_duration = on
` log_statement = ‘all’`
If you’re using the stderr log log destination (the default) you’ll also need something like the following line prefix at minimum:
log_line_prefix = '%t %p '
However pgsi will support additional information following that on the line. For example remote host (%h), user name (%u), and database name (%d) are often useful for filtering the log before analysis, and can be helpful if you need to manually read or track activity through the log itself.
Pgs.iasri.res.in
Command Line Options
Pg Sittenfeld
- –version
- Returns the version number
- –verbose
- Increases the level of verbosity
- –help
- Gives some basic help
- –file=x
- The log file to parse. If not given, will read stdin. This can be used more than once to read in multiple files at one time.
- –format=X
- Indicates the format of the output file. Current options are html and mediawiki
- –mode=X
- Indicates the log file mode. Current options are pid, csv, bare, and syslog
- –color
- Adds syntax highlighting to the queries in html format. On by default, can be turned off with –no-color
Bugs and Feature Requests
Bugs should be reported through the Github Issues page. Feature requests are welcome there as well, or send us an email.
Development
Everyone is encouraged to look over and make improvements to the code. The latest development version can be obtained from GitHub by running:
Pgsi.com
git clone git@github.com:bucardo/pgsi.git