summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/dtracetoolkit/Proc/readbytes.d
blob: 67612a2d5e0f0edbd2ca25e1ce866fb4be03da7b (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/sbin/dtrace -s
/*
 * readbytes.d - read bytes by process name. DTrace OneLiner.
 *
 * This is a DTrace OneLiner from the DTraceToolkit.
 *
 * $Id: readbytes.d 3 2007-08-01 10:50:08Z brendan $
 */

sysinfo:::readch { @bytes[execname] = sum(arg0); }
OpenPOWER on IntegriCloud