Received: from p-mail2.cnet.fr (p-mail2.rd.francetelecom.fr [193.49.124.32]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eB1HAKF03974 for ; Fri, 1 Dec 2000 12:10:20 -0500 (EST) (envelope-from michel.decima@rd.francetelecom.fr) Received: from p-grive.issy.cnet.fr ([139.100.0.85]) by p-voyageur.issy.cnet.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id XXLZ272M; Fri, 1 Dec 2000 18:10:31 +0100 Received: from [139.100.4.138] (quetzal.issy.cnet.fr [139.100.4.138]) by p-grive.issy.cnet.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id VC12ZGK6; Fri, 1 Dec 2000 18:10:31 +0100 From: Michel Decima To: Peter Eisentraut Cc: PostgreSQL Admin Subject: Re: How to identify connected Users? Date: Fri, 1 Dec 2000 18:10:32 +0100 Message-Id: <19341026104216.11004@p-grive.issy.cnet.fr> In-Reply-To: References: X-Mailer: CTM PowerMail 3.0.6 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200012/5 X-Sequence-Number: 195 >Jens Hartwig writes: > >> is there any way to identify users which are currently connected to the >> database? Does perhaps even exist a method to notify this users (e.g. to >> close the connection)? > >ps ax | grep postgres > >is the best way to go. This command tells me that several backends are running, and owned by the postgres user... (all my users are connected via the LAN to the database server).