HP-UX Workload Manager User's Guide
Example configuration files
metric_condition.wlm
Chapter 9 303
}
# tune structures
#
# These structures provide the data collector information
# for the metrics used in the slo structure above.
#
# One data collector is a hypothetical application, written to
# calculate and provide average job-completion time in minutes.
#
# The other metric is calculated using the glance toolkit and
# a glance metric called APP_ALIVE_PROC.
#
tune avg_completion_time {
coll_argv = /opt/batch/metrics/job_complete_time -minutes;
}
tune number_of_active_jobs {
coll_argv = wlmrcvdc glance_prm APP_ALIVE_PROC jobs;
}
For information on the condition keyword, see “Specifying when the
SLO is active (optional)” on page 205.