#pmieconf-rules 1
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
# $Id: many_util,v 1.1 1999/04/28 10:39:51 kenmcd Exp $
#

rule	per_cpu.many_util
	summary	= "$rule$"
	enumerate = hosts
	predicate =
"hinv.ncpu $hosts$ > $min_cpu_count$
  &&
$pct$ %_inst (
    100 * ( kernel.percpu.cpu.user $hosts$ +
	    kernel.percpu.cpu.sys $hosts$ +
	    kernel.percpu.cpu.intr $hosts$ )
     > $threshold$ )"
	enabled	= yes
	version	= 1
	help	=
"The processor utilization for at least pct percent of the CPUs
exceeded threshold percent during the last sample interval.  Only
applies to multi-processor systems having more than min_cpu_count
processors - for single-processor systems refer to the cpu.util
rule, for multi-processor systems with less than min_cpu_count
processors refer to the per_cpu.some_util rule.";

string	rule
	default	= "High number of saturated processors"
	modify	= no
	display	= no;

percent	threshold
	default	= 95
	help	=
"Threshold percentage for CPU saturation, in the range 0 (idle)
to 100 (completely busy)";

percent	pct
	default	= 25
	help	=
"Percentage of the processors which must be utilized greater
than threshold percent, in the range 0 (no processors utilized)
to 100 (all processors).";

unsigned	min_cpu_count
	default	= 4
	help	=
"Lower limit on number of processors for this rule - this rule will
apply to configurations of greater than min_cpu_count CPUs.
For smaller processor counts, the per_cpu.some_util rule may be more
appropriate.";

string	action_expand
	default	= "\\\\>$pct$%cpus@%h"
	display	= no
	modify	= no;

string	email_expand
	default	= "host: %h more than $pct$% of the processors are saturated"
	display	= no
	modify	= no;


# Configuration info specific to non-PCP tools follows...
# 

# for SGI Embedded Support Partner integration:
string	esp_type
	default	= "0x20005F"
	display	= no
	modify	= no;

# 
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
