Linux "sotruss" Command Line Options and Examples
trace shared library calls through PLT

sotruss is a small wrapper around ld.so that runs the specified executable until it exits. It intercepts and produce a trace of the dynamic library calls which are called by the executed process via the Procedure Link‐ age Table (PLT).


Usage:

sotruss [OPTION...] [--] EXECUTABLE [EXECUTABLE-OPTION...]




Command Line Options:

-F
Trace calls from objects on FROMLIST.
sotruss -F ...
-T
Trace calls to objects on TOLIST.
sotruss -T ...
-e
Also show exits from the function calls.
sotruss -e ...
-f
Trace child processes as they are created by currently traced processes as a result of the fork(2) sys‐tem call.
sotruss -f ...
-o
Write output to FILENAME (or FILENAME. in case -f is also used) instead of standard error.
sotruss -o ...
-?
Give this help list
sotruss -? ...
--usage
Give a short usage message
sotruss --usage ...
--version
Print program versionAUTHORWritten by Ulrich Drepper.COPYRIGHTCopyright © 2013 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NO warranty; not even for MER‐CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sotruss --version ...