[Email protected] test]# strace-f-f-e trace=fdatasync,fsync-p 4043
Process8703Attached with atThreads-Interrupt toquit[pid 7089]Fsync9)= 0[PID 4063]Fsync9)= 0[PID 4063]Fsync9)= 0[PID 4061]Fsync4)= 0[PID 4050]Fsync4)= 0[PID 4050]Fsync -)= 0[PID 4061]Fsync4)= 0[PID 4050]Fsync A)= 0[PID 4061]Fsync4)= 0[PID 4050]Fsync -)= 0[PID 4061]Fsync4)= 0[PID 4050]Fsync4)= 0[PID 4061]Fsync4)= 0[PID 4052]Fsync4)= 0[PID 4061]Fsync4)= 0[PID 4053]Fsync4)= 0[PID 4045]Fsync9)= 0
[[email protected] test]# strace-f-f-c-P 4043
%Time seconds Usecs/Call calls errors Syscall------ ----------- ----------- --------- --------- ---------------- 60.99 0.154980 1084 143io_getevents23.66 0.060119 911 the -Futex10.23 0.025997 1625 - Select 2.36 0.006000 - 5 4Restart_syscall1.97 0.005000 625 8Fsync0.39 0.001000 + -Clock_gettime0.39 0.000999 - 4Pwrite0.00 0.000000 0 1Write0.00 0.000000 0 4Sched_yield0.00 0.000000 0 1SendTo0.00 0.000000 0 3 1Recvfrom0.00 0.000000 0 4Io_submit------ ----------- ----------- --------- --------- ----------------100.00 0.254095 280 + Total
MySQL strace fsync,fdatasync