Difference between revisions of "Strace"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 2: Line 2:
  
 
== Examples ==
 
== Examples ==
* Strace <code>[[ps]]</code> command: <code>strace -e open ps</code>
+
* Strace <code>[[ps]]</code> command:
 +
: <code>strace -e open [[ps]]</code>
 
* <code>strace -p MY_PID_NUMBER</code>
 
* <code>strace -p MY_PID_NUMBER</code>
  

Revision as of 07:03, 16 July 2020

strace[1] is a diagnostic, debugging and instructional userspace utility for Linux that allows to trace system calls and signals.

Examples

  • Strace ps command:
strace -e open ps
  • strace -p MY_PID_NUMBER

See also

  • http://man7.org/linux/man-pages/man1/strace.1.html
  • Advertising: