summaryrefslogtreecommitdiff
path: root/man/html/pmie/pswitch.pmie
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
commit47e6e7c84f008a53061e661f31ae96629bc694ef (patch)
tree648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /man/html/pmie/pswitch.pmie
downloadpcp-debian.tar.gz
Debian 3.9.10debian/3.9.10debian
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";