]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/sh_stat.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_stat.d.1m
1 .TH sh_stat.d 1m   "$Date:: 2007-10-03 #$" "USER COMMANDS"
2 .SH NAME
3 sh_stat.d - Bourne shell operation stats using DTrace.
4 .SH SYNOPSIS
5 .B sh_stat.d
6 [interval [count]]
7 .SH DESCRIPTION
8 This traces activity from all sh processes on the system that are running
9 with sh provider support.
10
11 The numbers are counts for the interval specified. The default interval
12 is 1 second.
13
14 If you see a count in "EXECS" but not in the other columns, then sh
15 scripts may be running without the DTrace sh provider. See Shell/Readme.
16
17 Filename and function names are printed if available.
18 .SH OS
19 Any
20 .SH STABILITY
21 Evolving - uses the DTrace Shell provider, which may change 
22 as additional features are introduced. Check Shell/Readme
23 to see what version these scripts are based on.
24 .SH EXAMPLES
25 .TP
26 Default output,
27
28 .B sh_stat.d
29 .PP
30 .SH FIELDS
31 .TP
32 EXEC/s
33 Bourne shells executed per second, including
34 those without sh provider support
35 .TP
36 FUNC/s
37 Functions called, per second
38 .TP
39 BLTIN/s
40 Builtins called, per second
41 .TP
42 SUB-SH/s
43 Sub-shells called, per second
44 .TP
45 CMD/s
46 External commands called, per second
47 .PP
48 .SH DOCUMENTATION
49 See the DTraceToolkit for further documentation under the 
50 Examples, Notes and Docs directories. The example files may be
51 especially useful as they aim to demonstrate how to interpret
52 the output.
53 .SH EXIT
54 sh_stat.d will run until Ctrl-C is hit.
55 .SH AUTHOR
56 Brendan Gregg
57 [CA, USA]
58 .SH SEE ALSO
59 dtrace(1M)