]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/syscallbysysc.d.1m
MFC r368207,368607:
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / syscallbysysc.d.1m
1 .TH syscallbysysc.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 syscallbysysc.d \- syscalls by syscall. Uses DTrace.
4 .SH SYNOPSIS
5 .B syscallbysysc.d
6 .SH DESCRIPTION
7 syscallbysysc.d is a DTrace OneLiner to a report of the number of 
8 each type of system call made.
9
10 This is useful to identify which system call is the most common.
11
12 Docs/oneliners.txt and Docs/Examples/oneliners_examples.txt
13 in the DTraceToolkit contain this as a oneliner that can be cut-n-paste
14 to run.
15
16 Since this uses DTrace, only the root user or users with the
17 dtrace_kernel privilege can run this command.
18 .SH OS
19 Any
20 .SH STABILITY
21 stable - needs the syscall provider.
22 .SH EXAMPLES
23 .TP
24 This samples until Ctrl\-C is hit.
25
26 .B syscallbysysc.d
27 .PP
28 .SH FIELDS
29 .TP
30 first field
31 This is the system call type. Most have man pages in section 2.
32 .TP
33 second field
34 This is the count, the number of occurrances for this system call.
35 .PP
36 .SH DOCUMENTATION
37 See the DTraceToolkit for further documentation under the 
38 Docs directory. The DTraceToolkit docs may include full worked
39 examples with verbose descriptions explaining the output.
40 .SH EXIT
41 syscallbysysc.d will sample until Ctrl\-C is hit.
42 .SH AUTHOR
43 Brendan Gregg
44 [Sydney, Australia]
45 .SH SEE ALSO
46 procsystime(1M), dtrace(1M), truss(1)
47