| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Tue, May 15, 2012 at 3:31 AM, Sergey Konoplev <gray.ru@xxxxxxxxx> wrote:
select client_addr, client_port from pg_stat_activity;
after shutting down the Tomcat and find out what holds the <client_port> on
the <client_addr>
[user@<client_addr> ~]$ sudo netstat -pnao | grep <client_port>
The second column from the right will be the process pid.
[Postgresql General] [Postgresql Performance] [Postgresql PHP] [Postgresql Jobs] [PHP Users] [PHP Databases] [PHP Home] [PHP on Windows] [Kernel Newbies] [PHP Classes] [PHP Databases] [Yosemite]