Registration

Dear SAP Community Member,
In order to fully benefit from what the SAP Community has to offer, please register at:
http://scn.sap.com
Thank you,
The SAP Community team.
Skip to end of metadata
Go to start of metadata

Overview

Strace can capture the execution of a binary from start to end. It intercepts and records the system calls which are called by a process and the signals which are received by a process. The name of each system call, its arguments and its return value(s) are all printed.  Strace takes advantage of a Linux kernel feature called 'ptrace' which isn't available in the Windows OS architecture.  Strace is very similar to 'truss' which is available for use on Solaris.

Screenshots

 

 

Download

 'strace' is shipped and installed with Redhat, Suse and virtually all Linux distro's.  No download is needed.

Related Content

External facing powerpoint explaining use cases to be attached in the near future. 

Requirements Dependencies

The only dependency is that the 'strace' binary can be located on the server and the user has permissions to execute it as well as see the running process/pid you plan on attaching 'strace' to.

Additional Resources

Wikipedia history and definition for 'strace' - http://en.wikipedia.org/wiki/Strace

strace - Linux Man Page:  http://linux.die.net/man/1/strace

Suse documentation on 'strace' - https://www.suse.com/documentation/sled11/book_sle_tuning/data/sec_tuning_tracing_strace.html

__________________________________________________________________________________________________________

Use this structure to help you compose your contributions for WIKI and at the same time will ensure spelling and grammar.

  • No labels