95 lines
2.6 KiB
HTML
95 lines
2.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of SOTRUSS</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>SOTRUSS</H1>
|
|
Section: User Commands (1)<BR>Updated: May 2014<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
sotruss - trace shared library calls through PLT
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>sotruss</B>
|
|
|
|
[<I>,OPTION/</I>...] [<I>,--/</I>] <I>,EXECUTABLE /</I>[<I>,EXECUTABLE-OPTION/</I>...]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>sotruss </B>
|
|
|
|
is a small wrapper around
|
|
<B>ld.so</B>
|
|
|
|
that runs the specified
|
|
<I>executable</I>
|
|
|
|
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.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-F</B>, <B>--from</B> FROMLIST<DD>
|
|
Trace calls from objects on FROMLIST.
|
|
<DT id="2"><B>-T</B>, <B>--to</B> TOLIST<DD>
|
|
Trace calls to objects on TOLIST.
|
|
<DT id="3"><B>-e</B>, <B>--exit</B><DD>
|
|
Also show exits from the function calls.
|
|
<DT id="4"><B>-f</B>, <B>--follow</B><DD>
|
|
Trace child processes as they are created by currently traced processes as a result of the
|
|
<B><A HREF="/cgi-bin/man/man2html?2+fork">fork</A>(2)</B>
|
|
|
|
system call.
|
|
<DT id="5"><B>-o</B>, <B>--output</B> FILENAME<DD>
|
|
Write output to FILENAME (or FILENAME. in case
|
|
<B>-f</B> is also used) instead of standard error.
|
|
<DT id="6">-?, <B>--help</B><DD>
|
|
Give this help list
|
|
<DT id="7"><B>--usage</B><DD>
|
|
Give a short usage message
|
|
<DT id="8"><B>--version</B><DD>
|
|
Print program version
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Ulrich Drepper.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 2013 Free Software Foundation, Inc.
|
|
<BR>
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+ld.so">ld.so</A>(8).</B>
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="12"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="13"><A HREF="#lbAF">AUTHOR</A><DD>
|
|
<DT id="14"><A HREF="#lbAG">COPYRIGHT</A><DD>
|
|
<DT id="15"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:27 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|