From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075317506462.tru64-unix-managers.marc@archive.invalid> From: "Mr. Sunny Siu" Date: Thu, 09 Feb 1995 10:59:12 +0000 To: tru64-unix-managers Subject: monitor remote port id X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075317506462 Dear OSF/1 managers, For some reasons, I need to monitor the access to foreign host with specific port id. I use "netstat" which give me the following output. Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 myhost.4853 dewey.cc.utaexas..6667 ESTABLISHED tcp 0 0 myhost.telnet cs1bus348a.uta.e.4872 ESTABLISHED tcp 0 0 myhost.telnet cs1bus348b.uta.e.1286 ESTABLISHED tcp 0 0 myhost.telnet cs1bus348a.uta.e.8467 ESTABLISHED tcp 0 0 myhost.telnet cs1bus348b.uta.e.14082 ESTABLISHED tcp 0 44 myhost.telnet cs1bus348b.uta.e.6912 ESTABLISHED Say, I am interested in the connection of dewey.cc.utexas at port 6667. How can I determine the process id PID for the active tcp connection in OSF/1 platform? Thanks advance for your information. Summary will be available later. /---------------------------------------------------------------------------\ | Sunny Siu | | Academic Computaing Services Internet: siu@uta.edu | | University of Texas, Arlington Phone: 817-273-2208 | \---------------------------------------------------------------------------/