Skip to content

Instantly share code, notes, and snippets.

@posulliv
Created April 25, 2013 02:17
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 posulliv/5457018 to your computer and use it in GitHub Desktop.
Save posulliv/5457018 to your computer and use it in GitHub Desktop.
some strace output

command run

strace -c -f -p PID

output

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 47.83  194.980650        5707     34167       467 futex
 43.13  175.819030       86355      2036           io_getevents
  4.22   17.217076      173910        99           nanosleep
  3.86   15.736982      174855        90           select
  0.76    3.088191      514699         6         5 restart_syscall
  0.16    0.666664          29     22950           fsync
  0.03    0.111334           4     27598           madvise
  0.00    0.006847           0     69120           gettimeofday
  0.00    0.005298           1      6517           write
  0.00    0.004772           0     16698           pwrite
  0.00    0.004234           0     52424           pread
  0.00    0.002285           0     35691           fstat
  0.00    0.002160           0     13326           open
  0.00    0.001216           0      3393       637 read
  0.00    0.000999           0     13345           close
  0.00    0.000113           3        40           io_submit
  0.00    0.000111           0      1986           setsockopt
  0.00    0.000072           0      1274           fcntl
  0.00    0.000043           0       820       820 access
  0.00    0.000038           2        23           sched_yield
  0.00    0.000000           0        40           stat
  0.00    0.000000           0        40           statfs
------ ----------- ----------- --------- --------- ----------------
100.00  407.648115                301683      1929 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment