HP-UX Workload Manager User's Guide
WLM configuration file syntax overview
Configuration file example
Appendix B398
Configuration file example
Use the following example to better understand the syntax. For an
explanation of the file’s components, see Chapter 5, “Configuring WLM,”
on page 135.
# Define the workload groups (which are based on PSETs and FSS groups)
prm {
groups = finance : 2,
sales : 3,
marketing : PSET : LCPU = ON;
users = jdoe : finance,
pdoe : sales,
admin : finance sales marketing;
apps = finance : /opt/fin_app/count_money,
sales : /opt/sales/do_ebiz;
procmap = finance :
/bin/env/ UNIX95= /bin/ps -C pid_app -o pid=,
sales : /scratch/pidsbyapp salespid_app,
marketing : /scratch/pidsbyapp mrketpid_app;
gmincpu = finance : 20,
sales : 10;
gmaxcpu = sales : 20;
gminmem = finance : 30,
sales : 10,
marketing : 20;
}
# This is an SLO for the finance group.
slo finance_query {
pri = 1;
mincpu = 20;
maxcpu = 50;
entity = PRM group finance;
goal = metric fin_app.query.resp_time < 2.0;
condition = Mon - Fri;
}