strace

From wikieduonline
Revision as of 07:47, 24 March 2023 by Brave (talk | contribs)
Jump to navigation Jump to search

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: