Difference between revisions of "Strace"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
<code>[[wikipedia:strace|strace]]</code><ref>http://man7.org/linux/man-pages/man1/strace.1.html</ref> is a diagnostic, debugging and instructional userspace utility for [[Linux]] that allows to trace [[system calls]] and [[signal Processing/Signals|signals]].
 
<code>[[wikipedia:strace|strace]]</code><ref>http://man7.org/linux/man-pages/man1/strace.1.html</ref> is a diagnostic, debugging and instructional userspace utility for [[Linux]] that allows to trace [[system calls]] and [[signal Processing/Signals|signals]].
 +
 +
 +
[[strace]] -c -f -p $PID
  
 
== Examples ==
 
== Examples ==

Revision as of 07:47, 24 March 2023

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


strace -c -f -p $PID

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: