1 .TH procsystime 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 procsystime \- analyse system call times. Uses DTrace.
6 [\-acehoT] [ -p PID | -n name | command ]
8 procsystime prints details on system call times for processes,
9 both the elapsed times and on-cpu times can be printed.
11 The elapsed times are interesting, to help identify syscalls
12 that take some time to complete (during which the process may
13 have slept). CPU time helps us identify syscalls that
14 are consuming CPU cycles to run.
16 Since this uses DTrace, only the root user or users with the
17 dtrace_kernel privilege can run this command.
21 stable - needs the syscall provider.
31 print elapsed times, ns
43 examine processes which have this name
46 Print elapsed times for PID 1871,
52 Print elapsed times for processes called "tar",
58 Print CPU times for "tar" processes,
64 Print syscall counts for "tar" processes,
70 Print elapsed and CPU times for "tar" processes,
76 print all details for "bash" processes,
82 run and print details for "df -h",
93 Total time, nanoseconds
98 See the DTraceToolkit for further documentation under the
99 Docs directory. The DTraceToolkit docs may include full worked
100 examples with verbose descriptions explaining the output.
102 procsystime will sample until Ctrl\-C is hit.
107 dtruss(1M), dtrace(1M), truss(1)