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.
-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.