HP-UX Workload Manager User's Guide
Example configuration files
time_activated.wlm
Chapter 9 321
#
tune fin_app.query.resp_time {
coll_argv = /opt/fin_app/finance_collector -a 123 -v;
}
#
# tune structure specifying similar information for the
# sales_app.resp_time metric.
#
tune sales_app.resp_time {
coll_argv = /opt/sales_app/monitor -threshold 2 -freq 30;
}
For information on the condition keyword, see “Specifying when the
SLO is active (optional)” on page 205. Also see “Goals vs stretch goals” on
page 203.
time_activated.wlm
The following example enables an SLO based on time, or in this case,
date.
#
# Name:
# time_activated.wlm
#
# Version information:
#
# (C) Copyright 2001-2006 Hewlett-Packard Development Company, L.P.
#
# $Revision: 1.9 $
#
# Caveats:
# DO NOT MODIFY this script 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.
#
# Purpose:
# Demonstrate the use of HP-UX WLM in allocating a fixed allocation
# to a particular group of users only during a certain time period.
#