59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
#pmieconf-rules 1
|
|
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
|
|
# $Id: syscall,v 1.1 1999/04/28 10:39:51 kenmcd Exp $
|
|
#
|
|
|
|
rule cpu.syscall
|
|
summary = "$rule$"
|
|
predicate =
|
|
"some_host (
|
|
( kernel.all.syscall $hosts$ )
|
|
> $threshold$ count/sec * hinv.ncpu $hosts$
|
|
)"
|
|
enabled = yes
|
|
version = 1
|
|
help =
|
|
"Average number of system calls per CPU per second exceeded
|
|
threshold over the past sample interval.";
|
|
|
|
string rule
|
|
default = "High aggregate system call rate"
|
|
modify = no
|
|
display = no;
|
|
|
|
double threshold
|
|
default = 10000
|
|
help =
|
|
"The threshold of system calls per second. The appropriate value
|
|
here is a function of the processor type and the workload, but here
|
|
are some indicative figures of sustained system call rates:
|
|
lseek() to start of file - 280000 syscalls/sec
|
|
read() at end of file - 100000 syscalls/sec
|
|
repeated file creat() - 65000 syscalls/sec
|
|
socket connection activity - 15000 syscalls/sec
|
|
(generated using an otherwise idle Origin 2000 with 4 180MHz R10000
|
|
processors).";
|
|
|
|
string action_expand
|
|
default = %vscall/s@%h
|
|
display = no
|
|
modify = no;
|
|
|
|
string email_expand
|
|
default = "host: %h aggregate syscalls/sec: %v"
|
|
display = no
|
|
modify = no;
|
|
|
|
|
|
# Configuration info specific to non-PCP tools follows...
|
|
#
|
|
|
|
# for SGI Embedded Support Partner integration:
|
|
string esp_type
|
|
default = "0x200043"
|
|
display = no
|
|
modify = no;
|
|
|
|
#
|
|
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
|