monitor remote port id

From: Mr. Sunny Siu <xxsiu_at_utacnvx.uta.edu>
Date: Thu, 9 Feb 95 10:59:12 CST

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_at_uta.edu |
| University of Texas, Arlington Phone: 817-273-2208 |
\---------------------------------------------------------------------------/
Received on Thu Feb 09 1995 - 11:59:43 NZDT

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