HP-UX Workload Manager Toolkits User's Guide

HP-UX WLM SNMP Toolkit
Example WLM configuration
Chapter 7152
# Workload group definitions
#
# Change the application record to include the names of the binaries that
# make up the workload. When WLM starts, it will automatically move
# those processes into the specified group. See the wlmconf(4) manpage
# for more details on application records.
#
prm {
groups = OTHERS : 1,
workload : 2;
apps = workload : “/bin/tar”;
}
#
# This SLO sets a fixed allocation of 40% when there are fewer
# than 200 processes running on the system.
#
slo s_workload_low_proc {
pri = 1;
cpushares = 40 total;
entity = PRM group workload;
condition = metric m_workload < 200;
}
#
# This SLO sets a fixed allocation of 20% when there are 200
# or more processes running on the system.
#
slo s_workload_high_proc {
pri = 1;
cpushares = 20 total;
entity = PRM group workload;
condition = !(metric m_workload < 200);
}
#
# Use snmpdc to fetch the metric values from an SNMP agent.
#
# The resource:
#
# .1.3.6.1.4.1.11.2.3.1.4.1.0
#
# is the numeric representation of:
#
# hp.nm.system.general.processes.processNum.0