-
- trace - output a system call trace
-
- trace [ options ] command [arg ...]
-
- By default trace runs command with the specified arguments and displays a trace of each system call,
it arguments, and the return value on standard output. Arguments that are long are truncated by default.
-
- -a
- Trace and then display a count for each system call.
- -c
- Display only a count for each system call.
- -o outfile
- The trace output will be placed in file outfile.
- -f
- Equivalent to -i.
- -i
- Tracing will be inherited by child processes.
- -t
- Precede each call with the time in machine cycles that the call started.
- -v
- The output will be more verbose by not truncating long arguments.
-
- If successful, the exit status of trace will that of command. Otherwise, it will be one of the
following
- 126
- command was found but could not be invoked.
- 127
- An error occurred in trace or command could not be found.
-
- traceit(1)
-
- version
- trace (AT&T Labs Research) 2002-06-20
- author
- David Korn <dgk@research.att.com>
- author
- Glenn Fowler <gsf@research.att.com
>
- license
- http://www.research.att.com/sw/tools/reuse