node strace_log_analyzer.js strace.log /tmp
This scripts parses input file that must contain strace log from a single thread. Then script calculates:
- execution time of read/write syscall for each file descriptor and summarize execution time for each 1 sec period,
- calulates amount of read/write syscalls for each file descriptor
strace log must be collcted with
-t -T -f options.