Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
DTRUSS(1)               FreeBSD General Commands Manual              DTRUSS(1)

NAME
     dtruss - Trace system calls and userland stacks using DTrace

SYNOPSIS
     dtruss [-acdefholLs] [-t syscall] [-n name -p pid command]

DESCRIPTION
     The dtruss utility traces system calls and (optionally) userland stack
     traces for the specified programs.

     The following options are available:

     -p pid  Trace the process with PID pid.

     -n name
             Trace the process with name name.

     -t syscall
             Trace the specified syscall only.

     -a      Print all details.

     -c      Print syscall counts.

     -d      Print relative times (in microseconds).

     -e      Print elapsed times (in microseconds).

     -f      Follow the children processes.

     -l      Force printing PID / TID.

     -o      Print time spent on CPU.

     -s      Print userland stack backtraces.

     -L      Don't print PID / TID.

     -b bufsize
             Specify the DTrace buffer size.

EXIT STATUS
     The dtruss utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     dtrace(1)

HISTORY
     The dtruss utility comes from the DTraceToolkit and was first imported
     into FreeBSD 9.0.

AUTHORS
     Brendan Gregg

FreeBSD 11.0-PRERELEASE         August 26, 2010        FreeBSD 11.0-PRERELEASE

NAME | SYNOPSIS | DESCRIPTION | EXIT STATUS | SEE ALSO | HISTORY | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=dtruss&manpath=FreeBSD+10.3-RELEASE+and+Ports>

home | help