logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Trace System Calls with truss | Online Free DevTools by Hexmos

Trace system calls with truss, a SunOS troubleshooting tool for process monitoring and application analysis. Free online tool, no registration required.

truss

Troubleshooting tool for tracing system calls. SunOS equivalent of strace. More information: https://www.unix.com/man-page/linux/1/truss.

  • Start tracing a program by executing it, following all child processes:

truss -f {{program}}

  • Start tracing a specific process by its PID:

truss -p {{pid}}

  • Start tracing a program by executing it, showing arguments and environment variables:

truss -a -e {{program}}

  • Count time, calls, and errors for each system call and report a summary on program exit:

truss -c -p {{pid}}

  • Trace a process filtering output by system call:

truss -p {{pid}} -t {{system_call_name}}

return

See Also