Forrest logo
back to context overview

truss

List of commands for truss:

  • truss:tldr:5979e truss: Start tracing a program by executing it, following all child processes.
    $ truss -f ${program}
    try on your machine
    explain this command
  • truss:tldr:c99aa truss: Start tracing a specific process by its PID.
    $ truss -p ${pid}
    try on your machine
    explain this command
  • truss:tldr:e19af truss: Count time, calls, and errors for each system call and report a summary on program exit.
    $ truss -c -p ${pid}
    try on your machine
    explain this command
  • truss:tldr:e1b93 truss: Trace a process filtering output by system call.
    $ truss -p ${pid} -t ${system_call_name}
    try on your machine
    explain this command
  • truss:tldr:e999f truss: Start tracing a program by executing it, showing arguments and environment variables.
    $ truss -a -e ${program}
    try on your machine
    explain this command
back to context overview