Browse Source

strace: add -T example

Yoshinari Takaoka 9 năm trước cách đây
mục cha
commit
c016a93b7b
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      pages/linux/strace.md

+ 4 - 0
pages/linux/strace.md

@@ -13,3 +13,7 @@
 - Count time, calls, and errors for each system call and report a summary on program exit.
 
 `strace -p {{pid}} -c`
+
+- Show the time spent in every system call
+
+`strace -p {{pid}} -T`