UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: sortbibChapter 2
Unix Commands
Next: Reference: spell
 

sotruss

sotruss [options] program [args ...]

Solaris only. Shared object library version of truss. sotruss executes program, passing it args, if any. It then traces calls into and/or out of shared object libraries that are loaded dynamically.

Options

-f

Follow children created by fork(2) and print output for each child. Each output line contains the process's process ID.

-F fromlist

Only trace calls from the libraries named in fromlist, which is a colon-separated list of libraries. The default is to trace only calls from the main executable.

-o file

Send output to file. If used with -f, the process ID of the running program is appended to the filename.

-T tolist

Only trace calls to routines in the libraries named in tolist, which is a colon-separated list of libraries. The default is to trace all calls.


Previous: Reference: sortbibUNIX in a Nutshell: System V EditionNext: Reference: spell
Reference: sortbibBook IndexReference: spell

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System