Skip to content

Instantly share code, notes, and snippets.

@vdrandom
vdrandom / strace.md
Created October 1, 2018 11:04 — forked from graste/strace.md
strace process for network and memory and other syscalls

File activity

strace -e trace=file -fp PID (file) or strace -e trace=desc -fp PID (file descriptors)

Common calls:

  • access
  • close – close file handle
  • fchmod – change file permissions
  • fchown – change file ownership