Explorar o código

Update strace

matugm %!s(int64=10) %!d(string=hai) anos
pai
achega
9b76965333
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      pages/linux/strace.md

+ 4 - 4
pages/linux/strace.md

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