HP-UX Workload Manager Toolkits User's Guide

HP-UX WLM Duration Management Toolkit and HP-UX WLM Toolkit for Base SAS Software
Tools in DMTK / SASTK
Chapter 6 107
Tools in DMTK / SASTK
DMTK and SASTK include the following items for duration
management:
wlmdurdc
The wlmdurdc tool is a duration data collector for
Workload Manager. It takes the following items—in the
order shown—as input:
PID of the process needing duration management
Profile value
(CPU time in integer seconds needed by the process
to finish when unlimited CPU resources are
available)
Desired duration of the managed process in whole
seconds (integer seconds)
The wlmdurdc tool uses these values to determine how
many CPU cycles the process is currently using, how
many cycles it needs to finish, and the desired duration
to determine by when the process should get all those
cycles. Based on these values, wlmdurdc sends a
request to WLM for more CPU resources for the
process’s workload group if the process needs more
resources to finish within the timeframe. Similarly, a
request for fewer CPU resources is sent to WLM if the
process is finishing too quickly.
hp_wlmtk_goals_report
This macro is useful in instrumenting SAS jobs to:
Get profile data indicating elapsed time for a job
•Inform wlmdurdc of the job’s percent completed