mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-10 07:39:25 -04:00
11 lines
267 B
D
Executable File
11 lines
267 B
D
Executable File
#!/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:09 christos Exp $
|
|
*/
|
|
|
|
sysinfo:::readch { @bytes[execname] = sum(arg0); }
|