Re: identifying local connections

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема Re: identifying local connections
Дата
Msg-id 6CB2F156-2A95-4736-B517-70FA207B9756@elevated-dev.com
обсуждение исходный текст
Ответ на Re: identifying local connections  (Steve Clark <sclark@netwolves.com>)
Список pgsql-general
On Nov 15, 2010, at 9:05 AM, Steve Clark wrote:

> netstat -an will do it on linux.
>
> sockstat will do it on FreeBSD.
>
> What's OS X ? ;-)

Apple must use very different option switches for their netstat, because I see no way to get PIDs (which seems like a
prettybig oversight to me), and -an would not make sense: 

-a      Include directory entries whose names begin with a dot (.).
-n      Display user and group IDs numerically, rather than converting to
             a user or group name in a long (-l) output.  This option turns on
             the -l option.

;-)

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice





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

Предыдущее
От: Scott Ribe
Дата:
Сообщение: Re: identifying local connections
Следующее
От: Jerry Richards
Дата:
Сообщение: Trouble Accessing Schema-Qualified Table