1
0
Эх сурвалжийг харах

[strace] Add example of tracing file operations

Adam Dobrawy 7 жил өмнө
parent
commit
911b777839
1 өөрчлөгдсөн 5 нэмэгдсэн , 1 устгасан
  1. 5 1
      pages/linux/strace.md

+ 5 - 1
pages/linux/strace.md

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