51 lines
1.0 KiB
Plaintext
51 lines
1.0 KiB
Plaintext
#pmieconf-rules 1
|
|
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
|
|
# $Id: context_switch,v 1.1 1999/04/28 10:39:51 kenmcd Exp $
|
|
#
|
|
|
|
rule cpu.context_switch
|
|
summary = "$rule$"
|
|
predicate =
|
|
"some_host (
|
|
kernel.all.pswitch $hosts$
|
|
> $threshold$ count/sec * hinv.ncpu $hosts$
|
|
)"
|
|
enabled = yes
|
|
version = 1
|
|
help =
|
|
"Average number of context switches per CPU per second exceeded
|
|
threshold over the past sample interval.";
|
|
|
|
string rule
|
|
default = "High aggregate context switch rate"
|
|
modify = no
|
|
display = no;
|
|
|
|
double threshold
|
|
default = 4000
|
|
help =
|
|
"The threshold number of process context switches per second.";
|
|
|
|
string action_expand
|
|
default = %vctxts/s@%h
|
|
display = no
|
|
modify = no;
|
|
|
|
string email_expand
|
|
default = "host: %h aggregate context switches: %v/sec"
|
|
display = no
|
|
modify = no;
|
|
|
|
|
|
# Configuration info specific to non-PCP tools follows...
|
|
#
|
|
|
|
# for SGI Embedded Support Partner integration:
|
|
string esp_type
|
|
default = "0x20005C"
|
|
display = no
|
|
modify = no;
|
|
|
|
#
|
|
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
|