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 6 139
# Use a tune structure with glance_prm to determine the number of active
# processes in the express_lane group. This tune structure generates the
# metric express_lane_procs_active, which is used to make the SLO below
# inactive when no processes are present in the express_lane workload group.
tune express_lane_procs_active {
coll_argv = wlmrcvdc glance_prm -i 2 APP_ACTIVE_PROC express_lane;
}
# Next, create the SLO slo_express_lane. This SLO has a usage, or
# utilization, goal. With this type of goal, WLM adjusts the workload’s
# allocation so that its utilization of that allocation falls within a
# certain range. For example, if a workload is using 20 CPU shares and has
# a 50 share allocation, its utilization is 20/50 or 40%. By default, WLM
# attempts to keep a workload’s utilization between 50% and 75%. Reducing
# the allocation to 40 shares, utilization rises to 50%.
#
# This SLO is inactive when there are no processes in its associated
# workload group. Otherwise, the SLO provides additional CPU shares to the
# group as needed.
slo slo_express_lane {
pri = 1;
entity = PRM group express_lane;
mincpu = 5;
maxcpu = 45;
goal = usage _CPU;
condition = metric express_lane_procs_active > 0;
}