mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 10:55:25 +02:00
[strace] Add example of tracing file operations
This commit is contained in:
parent
3a0d13a8d2
commit
911b777839
1 changed files with 5 additions and 1 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue