carta
sotruss(1)

sotruss1

Trace shared library calls through plt

Usage

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

Overview

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 Linkage Table (PLT). It outputs the caller, the calle and the parameters as each call is executed.

Options

-F, --from FROMLIST

Trace calls from objects on FROMLIST.

-T, --to TOLIST

Trace calls to objects on TOLIST.

-e, --exit

Also show exits from the function calls.

-f, --follow

Trace child processes as they are created by currently traced processes as a result of the fork(2) system call.

-o, --output FILENAME

Write output to FILENAME (or FILENAME. in case -f is also used) instead of standard error.

-?, --help

Give this help list

--usage

Give a short usage message

--version

Print program version

Author

Written by Ulrich Drepper.

From libc-devtools 2.41-12+deb13u4 in Debian 13 (Trixie). Parsed by carta from the page's man source.