HP OpenVMS Systems Documentation

Content starts here

HP OpenVMS Programming Concepts Manual

Previous Contents Index

Chapter 4
4 Process Control
     4.1     Using Process Control for Programming Tasks
         4.1.1         Determining Privileges for Process Creation and Control
         4.1.2         Determining Process Identification
         4.1.3         Qualifying Process Naming Within Groups
     4.2     Obtaining Process Information
         4.2.1         Using the PID to Obtain Information
         4.2.2         Using the Process Name to Obtain Information
         4.2.3         Using SYS$GETJPI and LIB$GETJPI
                Requesting Information About a Single Process
                Requesting Information About All Processes on the Local System
         4.2.4         Using SYS$GETJPI with SYS$PROCESS_SCAN
                Using SYS$PROCESS_SCAN Item List and Item-Specific Flags
                Requesting Information About Processes That Match One Criterion
                Requesting Information About Processes That Match Multiple Values for One Criterion
                Requesting Information About Processes That Match Multiple Criteria
         4.2.5         Specifying a Node as Selection Criterion
                Checking All Nodes on the Cluster for Processes
                Checking Specific Nodes on the Cluster for Processes
                Conducting Multiple Simultaneous Searches with SYS$PROCESS_SCAN
         4.2.6         Programming with SYS$GETJPI
                Using Item Lists Correctly
                Improving Performance by Using Buffered $GETJPI Operations
                Fulfilling Remote SYS$GETJPI Quota Requirements
                Using the SYS$GETJPI Control Flags
         4.2.7         Using SYS$GETLKI
         4.2.8         Setting Process Privileges
     4.3     Changing Process and Kernel Threads Scheduling
     4.4     Using Affinity and Capabilities in CPU Scheduling (Alpha and I64 Only)
         4.4.1         Defining Affinity and Capabilities
                Using Affinity and Capabilities with Caution
         4.4.2         Types of Capabilities
         4.4.3         Looking at User Capabilities
         4.4.4         Using the Capabilities System Services
         4.4.5         Types of Affinity
                Implicit Affinity
                Explicit Affinity
     4.5     Using the Class Scheduler in CPU Scheduling
         4.5.1         Specifications for the Class_Schedule Command
                The Add Subcommand
                The Delete Subcommand
                The Modify Subcommand
                The Show Subcommand
                The Suspend Subcommand
                The Resume Subcommand
         4.5.2         The Class Scheduler Database
                The Class Scheduler Database and Process Creation
         4.5.3         Determining If a Process Is Class Scheduled
         4.5.4         The SYS$SCHED System Service
     4.6     Changing Process Name
     4.7     Accessing Another Process's Context
         4.7.1         Reading and Writing in the Address Space of Another Process (Alpha and I64 Only)
    Command 1     EXE$READ_PROCESS
    Command 2     EXE$WRITE_PROCESS
         4.7.2         Writing an Executive Image (Alpha and I64 Only)
                INITIALIZATION_ROUTINE Macro (Alpha and I64 Only)
                Linking an Executive Image (Alpha or I64 Only)
                Loading an Executive Image (Alpha or I64 Only)
                LDR$LOAD_IMAGE (Alpha or I64 Only)
    Command 4     LDR$LOAD_IMAGE
                LDR$UNLOAD_IMAGE (Alpha or I64 Only)
    Command 5     LDR$UNLOAD_IMAGE
     4.8     Synchronizing Programs by Specifying a Time for Program Execution
         4.8.1         Obtaining the System Time
                Executing a Program at a Specified Time
                Executing a Program at Timed Intervals
         4.8.2         Placing Entries in the System Timer Queue
     4.9     Controlling Kernel Threads and Process Execution
         4.9.1         Process Hibernation and Suspension
                Using Process Hibernation
                Using Alternative Methods of Hibernation
                Using SYS$SUSPND
         4.9.2         Passing Control to Another Image
                Invoking a Command Image
                Invoking a Noncommand Image
         4.9.3         Performing Image Exit
                Performing Image Rundown
                Initiating Rundown
                Performing Cleanup and Rundown Operations
                Initiating Image Rundown for Another Process
         4.9.4         Deleting a Process
                Deleting a Process By Using System Services
                $DELPRC System Service Can Invoke Exit Handlers (Alpha and I64 only)
                Terminating Mailboxes

Previous Next Contents Index