From 4297c1b2d07fec7f50b70e26e3adb4d062b19e15 Mon Sep 17 00:00:00 2001 From: gnn Date: Sat, 12 May 2012 20:38:18 +0000 Subject: Add the remaining scripts from the DTraceToolkit, version 0.99, to the vendor tree. http://www.brendangregg.com/dtrace.html#DTraceToolkit --- Proc/writebytes.d | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 Proc/writebytes.d (limited to 'Proc/writebytes.d') diff --git a/Proc/writebytes.d b/Proc/writebytes.d new file mode 100755 index 0000000..1fec0e9 --- /dev/null +++ b/Proc/writebytes.d @@ -0,0 +1,10 @@ +#!/usr/sbin/dtrace -s +/* + * writebytes.d - write bytes by process name. DTrace OneLiner. + * + * This is a DTrace OneLiner from the DTraceToolkit. + * + * $Id: writebytes.d 3 2007-08-01 10:50:08Z brendan $ + */ + +sysinfo:::writech { @bytes[execname] = sum(arg0); } -- cgit v1.1