Re: How to identify connected Users?
От | Dmitry Morozovsky |
---|---|
Тема | Re: How to identify connected Users? |
Дата | |
Msg-id | Pine.BSF.4.21.0012021714320.27250-100000@woozle.rinet.ru обсуждение исходный текст |
Ответ на | Re: How to identify connected Users? (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: How to identify connected Users?
Re[2]: How to identify connected Users? |
Список | pgsql-admin |
On Fri, 1 Dec 2000, Peter Eisentraut wrote: PE> > is there any way to identify users which are currently connected to the PE> > database? Does perhaps even exist a method to notify this users (e.g. to PE> > close the connection)? PE> PE> ps ax | grep postgres PE> PE> is the best way to go. Nope. Using this you can identify UNIX users, instead of PG users. And, if the scripts are running from the web server, there will be only nobosy/httpd in most cases... Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
В списке pgsql-admin по дате отправления: