by setting an alternate path to the directory where the pid file will be written.
--journalctl command : command to use to replace PostgreSQL logfile by
a call to journalctl. Basically it might be:
journalctl -u postgresql-9.5
+ --pid-dir dirpath : set the path of the directory where the pid file
+ will be written to be able to run two pgbadger at
+ the same time.
pgBadger is able to parse a remote log file using a passwordless ssh
connection. Use the -r or --remote-host to set the host ip address or
--journalctl command : command to use to replace PostgreSQL logfile by
a call to journalctl. Basically it might be:
journalctl -u postgresql-9.5
-
+ --pid-dir dirpath : set the path of the directory where the pid file
+ will be written to be able to run two pgbadger at
+ the same time.
pgBadger is able to parse a remote log file using a passwordless ssh connection.
Use the -r or --remote-host to set the host ip address or hostname. There's also
'log-duration!' => \$log_duration,
'enable-checksum!' => \$enable_checksum,
'journalctl=s' => \$journalctl_cmd,
+ 'pid-dir=s' => \$PID_DIR,
);
die "FATAL: use pgbadger --help\n" if (not $result);
--journalctl command : command to use to replace PostgreSQL logfile by
a call to journalctl. Basically it might be:
journalctl -u postgresql-9.5
-
+ --pid-dir dirpath : set the path of the directory where the pid file
+ will be written to be able to run two pgbadger at
+ the same time.
pgBadger is able to parse a remote log file using a passwordless ssh connection.
Use the -r or --remote-host to set the host ip address or hostname. There's also