Displays information about client nodes that are connected to services. Format SHOW SESSIONS [serviceName] [device-or-partitionName]]
1 – Parameters
serviceName The name by which the service is known to the local area network. The service name can consist of alphanumeric characters, dollar signs ($), and wildcards. It can be up to 255 characters in length. If omitted, the service name defaults to all services. In the InfoServer utility, wildcards, where supported, are those used in OpenVMS. The % character matches exactly one character. The * character matches zero or more characters. device-or-partitionName The device or partition name is the name of the OpenVMS disk device or partition as it is to be known to the local area network. The name of the device or partition that you enter must have been created previously. Explanations of device and partition names follow. o Device names Devices served to the local area network are OpenVMS disk devices; use OpenVMS device names when you specify an InfoServer device name. Note that the device name must either match exactly the name that the SHOW SERVICES command displays or must contain wildcards. In the InfoServer utility, wildcards, where supported, are those used in OpenVMS. The % character matches exactly one character. The * character matches zero or more characters. A disk specification must end with a colon. o Partition names Partitions are container files that are served to the network. As such, they have OpenVMS file names with a default file type of ".ESS$PARTITION". Partition names, including the device, directory, and file name, can be no more than 242 characters in length. Support for partitions is limited in this version. VSI strongly suggests that you use LD devices to support partitioned hard drives. See the DCL command LD HELP for more information.
2 – Qualifiers
2.1 /ALL
Display all services that match the selection criteria even if no clients have connections. If this qualifier is omitted, only those services with clients connected will be displayed.
3 – Example
$ INFOSERVER SHOW SESSIONS HUDSON [ODS-2] _MOVERS$LDA1: [ 1 Connection] 1 service found. $ INFOSERVER SHOW SESSIONS/ALL HUDSON [ODS-2] _MOVERS$LDA1: [ 1 Connection] BAFFIN [ODS-2] _MOVERS$LDA1: FUNDY [ODS-2] _MOVERS$LDA1: 3 services found. The command in the first example displays only the session that has a client connection, HUDSON. The command in the second example displays all sessions, even those with no client connections.