1#!/usr/sbin/dtrace -s
2/*
3 * readbytes.d - read bytes by process name. DTrace OneLiner.
4 *
5 * This is a DTrace OneLiner from the DTraceToolkit.
6 *
7 * $Id: readbytes.d 3 2007-08-01 10:50:08Z brendan $
8 */
9
10sysinfo:::readch { @bytes[execname] = sum(arg0); }
11