From: Darold Gilles Date: Thu, 5 Jun 2014 02:56:08 +0000 (+0200) Subject: Fix typon pgbadger call. Thanks to Guilhem Rambal for the report. X-Git-Tag: v6.0~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68996af03f94a571679a86cb0553d2d944ed6a33;p=pgbadger Fix typon pgbadger call. Thanks to Guilhem Rambal for the report. --- diff --git a/README b/README index 34c49ec..9cd155a 100644 --- a/README +++ b/README @@ -458,12 +458,12 @@ BINARY FORMAT report each hour from a daily PostgreSQl log file, you can proceed by running each hour the following commands: - pgbadder --last-parsed .pgbadger_last_state_file -o sunday/hourX.bin /var/log/pgsql/postgresql-Sun.log + pgbadger --last-parsed .pgbadger_last_state_file -o sunday/hourX.bin /var/log/pgsql/postgresql-Sun.log to generate the incremental data files in binary format. And to generate the fresh HTML report from that binary file: - pgbadder sunday/*.bin + pgbadger sunday/*.bin Or an other example, if you have one log file per hour and you want a reports to be rebuild each time the log file is switched. Proceed as diff --git a/doc/pgBadger.pod b/doc/pgBadger.pod index f5be59c..2ff9fa1 100644 --- a/doc/pgBadger.pod +++ b/doc/pgBadger.pod @@ -436,12 +436,12 @@ cumulative reports. For example, if you want to refresh a pgbadger report each hour from a daily PostgreSQl log file, you can proceed by running each hour the following commands: - pgbadder --last-parsed .pgbadger_last_state_file -o sunday/hourX.bin /var/log/pgsql/postgresql-Sun.log + pgbadger --last-parsed .pgbadger_last_state_file -o sunday/hourX.bin /var/log/pgsql/postgresql-Sun.log to generate the incremental data files in binary format. And to generate the fresh HTML report from that binary file: - pgbadder sunday/*.bin + pgbadger sunday/*.bin Or an other example, if you have one log file per hour and you want a reports to be rebuild each time the log file is switched. Proceed as follow: