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 6140
Command and macro reference
DMTK / SASTK consist of:
wlmdurdc duration data collector
hp_wlmtk_goals_report SAS macro
These item are described below.
wlmdurdc
The wlmdurdc tool is a data collector for Workload Manager. It provides
duration management for wlmd(1M).
The wlmdurdc tool requires three values on standard out in the following
order from the user-supplied discovery command:
PID of the process needing duration management
Profile value
This value is the CPU time in integer seconds needed by the process
to finish when it has unlimited CPU resources.
Desired duration of the managed process in whole seconds (integer
seconds)
You can develop the discovery command in any fashion you desire as long
as it provides the values above on standard out. For an example
discovery command, see the “Example discovery command” on page 123.
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 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.