Thread: PostgreSQL Server Status

PostgreSQL Server Status

From
"M. Bastin"
Date:
Hi all,

I would like to know what the best queries are to get system status info like:

Number of connected users
List of connected user names with the database to which they are connected
List of used databases with number of currently connected users
Last startup date and time of PostgreSQL
IP address

etc. (If anybody can think of anything else)
I already know SELECT VERSION()  ;-)

Thanks,

Marc (on version 7.3, on a client over TCP/IP)