[Info-vax] How to tell if TCP/IP port is in use

Steven Schweda sms.antinode at gmail.com
Wed Jan 4 00:03:44 EST 2012


On Jan 3, 9:41 pm, moro... at world.std.spaamtrap.com (Michael Moroney)
wrote:

> $ PIPE TCPIP SHOW DEVICE_SOCKET | SEARCH SYS$PIPE ...
> but is there a better way?

   I know of nothing good.  DCL is highly IP-unaware, so I
doubt that there is anything, but I'm always open to contrary
evidence.

> $ PIPE TCPIP SHOW DEVICE_SOCKET | SEARCH SYS$PIPE ...
> but is there a better way?

   Slight refinement:

      PIPE TCPIP SHOW DEVICE_SOCKET /PORT = 1234 | [...]

   There's also "tcpip netstat -an", but that lacks the
/PORT=xxxx pre-filtering, so it's probably not so good.



More information about the Info-vax mailing list