Measure Reference Manual

OSS Opens of AF_UNIX Sockets Using socketpair()
OSS opens of AF_UNIX sockets due to socketpair() share the same Guardian format file name but
have no OSS file pathname. Both socket opens created by socketpair() share the same Guardian
format file name, which can select the shared OSS socket opens:
LIST FILE $ZPLS.*.* (pre-AF_UNIX R2)
LIST FILE $ZLSnn.*.* (AF_UNIX R2 - unbound sockets, nn =CPU number)
OSS Opens of AF_UNIX Stream Sockets Using socket() or accept()
OSS opens of OSS AF_UNIX stream sockets participating in the socket connections represented
by the server socket address all share the same Guardian format file name and OSS file pathname
of the listening socket. This includes the sockets involved in the bind(), connect(), and accept() calls.
OSS opens of unbound and unconnected AF_UNIX stream sockets have unique Guardian format
file names and no OSS file pathname.
To select OSS socket opens of the same AF_UNIX socket stream connection, use the Guardian
format file name or OSS file pathname of the listening socket:
LIST FILE $ZPLS.xxxxxx.xxxxxxxx:CRVSN
LIST FILE $ZLSNN.*.* (AF_UNIX R2 - bound sockets)
LIST FILE "/a/b/socketf"
OSS Opens of AF_UNIX Datagram Sockets
Bound AF_UNIX datagram socket opens have unique Guardian format names and an OSS file
pathname. Unbound AF_UNIX datagram socket opens have unique Guardian format names and
no OSS file pathname.
To select OSS opens of bound datagram sockets use their bound OSS file pathname:
LIST FILE "/a/b/socketf"
OSS Opens of OSS AF_INET and AF_INET6 Sockets
To select opens of AF_INET and IF_INET6 sockets, mask the Guardian format name or use the
Measure file open type:
LIST FILE $ZTC0.*.*
LIST FILE * (OSSINETSOCKET)
LIST FILE * (OSSINETSTREAM)
LIST FILE * (OSSINETDGRAM)
OSS Opens of OSS AF_INET and AF_INET6 Stream Sockets
OSS opens of AF_INET and AF_INET6 stream sockets involved in the socket connection (using the
same bound socket address) all share the IP address of the listening socket. This includes the sockets
involved in the bind(), connect() and accept() calls. If the IP address of the listening socket is 0.0.0.0
(bound to multiple IP addresses), the IP address of an accepted socket is its own socket address.
OSS opens of AF_INET and AF_INET6 stream sockets involved in a socket connection have unique
Guardian format names, except accepted AF_INET or AF_INET6 stream sockets, which share their
Guardian format name with the listening AF_INET or AF_INET6 stream socket.
To select OSS socket opens of the same AF_INET or AF_INET6 socket stream connection, use the
IP address of the listening socket. If the IP address of the listening socket is 0.0.0.0 (bound to
multiple IP addresses), the IP address of an accepted socket is its own socket address.
LIST FILE $ZTC0.*.*, if IP-ADDR = "1.2.3.4 555"
LIST FILE *, if IP-ADDR = "1.2.3.4 *" IP address = 1.2.3.4, any port number
LIST FILE *, if IP-ADDR = "* 37" IP address = any IP address, port 37
246 Entities and Counters