From: "Bivins, Jeff" <BIVINS () nebeng ! otis ! com>
To: tru64-unix-managers
Subject: How do I know what telnet port I am
Date: Wed, 25 Mar 1998 18:00:00 +0000 [thread overview]
Message-ID: <96078701111679.tru64-unix-managers.marc@archive.invalid> (raw)
Hello Managers,
I have an ASE cluster that provides services for an application that rides
on a telnet connection. I am trying to automate the login process so that
when a user telnet's to a particular ip address they startup a the correct
application. I can use netstat and collect where the ip connections
connecting from, I have not been successful on determining which connection
is my current process.
Example of a netstart -a | grep telnet command
tcp 0 0 otusschs-100.telnet 153.56.19.79.1051
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.19.79.1048
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.15.30.2303
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.21.239.1030
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.20.237.1032
ESTABLISHED
tcp 0 0 otusschs-100.telnet 153.56.20.13.1034
ESTABLISHED
tcp 0 0 otusschs-100.telnet 153.56.21.239.1031
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.20.13.1033
ESTABLISHED
tcp 0 0 *.telnet *.* LISTEN
How can I determine which one of these telnet sessions is associated with my
process.
Thanks,
Jeff
reply other threads:[~1998-03-25 18:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox