truss — Trace System Calls and Signals

Synopsis

/usr/bin/truss [-fcaeildD][- [tTvx][!]syscall,...] 

							
								
  [-s [!]signal,...][-mM [!]fault,...] [- [rw][!]fd,...] 
  [- [uU][!][lib,...:[:][!]func,...][-o outfile] command | -p pid
					

Description

The truss command executes the specified command and produces a trace of the system calls it performs, the signals it receives, and the system faults it incurs. Each line of the trace output reports either the fault or signal name or the system call name with its arguments and return value(s). System call arguments are displayed symbolically when possible, using defines from relevant system headers; for any path-name ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.