dtruss(1m) | USER COMMANDS | dtruss(1m) |
dtruss - process syscall details. Uses DTrace.
dtruss [-acdeflhoLs] [-t syscall] { -p PID | -n name | command }
dtruss prints details on process system calls. It is like a DTrace version of truss, and has been designed to be less intrusive than truss.
Of particular interest is the elapsed times and on cpu times, which can identify both system calls that are slow to complete, and those which are consuming CPU cycles.
Since this uses DTrace, only users with root privileges can run this command.
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.
dtruss will run forever until Ctrl-C is hit, or if a command was executed dtruss will finish when the command ends.
Brendan Gregg [Sydney, Australia]
procsystime(1M), dtrace(1M), truss(1)
June 17, 2005 | version 0.80 |