summaryrefslogtreecommitdiff
path: root/cddl/contrib/dtracetoolkit/Mem/minfbyproc.d
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/contrib/dtracetoolkit/Mem/minfbyproc.d')
-rwxr-xr-xcddl/contrib/dtracetoolkit/Mem/minfbyproc.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/cddl/contrib/dtracetoolkit/Mem/minfbyproc.d b/cddl/contrib/dtracetoolkit/Mem/minfbyproc.d
new file mode 100755
index 000000000000..4d7316c5f09b
--- /dev/null
+++ b/cddl/contrib/dtracetoolkit/Mem/minfbyproc.d
@@ -0,0 +1,10 @@
+#!/usr/sbin/dtrace -s
+/*
+ * minfbyproc.d - minor faults by process name. DTrace OneLiner.
+ *
+ * This is a DTrace OneLiner from the DTraceToolkit.
+ *
+ * $Id: minfbyproc.d 3 2007-08-01 10:50:08Z brendan $
+ */
+
+vminfo:::as_fault { @mem[execname] = sum(arg0); }