1#!/usr/sbin/dtrace -s
2/*
3 * writebytes.d - write bytes by process name. DTrace OneLiner.
4 *
5 * This is a DTrace OneLiner from the DTraceToolkit.
6 *
7 * 15-May-2005	Brendan Gregg	Created this.
8 */
9
10sysinfo:::writech { @bytes[execname] = sum(arg0); }
11