]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/sh_syscalls.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_syscalls.d.1m
1 .TH sh_syscalls.d 1m   "$Date:: 2007-10-03 #$" "USER COMMANDS"
2 .SH NAME
3 sh_syscalls.d - count Bourne calls and syscalls using DTrace.
4 .SH SYNOPSIS
5 .B sh_syscalls.d
6 { \-p PID | \-c cmd }   
7 .SH DESCRIPTION
8 Filename and function names are printed if available.
9 The filename for syscalls may be printed as the shell name, if the
10 script was invoked using the form "shell filename" rather than running
11 the script with an interpreter line.
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_syscalls.d
23 .PP
24 .SH FIELDS
25 .TP
26 FILE
27 Filename of the shell or shellscript
28 .TP
29 TYPE
30 Type of call (func/builtin/cmd/syscall)
31 .TP
32 NAME
33 Name of call
34 .TP
35 COUNT
36 Number of calls during sample
37 .PP
38 .SH DOCUMENTATION
39 See the DTraceToolkit for further documentation under the 
40 Examples, Notes and Docs directories. The example files may be
41 especially useful as they aim to demonstrate how to interpret
42 the output.
43 .SH EXIT
44 sh_syscalls.d will run until Ctrl-C is hit.
45 .SH AUTHOR
46 Brendan Gregg
47 [CA, USA]
48 .SH SEE ALSO
49 dtrace(1M)