Skip to content

Instantly share code, notes, and snippets.

View Podrepny's full-sized avatar

Podrepny Podrepny

  • Podrepny
  • Kharkov
View GitHub Profile
@graste
graste / strace.md
Last active December 15, 2025 11:14
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