Difference between revisions of "Strace"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
== See also ==
 
== See also ==
 
* [[Monitoring]] and [[Performance]]
 
* [[Monitoring]] and [[Performance]]
* [[perf]]
+
* {{lsof}}
 +
* {{perf}}
 
* [[Dtrace]], use Dtrace to view [[syscall]]s inside a [[DevOps/Docker|Docker]] container. https://blogs.oracle.com/linux/dtrace-a-docker-container
 
* [[Dtrace]], use Dtrace to view [[syscall]]s inside a [[DevOps/Docker|Docker]] container. https://blogs.oracle.com/linux/dtrace-a-docker-container
 
* [[SystemTap]] (2005)
 
* [[SystemTap]] (2005)
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Revision as of 12:43, 31 December 2019

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: