HP-UX Workload Manager User's Guide

Example configuration files
time_activated.wlm
Chapter 9322
# Dependencies:
# This example was designed to run with version HP-UX WLM A.01.02
# or later.
#
# prm structure
#
# See wlmconf(4) for complete HP-UX WLM configuration information.
#
# Define all workload groups in the prm structure. Individual
# users are assigned to particular groups in this structure as well.
#
# In this example configuration, the user don can execute
# applications in either the Payroll or OTHERS workload groups. So,
# he can move existing processes to, or start new processes in,
# OTHERS using the prmmove or prmrun commands. For more information,
# see prmmove(1) and prmrun(1). The users paysupv and payadm can
# execute applications in the Payroll group but nowhere else.
#
# Note that the group OTHERS is created automatically. Applications
# run by users not referenced in the prm structure will execute in
# the OTHERS group. Given the prm structure below, only don,
# paysupv and payadm can execute applications in the Payroll
# group.
prm {
groups= Payroll : 3;
users= don: Payroll OTHERS,
paysupv: Payroll,
payadm: Payroll;
}
#
# slo structure
#
# The keywords pri (priority), and entity (group to which
# the SLO applies) are required for any SLO specification.
#
# The cpushares statement requests a fixed allocation of 80% of the
# CPU resources on the system for the Payroll group.
#
# With the condition set as shown, this SLO is only in effect
# on the 6th and 21st of each month. On these dates, applications
# executing in the Payroll group will have 80% of the system’s CPU
# resources dedicated to them. Note that on all other dates, the
# SLO is disabled, and only the minimum default of 1% of the CPU