HP-UX Workload Manager Toolkits User's Guide

HP-UX WLM Duration Management Toolkit and HP-UX WLM Toolkit for Base SAS Software
How do I use DMTK / SASTK?
Chapter 6114
How do I use DMTK / SASTK?
This section gives step-by-step procedures and examples for:
Completing an application within a certain duration (duration
management)
Completing an urgent job as quickly as possible (express lanes)
Completing an application within a certain duration
(duration management)
Duration management allows you to control the duration of a process by
managing its CPU allocation. With DMTK, you manage duration by
specifying how soon a job should complete. The job then regularly
informs WLM how close it is to completion. Next, WLM will:
Increase the job’s CPU resources if the job may not complete in time
Decrease the job’s CPU resources if the job is completing too quickly
In either case, WLM and DMTK help you use just the right amount of
CPU resources to get the job done on schedule. This leaves the rest of the
CPU resources to be used by the other jobs and applications on the
system, preventing the need for extra processing resources that may go
unused in all but the most extreme cases.
To request that a job (target application) complete within a certain
duration:
Step 1. Write a discovery command to identify and correlate each target
application with its profile value and desired duration
Each discovery command must print to standard out the target
application’s:
•PID
Profile value (CPU time needed by the process to finish when
unlimited CPU resources are available) in integer seconds
Desired duration in whole seconds (integer seconds)