truss
Troubleshooting tool for tracing system calls. tldr-pages
On SunOS
SunOS
Troubleshooting tool for tracing system calls. SunOS equivalent of strace.
Start tracing a program by executing it, following all child processes
truss -f programStart tracing a specific process by its PID
truss -p process_idStart tracing a program by executing it, showing arguments and environment variables
truss -a -e programCount time, calls, and errors for each system call and report a summary on program exit
truss -c -p process_idTrace a process filtering output by system call
truss -p process_id -t system_call_name