1#!/usr/sbin/dtrace -s 2/* 3 * lockbyproc.d - lock time by process name. DTrace OneLiner. 4 * 5 * This is a DTrace OneLiner from the DTraceToolkit. 6 * 7 * $Id: lockbyproc.d,v 1.1.1.1 2015/09/30 22:01:06 christos Exp $ 8 */ 9 10lockstat:::adaptive-block { @time[execname] = sum(arg1); } 11