Hackfut Security File Manager
Current Path:
/opt/td-agent/embedded/share/man/man1
opt
/
td-agent
/
embedded
/
share
/
man
/
man1
/
📁
..
📄
clusterdb.1
(5.77 KB)
📄
createdb.1
(7.26 KB)
📄
createlang.1
(5.3 KB)
📄
createuser.1
(9.42 KB)
📄
dropdb.1
(5.25 KB)
📄
droplang.1
(5.1 KB)
📄
dropuser.1
(5.23 KB)
📄
ecpg.1
(5.04 KB)
📄
erb.1
(3.24 KB)
📄
initdb.1
(10.26 KB)
📄
irb.1
(3.43 KB)
📄
libtool.1
(9.63 KB)
📄
libtoolize.1
(2.53 KB)
📄
lzcat.1
(63.13 KB)
📄
lzma.1
(63.13 KB)
📄
lzmadec.1
(2.77 KB)
📄
lzmainfo.1
(1.22 KB)
📄
makedepend.1
(9.3 KB)
📄
oid2name.1
(8.64 KB)
📄
pg_archivecleanup.1
(5.43 KB)
📄
pg_basebackup.1
(17.68 KB)
📄
pg_config.1
(6.11 KB)
📄
pg_controldata.1
(2.22 KB)
📄
pg_ctl.1
(13.54 KB)
📄
pg_dump.1
(35 KB)
📄
pg_dumpall.1
(13.76 KB)
📄
pg_isready.1
(4.56 KB)
📄
pg_receivexlog.1
(8.9 KB)
📄
pg_recvlogical.1
(8.03 KB)
📄
pg_resetxlog.1
(8.58 KB)
📄
pg_restore.1
(22 KB)
📄
pg_rewind.1
(7.08 KB)
📄
pg_standby.1
(10.33 KB)
📄
pg_test_fsync.1
(2.86 KB)
📄
pg_test_timing.1
(9.74 KB)
📄
pg_upgrade.1
(22.02 KB)
📄
pg_xlogdump.1
(4.58 KB)
📄
pgbench.1
(36.58 KB)
📄
pkg-config.1
(18.73 KB)
📄
postgres.1
(21.49 KB)
📄
postmaster.1
(1.47 KB)
📄
psql.1
(101.06 KB)
📄
reindexdb.1
(6.55 KB)
📄
ri.1
(5.22 KB)
📄
ruby.1
(18.51 KB)
📄
unlzma.1
(63.13 KB)
📄
unxz.1
(63.13 KB)
📄
vacuumdb.1
(8.15 KB)
📄
vacuumlo.1
(4.19 KB)
📄
xml2-config.1
(1.15 KB)
📄
xmlcatalog.1
(8.2 KB)
📄
xmllint.1
(13.15 KB)
📄
xsltproc.1
(8.06 KB)
📄
xz.1
(63.13 KB)
📄
xzcat.1
(63.13 KB)
📄
xzdec.1
(2.77 KB)
Editing: pg_isready.1
'\" t .\" Title: pg_isready .\" Author: The PostgreSQL Global Development Group .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> .\" Date: 2018 .\" Manual: PostgreSQL 9.6.9 Documentation .\" Source: PostgreSQL 9.6.9 .\" Language: English .\" .TH "PG_ISREADY" "1" "2018" "PostgreSQL 9.6.9" "PostgreSQL 9.6.9 Documentation" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pg_isready \- check the connection status of a PostgreSQL server .SH "SYNOPSIS" .HP \w'\fBpg_isready\fR\ 'u \fBpg_isready\fR [\fIconnection\-option\fR...] [\fIoption\fR...] .SH "DESCRIPTION" .PP pg_isready is a utility for checking the connection status of a PostgreSQL database server\&. The exit status specifies the result of the connection check\&. .SH "OPTIONS" .PP \fB\-d \fR\fB\fIdbname\fR\fR .br \fB\-\-dbname=\fR\fB\fIdbname\fR\fR .RS 4 Specifies the name of the database to connect to\&. .sp If this parameter contains an = sign or starts with a valid URI prefix (postgresql:// or postgres://), it is treated as a \fIconninfo\fR string\&. See Section 32.1.1, \(lqConnection Strings\(rq, in the documentation for more information\&. .RE .PP \fB\-h \fR\fB\fIhostname\fR\fR .br \fB\-\-host=\fR\fB\fIhostname\fR\fR .RS 4 Specifies the host name of the machine on which the server is running\&. If the value begins with a slash, it is used as the directory for the Unix\-domain socket\&. .RE .PP \fB\-p \fR\fB\fIport\fR\fR .br \fB\-\-port=\fR\fB\fIport\fR\fR .RS 4 Specifies the TCP port or the local Unix\-domain socket file extension on which the server is listening for connections\&. Defaults to the value of the \fBPGPORT\fR environment variable or, if not set, to the port specified at compile time, usually 5432\&. .RE .PP \fB\-q\fR .br \fB\-\-quiet\fR .RS 4 Do not display status message\&. This is useful when scripting\&. .RE .PP \fB\-t \fR\fB\fIseconds\fR\fR .br \fB\-\-timeout=\fR\fB\fIseconds\fR\fR .RS 4 The maximum number of seconds to wait when attempting connection before returning that the server is not responding\&. Setting to 0 disables\&. The default is 3 seconds\&. .RE .PP \fB\-U \fR\fB\fIusername\fR\fR .br \fB\-\-username=\fR\fB\fIusername\fR\fR .RS 4 Connect to the database as the user \fIusername\fR instead of the default\&. .RE .PP \fB\-V\fR .br \fB\-\-version\fR .RS 4 Print the pg_isready version and exit\&. .RE .PP \fB\-?\fR .br \fB\-\-help\fR .RS 4 Show help about pg_isready command line arguments, and exit\&. .RE .SH "EXIT STATUS" .PP pg_isready returns 0 to the shell if the server is accepting connections normally, 1 if the server is rejecting connections (for example during startup), 2 if there was no response to the connection attempt, and 3 if no attempt was made (for example due to invalid parameters)\&. .SH "ENVIRONMENT" .PP \fBpg_isready\fR, like most other PostgreSQL utilities, also uses the environment variables supported by libpq (see Section 32.14, \(lqEnvironment Variables\(rq, in the documentation)\&. .SH "NOTES" .PP It is not necessary to supply correct user name, password, or database name values to obtain the server status; however, if incorrect values are provided, the server will log a failed connection attempt\&. .SH "EXAMPLES" .PP Standard Usage: .sp .if n \{\ .RS 4 .\} .nf $ \fBpg_isready\fR /tmp:5432 \- accepting connections $ \fBecho $?\fR 0 .fi .if n \{\ .RE .\} .PP Running with connection parameters to a PostgreSQL cluster in startup: .sp .if n \{\ .RS 4 .\} .nf $ \fBpg_isready \-h localhost \-p 5433\fR localhost:5433 \- rejecting connections $ \fBecho $?\fR 1 .fi .if n \{\ .RE .\} .PP Running with connection parameters to a non\-responsive PostgreSQL cluster: .sp .if n \{\ .RS 4 .\} .nf $ \fBpg_isready \-h someremotehost\fR someremotehost:5432 \- no response $ \fBecho $?\fR 2 .fi .if n \{\ .RE .\} .sp
Upload File
Create Folder