For When You Can't Have The Real Thing
[ start | index | login ]
start > Solaris > truss

truss

Created by dave. Last edited by dave, 14 years and 77 days ago. Viewed 3,326 times. #1
[edit] [rdf]
labels
attachments

truss

Truss follows system calls on Solaris.

Useful examples:

# truss -dfo /tmp/truss.log some-command-we-are-interested-in [command-args ...]
# truss -dpo /tmp/truss.log some-pid [some-other-pid ...]

Useful switches:

SwitchMeaning
-dPrefix output with date-time information
-fattempt to follow forks
-o filedump truss output to file instead of stderr
-ccollect summary information rather than displaying as program runs
-pargument is a list of already running pids to connect to instead of a command to run
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt