/
var
/
lib
/
pcp
/
config
/
pmieconf
/
cpu
/
/var/lib/pcp/config/pmieconf/cpu
mkdir
upload
Name
Size
Mode
Actions
context_switch
791
0644
edit
dl
rm
load_average
1476
0644
edit
dl
rm
low_util
1344
0644
edit
dl
rm
system
1374
0644
edit
dl
rm
util
909
0644
edit
dl
rm
Edit:
/etc/pcp/pmieconf/cpu/context_switch
(791B)
#pmieconf-rules 1 # --- DO NOT MODIFY THIS FILE --- see pmieconf(5) # rule cpu.context_switch summary = "$rule$" predicate = "some_host ( kernel.all.pswitch $hosts$ > hinv.ncpu $hosts$ * $threshold$ count/sec )" 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 = %vctxsw/s@%h display = no modify = no; string email_expand default = "host: %h aggregate context switches: %v/sec" display = no modify = no; # # --- DO NOT MODIFY THIS FILE --- see pmieconf(5)
Save
cmd:
run