summaryrefslogtreecommitdiff
path: root/man/html/pmie/pswitch.pmie
diff options
context:
space:
mode:
Diffstat (limited to 'man/html/pmie/pswitch.pmie')
-rw-r--r--man/html/pmie/pswitch.pmie5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/html/pmie/pswitch.pmie b/man/html/pmie/pswitch.pmie
new file mode 100644
index 0000000..34c706a
--- /dev/null
+++ b/man/html/pmie/pswitch.pmie
@@ -0,0 +1,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";