summaryrefslogtreecommitdiff
path: root/man/html/pmie/pswitch.pmie
blob: 34c706a3f9d641f8b89a86bce450644270dbe893 (plain)
1
2
3
4
5
// Sample interval
delta = 5 sec;

// If context switch rate exceeds 2000 per second, display an alarm notifier.
kernel.all.pswitch > 2000 count/sec -> alarm "high context switch rate";