mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-11 16:15:07 -04:00
11 lines
276 B
D
Executable File
11 lines
276 B
D
Executable File
#!/usr/sbin/dtrace -s
|
|
/*
|
|
* lockbyproc.d - lock time by process name. DTrace OneLiner.
|
|
*
|
|
* This is a DTrace OneLiner from the DTraceToolkit.
|
|
*
|
|
* $Id: lockbyproc.d,v 1.1.1.1 2015/09/30 22:01:06 christos Exp $
|
|
*/
|
|
|
|
lockstat:::adaptive-block { @time[execname] = sum(arg1); }
|