Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

Obtaining Information About the OSS Subsystem
You can use SCF commands to obtain information as described in the following subsections:
“Checking Whether a Subsystem Process Is Running” (page 57)
“Listing the Objects Managed by the OSS Monitor” (page 58)
“Checking the Configuration of the OSS Monitor” (page 58)
“Checking the Version of the OSS Monitor” (page 59)
Checking Whether a Subsystem Process Is Running
There is no OSS Monitor command that provides the state of an OSS subsystem process. To
determine the state of an OSS subsystem process, you must use the basic SCF LISTDEV command.
For example, if you enter LISTDEV at an SCF prompt, a display similar to that shown in Example 3
would appear. In the figure, the OSS Monitor process $ZPMON is shown as:
Running, with:
Its primary process in processor 1 at high PIN 372
No backup process, indicated by processor 0 with PIN 0
Having a:
Logical device number of 581
Device type of 24
Device subtype of 0
Scheduling priority of 180
Using the object file \NODE1.$SYSTEM.SYS01.OSSMON
Other servers used by OSS processes (for example, the $ZTCn server mentioned under “OSS
Sockets” (page 39)) and by the OSS subsystem also appear in the figure.
NOTE: A copy of the TCP/IP process is not necessarily given the default name of $ZTC0. However,
as long as either the DEFINE =TCPIP^PROCESS^NAME matches the running TCP/IP process or
the OSS application calls the socket_transport_name_set( ) function to select the TCP/IP
process name, OSS AF_INET and AF_INET6 sockets function properly.
Managing the OSS Subsystem 57