HP-UX Workload Manager Toolkits User's Guide

HP-UX WLM Duration Management Toolkit and HP-UX WLM Toolkit for Base SAS Software
Command and macro reference
Chapter 6 141
The wlmdurdc tool works as described below:
Step 1. Launches discovery commands
The wlmdurdc tool launches all the discovery commands using exec().
Step 2. Gets discovery data
wlmdurdc waits for each discovery command to output data.
Step 3. Locates target application
The wlmdurdc tool locates the process matching the PID from the
discovery command output. If no such PID is found, wlmdurdc returns to
Step 1.
Step 4. Sends request to WLM
The wlmdurdc tool uses the data from each discovery command to
calculate a request to WLM for an adjusted CPU allocation.
Step 5. Repeats
After sending data to WLM, wlmdurdc begins the process again.
For more information on this utility—including its options, see
wlmdurdc(1M).
hp_wlmtk_goals_report
The macro hp_wlmtk_goals_report is used to instrument your SAS jobs
for more accurate duration management. Place the macro throughout
the SAS job source code to report “percent complete” to wlmdurdc. The
syntax is:
hp_wlmtk_goals_report(percent_complete)
where percent_complete is an integer value ranging from 1 to 99
inclusive.
For more information on this utility, see hp_wlmtk_goals_report(1M).