1
0
Fork 0
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:
matugm 2015-03-21 02:02:35 +01:00
parent 26e664ffcd
commit 9b76965333

View file

@ -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`