How do I find which process owns a tcp port?

From: <P.Lister_at_cranfield.ac.uk>
Date: Mon, 07 Oct 96 17:23:11 +0100

pidentd can find out which user owns a tcp port, so presumably I must be able
to run a simple command to find out directly from the kernel which pid/uid
owns a given port. Any idea what that command is?

Peter Lister Email: p.lister_at_cranfield.ac.uk
Computer Centre, Cranfield University Voice: +44 1234 754200 ext 2828
Cranfield, Bedfordshire MK43 0AL UK Fax: +44 1234 751814
------------------------------------------------------------------------
GLENDOWER I can call spirits from the vasty deep.
HOTSPUR Why, so can I, or so can any man;
          But will they come when you do call for them? (Henry IV, pt 1)
------------------------------------------------------------------------
Received on Mon Oct 07 1996 - 19:16:46 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT