Skip to content

Instantly share code, notes, and snippets.

@baitisj
baitisj / rw.d
Last active August 29, 2015 14:27 — forked from kassandry/rw.d
rw.d dtrace FreeBSD
#pragma D option quiet
/* dtrace D script for helping to tune the OpenZFS write throttle */
/* Original script from: */
/* http://dtrace.org/blogs/ahl/2014/08/31/openzfs-tuning/ */
/* Example invocation that collects statistics over 1 minute: */
/* dtrace -s rw.d -c 'sleep 60' */
BEGIN