1 .TH lockbydist.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 lockbydist.d \- lock distrib. by process name. Uses DTrace.
7 lockbydist.d is a DTrace OneLiner to a report the time threads have
8 spent blocked on adaptive mutexes, by process name.
10 A distribution is printed to illustrate the number of blocks at
11 different lengths in time. This helps us identify if there are many
12 short blocks, or fewer large blocks.
14 Docs/oneliners.txt and Docs/Examples/oneliners_examples.txt
15 in the DTraceToolkit contain this as a oneliner that can be cut-n-paste
18 Since this uses DTrace, only the root user or users with the
19 dtrace_kernel privilege can run this command.
23 stable - needs the lockstat provider.
26 This samples until Ctrl\-C is hit.
33 The process name. There may be several PIDs that have the
34 same process name, for example with numerous instances of "bash". The
35 value reported will be the sum of them all.
38 The blocked time in nanoseconds
41 The number of occurrences that were at least this size
44 See the DTraceToolkit for further documentation under the
45 Docs directory. The DTraceToolkit docs may include full worked
46 examples with verbose descriptions explaining the output.
48 lockbydist.d will sample until Ctrl\-C is hit.
53 lockstat(1M), dtrace(1M)