Open System Services Programmer's Guide
3 Managing Processes
You can create, control, and terminate OSS processes as you would in a standard UNIX
environment. In addition to the standard set of UNIX process-management functions, there are
several HP extension functions that provide flexibility in propagating attributes during process
creation.
OSS processes have a full set of Guardian attributes as well as OSS-specific attributes. Most
Guardian process-management procedures can access OSS processes, and some OSS
process-management functions can access Guardian processes.
This section discusses the following topics:
ContentTopic
Summary of the differences between UNIX and OSS
process management.
“Common and Unique Characteristics” (page 105)
Which OSS attributes Guardian processes have, examples
of Guardian attributes that are important to OSS processes,
“Process Attributes” (page 113)
and a table comparing attributes in OSS and Guardian
processes.
Capability of OSS functions to manage Guardian processes
and of Guardian procedures to manage OSS processes.
“Process-Management Interoperability” (page 115)
OSS functions and Guardian procedures to create,
suspend, activate, and terminate processes.
“Creating and Controlling Processes” (page 119)
OSS functions and Guardian procedures to get information
about both OSS and Guardian processes and their
environments.
“Querying the Process Environment” (page 129)
OSS functions and Guardian procedures to modify
characteristics about both OSS and Guardian processes
and their environments.
“Modifying the Process Environment” (page 135)
Suggestions regarding the use of processmanagement
functions to improve application performance.
“Performance Considerations” (page 138)
List of each OSS process-management function with notes
about its OSS implementation and use on Guardian
processes.
“OSS Process-Management Functions” (page 149)
List of each Guardian process-management procedure with
notes about its use on OSS processes.
“Guardian Process-Management Procedures” (page 156)
Common and Unique Characteristics
OSS process management looks like typical UNIX process control, but there are some important
extensions added for interoperability between the OSS and Guardian environments. These
extensions and any differences between OSS process-management functions and typical UNIX
process control are summarized in Table 13 (page 150). Table 14 (page 156) summarizes the
behavior of Guardian process-management procedures when used to operate on OSS processes.
Features Common to UNIX and OSS Process Management
Common features include those discussed in the following subsections:
• “Process Creation Functions” (page 106)
• “Process Execution Priority-Control Functions” (page 111)
Common and Unique Characteristics 105