Difference between revisions of "Strace"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
* {{lsof}}
 
* {{lsof}}
 
* {{perf}}
 
* {{perf}}
* [[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:47, 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: