Skip to content

Instantly share code, notes, and snippets.

@genki
Created February 15, 2018 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save genki/bdeef7a59f389f1dbd03e6c4e6ea28d3 to your computer and use it in GitHub Desktop.
Save genki/bdeef7a59f389f1dbd03e6c4e6ea28d3 to your computer and use it in GitHub Desktop.
strace result of a busy ruby process
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
26.90 0.257079 6 41582 rt_sigprocmask
16.05 0.153354 7 20767 write
14.84 0.141774 7 20773 getsockopt
13.86 0.132456 6 20768 sched_yield
13.30 0.127114 18 6885 select
9.32 0.089066 6 13834 clock_gettime
5.53 0.052820 8 6986 50 read
0.09 0.000887 29 31 writev
0.04 0.000345 8 45 9 stat
0.02 0.000180 36 5 close
0.02 0.000166 7 24 fcntl
0.02 0.000145 16 9 4 accept4
0.01 0.000138 15 9 3 futex
0.01 0.000068 11 6 getppid
0.00 0.000000 0 1 sendto
0.00 0.000000 0 1 recvfrom
------ ----------- ----------- --------- --------- ----------------
100.00 0.955592 131726 66 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment