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


Created by dave. Last edited by dave, 14 years and 271 days ago. Viewed 3,441 times. #1
[edit] [rdf]


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:

-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: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt