mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-08 23:54:01 +02:00
Update strace
This commit is contained in:
parent
26e664ffcd
commit
9b76965333
1 changed files with 4 additions and 4 deletions
|
@ -2,15 +2,15 @@
|
|||
|
||||
> Troubleshooting tool for tracing system calls
|
||||
|
||||
- Start tracing a specific PID
|
||||
- Start tracing a specific process by its PID
|
||||
|
||||
`strace -p {{pid}}`
|
||||
|
||||
- Trace a process and filter output by system call
|
||||
|
||||
`strace -e {{system call name}} -p {{pid}}`
|
||||
`strace -p {{pid}} -e {{system call name}}`
|
||||
|
||||
- Start tracing and produce a summary of system calls at the end, instead of showing individual calls.
|
||||
- Count time, calls, and errors for each system call and report a summary on program exit.
|
||||
|
||||
`strace -c -p {{pid}}`
|
||||
`strace -p {{pid}} -c`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue