]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/stacksize.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 / stacksize.d.1m
1 .TH stacksize.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 stacksize.d \- measure stack size for running threads. Uses DTrace.
4 .SH SYNOPSIS
5 .B stacksize.d
6 .SH DESCRIPTION
7 This samples the user stack size by process name, and prints a 
8 distribution plot so that the average stack size can be easily
9 identified.
10
11 Since this uses DTrace, only the root user or users with the
12 dtrace_kernel privilege can run this command.
13 .SH OS
14 Solaris
15 .SH STABILITY
16 stable - needs the sched provider.
17 .SH EXAMPLES
18 .TP
19 This samples until Ctrl\-C is hit.
20
21 .B stacksize.d
22 .PP
23 .SH FIELDS
24 .TP
25 value
26 size of the user stack
27 .TP
28 count
29 number of samples at this size
30 .PP
31 .PP
32 .SH DOCUMENTATION
33 See the DTraceToolkit for further documentation under the 
34 Docs directory. The DTraceToolkit docs may include full worked
35 examples with verbose descriptions explaining the output.
36 .SH EXIT
37 stacksize.d will sample until Ctrl\-C is hit.
38 .SH AUTHOR
39 Jonathan Adams
40 .SH SEE ALSO
41 pmap(1), dtrace(1M)
42