John Iliffe <john.iliffe@iliffe.ca> writes:
> [root@prod04 John]# lsof -n | grep postmaster
> [root@prod04 John]# lsof -n | grep postgres | grep 5432
> postgres 2760 postgres 5u unix 0xffff9e5390b5b800 0t0
> 69422 /tmp/.s.PGSQL.5432 type=STREAM
That isn't proving a lot: as I showed in my example lsof output, Fedora's
lsof will map "5432" to "postgres" in the context of an IP port number.
(I'm sure there's a way to turn that off, but -n ain't it.)
regards, tom lane