Re: Understanding ps -ef "command" column

Поиск
Список
Период
Сортировка
От Erik Jones
Тема Re: Understanding ps -ef "command" column
Дата
Msg-id B2EC4F1D-1F66-4490-8B65-DB79DB876110@myemma.com
обсуждение исходный текст
Ответ на Re: Understanding ps -ef "command" column  ("Douglas McNaught" <doug@mcnaught.org>)
Список pgsql-general
On Feb 22, 2008, at 10:28 AM, Douglas McNaught wrote:

> On 2/22/08, David Jaquay <djaquay@gmail.com> wrote:
>> When I do a ps -ef, in the command column, I see:
>>
>> postgres: postgres dbname 10.170.1.60(57413) idle
>>
>> I get all of this, except the "57413".  What does this mean, and more
>> importantly, how can I tie that number back to a connection that I've
>> acquired via JDBC?
>
> At a guess, it's the ephemeral port number used by the client
> connection.  It might be hard to track back in Java because I don't
> think the JDBC driver gives you access to the underlying Socket object
> (which you could query to find out its local port).

See the lsof unix tool for a good way to track which processes are
communicating via that port number.

Erik Jones

DBA | Emma®
erik@myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com




В списке pgsql-general по дате отправления:

Предыдущее
От: Enrico
Дата:
Сообщение: Re: Function problem
Следующее
От: brian
Дата:
Сообщение: Re: Function problem