]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/sh_lines.d.1m
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / sh_lines.d.1m
1 .TH sh_lines.d 1m   "$Date:: 2007-10-03 #$" "USER COMMANDS"
2 .SH NAME
3 sh_lines.d - trace Bourne shell line execution using DTrace.
4 .SH SYNOPSIS
5 .B sh_lines.d
6
7 .SH DESCRIPTION
8 This traces shell activity from all Bourne shells on the system that are
9 running with sh provider support.
10
11 Filenames are printed if available.
12 .SH OS
13 Any
14 .SH STABILITY
15 Evolving - uses the DTrace Shell provider, which may change 
16 as additional features are introduced. Check Shell/Readme
17 to see what version these scripts are based on.
18 .SH EXAMPLES
19 .TP
20 Default output,
21
22 .B sh_lines.d
23 .PP
24 .SH FIELDS
25 .TP
26 FILE
27 Filename of the shell or shellscript
28 .TP
29 LINE
30 Line number
31 .TP
32 COUNT
33 Number of times a line was executed
34 .PP
35 .SH DOCUMENTATION
36 See the DTraceToolkit for further documentation under the 
37 Examples, Notes and Docs directories. The example files may be
38 especially useful as they aim to demonstrate how to interpret
39 the output.
40 .SH EXIT
41 sh_lines.d will run until Ctrl-C is hit.
42 .SH AUTHOR
43 Brendan Gregg
44 [CA, USA]
45 .SH SEE ALSO
46 dtrace(1M)