[GENERAL/OFF-TOPIC]: identifying runaway DB clients

Started by Ed L.almost 24 years ago2 messagesgeneral
Jump to latest
#1Ed L.
pggeneral@bluepolka.net

This is slightly off-topic, but I have some unidentified HPUX processes
running on an HPUX box with a PG server and hammering the database. I'm
trying to identify them. In Linux, I'd map from the connecting port to the
client process via fuser -n tcp, but HPUX fuser doesn't appear to support tcp
port mapping. Does anyone know how to map an HPUX port to the proc pid?

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Ed L. (#1)
Re: [GENERAL/OFF-TOPIC]: identifying runaway DB clients

Ed Loehr <pggeneral@bluepolka.net> writes:

This is slightly off-topic, but I have some unidentified HPUX
processes running on an HPUX box with a PG server and hammering the
database. I'm trying to identify them. In Linux, I'd map from the
connecting port to the client process via fuser -n tcp, but HPUX fuser
doesn't appear to support tcp port mapping. Does anyone know how to
map an HPUX port to the proc pid?

I use lsof (not standard equipment on HPUX, but readily available).

regards, tom lane