ASAP 3.0 Server Manual

HP NonStop ASAP Server Manual Page 122 of 342
Monitoring Files and Processes Using OSS
Pathnames
OSS pathnames can be specified as domain names or separately using the PATH
option to the MONITOR command when monitoring OSS files and processes.
Because OSS pathnames can be longer and can contain more levels than ASAP
domain names, ASAP truncates any OSS pathname specified as a domain name
when the entire domain name exceeds 64 bytes or contains more than 5 levels. ASAP
truncates the leftmost portion of the pathname and includes a partial filename but not
the partial directory levels. Only entire directory levels are included, and only when the
level does not exceed the maximum level requirement.
ASAP transforms the pathname portion of a domain name into proper ASAP domain
name form, using the backslash as the level separator instead of a slash. When you
enter MONITOR PROCESS /bin/sh and ASAP finds a process running from the /bin/sh
object file, it creates a new record for that process by adding the process identifier as a
new level. An actual domain that would be displayed in an ASAP record would be
Bin\Sh\$Name for a process named $Name or might be Bin\Sh\$.2.59.6181274 for the
unnamed process running in CPU 2, PIN 59.
The OSS pathname can be the complete domain name, as shown in the /bin/sh
example, or it can be preceded by a logical name as described in the next section. For
example, MONITOR PROCESS OSS\SHELL/bin/sh creates an ASAP domain name of
OSS\SHELL\BIN\SH. The name OSS\SHELL/bin/sh is equivalent to
OSS\SHELL\/bin/sh.
If OSS pathnames cannot work as a part of an ASAP domain name, or you do not like
the way ASAP converts the pathname into a domain name, you can create your own,
unique domain name and use the MONITOR command PATH option to specify the
OSS pathname.
All OSS pathnames must begin with a slash.
Note
Resolving the processes running from an OSS pathname can result in excessive low-level
messaging in the NonStop OS. This method should be used judiciously in extremely high-
performance application environments.
Logical Grouping
ASAP lets you group files into hierarchical groups of files and processes into
hierarchical groups of processes. This feature is implemented in the MONITOR
command, allowing you to specify a logical group name or names that the file or
process belongs to. For example, these monitor commands define processes $A10
through $A14 as members of the Sales application: