HP-UX Workload Manager User's Guide

Example configuration files
metric_condition.wlm
Chapter 9 301
# Any CPU that remains after satisfying the above SLO is given to the
# OTHERS group by default. You can change this default using the
# distribute_excess keyword. For more information on this keyword, see
# the wlmconf(4) manpage.
#
# Relay a metric from the outside user.
#
tune myapp.desired.allocation {
coll_argv = wlmrcvdc;
}
For information on the cpushares keyword, see “Specifying a
shares-per-metric allocation request (optional)” on page 205. For
information on using wlmrcvdc and wlmsend in this manner, see
“Sending data from the command line” on page 495.
metric_condition.wlm
This example shows a metric enabling an SLO only when the associated
workload has work to do.
#
# Name:
# metric_condition.wlm
#
# Version information:
#
# (C) Copyright 2001-2006 Hewlett-Packard Development Company, L.P.
#
# $Revision: 1.8 $
#
# Caveats:
# DO NOT MODIFY this file in its /opt/wlm/examples/wlmconf location!
# Make modifications to a copy and place that copy outside the
# /opt/wlm/ directory, as items below /opt/wlm will be replaced
# or modified by future HP-UX WLM product updates.