1 .TH syscallbyproc.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 syscallbyproc.d \- syscalls by process name. Uses DTrace.
7 syscallbyproc.d is a DTrace OneLiner to a report of the number of
8 system calls made by process name.
10 This is useful to identify which process is causing the most
13 Docs/oneliners.txt and Docs/Examples/oneliners_examples.txt
14 in the DTraceToolkit contain this as a oneliner that can be cut-n-paste
17 Since this uses DTrace, only the root user or users with the
18 dtrace_kernel privilege can run this command.
22 stable - needs the syscall provider.
25 This samples until Ctrl\-C is hit.
32 This is the process name. There may be several PIDs that have the
33 same process name, for example with numerous instances of "bash". The
34 value reported will be the sum of them all.
37 This is the count, the number of system calls made.
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.
44 syscallbyproc.d will sample until Ctrl\-C is hit.
49 procsystime(1M), dtrace(1M), truss(1)