[strace] Add example of tracing file operations

This commit is contained in:
Adam Dobrawy
2017-12-07 20:16:57 +01:00
committed by Adam Dobrawy
parent 3a0d13a8d2
commit 911b777839

View File

@@ -18,6 +18,10 @@
`strace -p {{pid}} -T` `strace -p {{pid}} -T`
- Start tracing a program by executing it: -- Start tracing a program by executing it:
`strace {{program}}` `strace {{program}}`
- Start tracing file operations of a program:
`strace -e trace=file {{program}}`