Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. -c Count time, calls, and errors for each system call and report a
  2. summary on program exit. On Linux, this attempts to show system
  3. time (CPU time spent running in the kernel) independent of wall
  4. clock time. If -c is used with -f or -F (below), only aggregate
  5. totals for all traced processes are kept.
  6.  
  7. $ strace -c systemctl list-unit-files --type=service
  8. ...
  9. ...
  10. % time seconds usecs/call calls errors syscall
  11. ------ ----------- ----------- --------- --------- ----------------
  12. 51.81 0.001831 1831 1 waitid
  13. 8.15 0.000288 7 39 mmap
  14. 7.89 0.000279 19 15 read
  15. 6.11 0.000216 8 26 mprotect
  16. 4.56 0.000161 11 15 open
  17. 2.91 0.000103 103 1 connect
  18. 2.24 0.000079 79 1 clone
  19. 2.15 0.000076 38 2 statfs
  20. 2.01 0.000071 4 19 close
  21. 1.95 0.000069 5 13 poll
  22. 1.90 0.000067 5 14 2 recvmsg
  23. 1.70 0.000060 4 16 fstat
  24. 0.88 0.000031 8 4 3 stat
  25. 0.82 0.000029 29 1 socket
  26. 0.65 0.000023 8 3 munmap
  27. 0.57 0.000020 5 4 sendto
  28. 0.42 0.000015 5 3 ioctl
  29. 0.40 0.000014 7 2 lstat
  30. 0.40 0.000014 7 2 sendmsg
  31. 0.34 0.000012 4 3 brk
  32. 0.23 0.000008 8 1 pipe
  33. 0.23 0.000008 4 2 fcntl
  34. 0.20 0.000007 4 2 rt_sigaction
  35. 0.20 0.000007 7 1 1 access
  36. 0.20 0.000007 4 2 geteuid
  37. 0.17 0.000006 6 1 execve
  38. 0.14 0.000005 5 1 getsockname
  39. 0.11 0.000004 4 1 dup2
  40. 0.11 0.000004 4 1 getresuid
  41. 0.11 0.000004 4 1 getresgid
  42. 0.11 0.000004 4 1 arch_prctl
  43. 0.08 0.000003 3 1 rt_sigprocmask
  44. 0.08 0.000003 3 1 getrlimit
  45. 0.08 0.000003 3 1 set_tid_address
  46. 0.08 0.000003 3 1 set_robust_list
  47. 0.00 0.000000 0 4 write
  48. 0.00 0.000000 0 1 kill
  49. ------ ----------- ----------- --------- --------- ----------------
  50. 100.00 0.003534 207 6 total
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement