/sys$common/syshlp/TCPIP$TELNET_HELP.HLB  —  SHOW  SESSION  Examples
    1.TELNET>  SHOW SESSION
      %TELNET-E-NOSESSION, No active session

      TELNET>  CONNECT LUNA
      %TELNET-I-Trying, Trying... 192.1.2.3
      %TELNET-I-SESSION, Session 01, host luna, port 23
      -TELNET-I-Escape, Escape character: '^]'

      LUNA -- Unauthorized access is prohibited
      Username:  BURNS
      Password:                      (password not echoed)

              Welcome to OpenVMS Alpha Version 7.3 on node LUNA
      $ <Ctrl/]> (characters not echoed)

      TELNET> SHOW SESSION
      Session 01, host LUNA, port 23 (default active port)

      TELNET>

      Displays information about current sessions. The information
      returned for the first SHOW SESSION command reveals that the
      local host has no active sessions. The user then connects to
      host LUNA and returns to the TELNET prompt to display session
      information once again. This time, the SHOW SESSION command
      displays information about the connection with LUNA.

    2.TELNET> CONNECT ESTRELLA 23 IBM-3278-2
         .
         .
         .
      % <Ctrl/]> (characters not echoed)
      TELNET> SHOW SESSION
      Session 01, host LUNA, port 23
      Session 02, host ESTRELLA, port 23 (default active session)
      TELNET>

      Here, the same user has established another connection, this
      time to host ESTRELLA. The SHOW SESSION command displays
      information about all sessions, revealing that the current
      active session is with host ESTRELLA.
Close Help