blob: f8238a07a9f45e467d4124646f62ccf625f4d71d (
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,v 1.1.1.1 2015/09/30 22:01:07 christos Exp $
*/
sysinfo:::readch { @bytes[execname] = sum(arg0); }
|