]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/syscallbypid.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 / syscallbypid.d.1m
1 .TH syscallbypid.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 syscallbypid.d \- syscalls by process ID. Uses DTrace.
4 .SH SYNOPSIS
5 .B syscallbypid.d
6 .SH DESCRIPTION
7 This reports the number of each type of system call made by PID.
8 This is useful to identify which process is causing the most 
9 system calls.
10
11 This is based on a script from DExplorer.
12
13 Since this uses DTrace, only the root user or users with the
14 dtrace_kernel privilege can run this command.
15 .SH OS
16 Solaris
17 .SH STABILITY
18 stable - needs the syscall provider.
19 .SH EXAMPLES
20 .TP
21 This samples until Ctrl\-C is hit.
22
23 .B syscallbypid.d
24 .PP
25 .SH FIELDS
26 .TP
27 PID
28 process ID
29 .TP
30 CMD
31 process name
32 .TP
33 SYSCALL
34 system call name
35 .TP
36 COUNT
37 number of system calls made in this sample
38 .PP
39 .SH DOCUMENTATION
40 See the DTraceToolkit for further documentation under the 
41 Docs directory. The DTraceToolkit docs may include full worked
42 examples with verbose descriptions explaining the output.
43 .SH EXIT
44 syscallbypid.d will sample until Ctrl\-C is hit.
45 .SH AUTHOR
46 Brendan Gregg
47 [Sydney, Australia]
48 .SH SEE ALSO
49 procsystime(1M), dtrace(1M), truss(1)
50