Strace 驗證CKPT程式三秒工作機制
簡單記錄.
[oracle@yws ~]$ ps -ef |grep ckpt|grep -v grep |awk '{print $2}'
10217
[oracle@yws ~]$ ltrace -t -p 10217 --跟蹤
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 gettimeofday(0xbfde37e0, NULL) = 0
05:55:21 gettimeofday(0xbfde3674, NULL) = 0
05:55:21 gettimeofday(0xbfde36d4, NULL) = 0
05:55:21 gettimeofday(0xbfde372c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 times(0, 0xd04564c, 0, 300, 0) = 0x1a356420
05:55:21 gettimeofday(0xbfde39b8, NULL) = 0
05:55:21 gettimeofday(0xbfde3700, NULL) = 0
05:55:23 __errno_location() = 0x21468c
05:55:23 __errno_location() = 0x21468c
05:55:23 __errno_location() = 0x21468c
05:55:23 __errno_location() = 0x21468c
05:55:23 __errno_location() = 0x21468c
05:55:23 gettimeofday(0xbfde37e0, NULL) = 0
05:55:23 gettimeofday(0xbfde3674, NULL) = 0
05:55:23 gettimeofday(0xbfde36d4, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 times(0, 0xd04564c, 0, 231, 0) = 0x1a35650b
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 times(0, 0xbfde39e4, 0, 199, 49) = 0x1a35650b
05:55:23 times(0, 0xbfde39e4, 0, 948, 49) = 0x1a35650b
05:55:23 gettimeofday(0xbfde3980, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 sprintf("/proc/10255/stat", "/proc/%d/stat", 10255) = 16
05:55:23 open("/proc/10255/stat", 0, 00) = 24
05:55:23 read(24, "10255 (oracle) S 1 10255 10255 0"..., 999) = 198
05:55:23 close(24) = 0
05:55:23 strchr("10255 (oracle) S 1 10255 10255 0"..., ')') = ") S 1 10255 10255 0 -1 4202496 3"...
05:55:23 sscanf(0xbfde2f2f, 0xcbeb060, 0xbfde3340, 0x35323031, 0x6f282035) = 1
05:55:23 sprintf("/proc/10257/stat", "/proc/%d/stat", 10257) = 16
05:55:23 open("/proc/10257/stat", 0, 00) = 24
05:55:23 read(24, "10257 (oracle) S 1 10257 10257 0"..., 999) = 201
05:55:23 close(24) = 0
05:55:23 strchr("10257 (oracle) S 1 10257 10257 0"..., ')') = ") S 1 10257 10257 0 -1 4202496 5"...
05:55:23 sscanf(0xbfde2f2f, 0xcbeb060, 0xbfde3340, 0x35323031, 0x6f282037) = 1
05:55:23 _setjmp(0xbfde35c4, 0, 0x2000ade8, 0, 0) = 0
05:55:23 _intel_fast_memset(0xb7f7b800, 0, 16384, 16895, 0xc9f0690) = 0xb7f7b800
05:55:23 _intel_fast_memcpy(0xb7f7b814, 0x2000cc50, 484, 0xb7f7b800, 0) = 0xb7f7b814
05:55:23 _setjmp(0xbfde34f4, 0x30203730, 0x20312d20, 0x32303234, 0x20363934) = 0
05:55:23 gettimeofday(0xbfde35d4, NULL) = 0
05:55:23 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35650b
05:55:23 pwrite64(15, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:23 times(0, 0xd04564c, 0, 0xb7f7956c, 16384) = 0x1a35650c
05:55:23 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35650c
05:55:23 pwrite64(16, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:23 times(0, 0xd04564c, 0, 0xb7f79694, 16384) = 0x1a35650c
05:55:23 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35650d
05:55:23 pwrite64(17, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:23 times(0, 0xd04564c, 0, 0xb7f797bc, 16384) = 0x1a35650d
05:55:23 gettimeofday(0xbfde35c0, NULL) = 0
05:55:23 gettimeofday(0xbfde35d4, NULL) = 0
05:55:23 pread64(15, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:23 gettimeofday(0xbfde35d8, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 _setjmp(0xbfde3928, 0xab19a2e, 0x6092b2f8, 102, 100) = 0
05:55:23 gettimeofday(0xbfde38a0, NULL) = 0
05:55:23 gettimeofday(0xbfde3784, NULL) = 0
05:55:23 _setjmp(0xbfde3678, 0, 0, 0, 0) = 0
05:55:23 _intel_fast_memset(0xb7f794d8, 0, 440, 440, 0xc644330) = 0xb7f794d8
05:55:23 gettimeofday(0xbfde3784, NULL) = 0
05:55:23 gettimeofday(0xbfde38a0, NULL) = 0
05:55:23 gettimeofday(0xbfde38a0, NULL) = 0
05:55:23 gettimeofday(0xbfde3854, NULL) = 0
05:55:23 gettimeofday(0xbfde38a0, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 times(0, 0xd04564c, 0, 0, 304) = 0x1a35650f
05:55:23 gettimeofday(0xbfde39b8, NULL) = 0
05:55:23 gettimeofday(0xbfde3700, NULL) = 0
05:55:26 __errno_location() = 0x21468c
05:55:26 __errno_location() = 0x21468c
05:55:26 __errno_location() = 0x21468c
05:55:26 __errno_location() = 0x21468c
05:55:26 __errno_location() = 0x21468c
05:55:26 gettimeofday(0xbfde37e0, NULL) = 0
05:55:26 gettimeofday(0xbfde3674, NULL) = 0
05:55:26 gettimeofday(0xbfde36d4, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 _setjmp(0xbfde3914, 0x5310954e, -1, 0, 0xda384f4) = 0
05:55:26 gettimeofday(0xbfde3868, NULL) = 0
05:55:26 getrusage(0, 0xbfde3834, 0x304b8fc4, 0, 1) = 0
05:55:26 getrusage(0, 0xbfde3804, 0x30e2ae9c, 0xbfde3940, 0x8342b1e) = 0
05:55:26 gettimeofday(0xbfde3838, NULL) = 0
05:55:26 _setjmp(0xbfde3914, 0x5310954e, 0x53109553, 0, 0xda37988) = 0
05:55:26 _setjmp(0xbfde3914, 0x5310954e, 0x53109551, 0, 0xda1914c) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 times(0, 0xd04564c, 0, 300, 0) = 0x1a35663d
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 localtime_r(0xbfde3934, 0xbfde3900, 0xd099b3c, 0x30e2afe4, 0) = 0xbfde3900
05:55:26 gettimeofday(0xbfde388c, NULL) = 0
05:55:26 gettimeofday(0xbfde388c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 times(0, 0xbfde39e4, 0, 199, 49) = 0x1a35663d
05:55:26 times(0, 0xbfde39e4, 0, 948, 49) = 0x1a35663d
05:55:26 gettimeofday(0xbfde3980, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 sprintf("/proc/10255/stat", "/proc/%d/stat", 10255) = 16
05:55:26 open("/proc/10255/stat", 0, 00) = 24
05:55:26 read(24, "10255 (oracle) S 1 10255 10255 0"..., 999) = 198
05:55:26 close(24) = 0
05:55:26 strchr("10255 (oracle) S 1 10255 10255 0"..., ')') = ") S 1 10255 10255 0 -1 4202496 3"...
05:55:26 sscanf(0xbfde2f2f, 0xcbeb060, 0xbfde3340, 0x35323031, 0x6f282035) = 1
05:55:26 sprintf("/proc/10257/stat", "/proc/%d/stat", 10257) = 16
05:55:26 open("/proc/10257/stat", 0, 00) = 24
05:55:26 read(24, "10257 (oracle) S 1 10257 10257 0"..., 999) = 201
05:55:26 close(24) = 0
05:55:26 strchr("10257 (oracle) S 1 10257 10257 0"..., ')') = ") S 1 10257 10257 0 -1 4202496 5"...
05:55:26 sscanf(0xbfde2f2f, 0xcbeb060, 0xbfde3340, 0x35323031, 0x6f282037) = 1
05:55:26 _setjmp(0xbfde35c4, 0, 0x2000ade8, 0, 0) = 0
05:55:26 _intel_fast_memset(0xb7f7b800, 0, 16384, 16895, 0xc9f0690) = 0xb7f7b800
05:55:26 _intel_fast_memcpy(0xb7f7b814, 0x2000cc50, 484, 0xb7f7b800, 0) = 0xb7f7b814
05:55:26 _setjmp(0xbfde34f4, 0x30203730, 0x20312d20, 0x32303234, 0x20363934) = 0
05:55:26 gettimeofday(0xbfde35d4, NULL) = 0
05:55:26 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35663e
05:55:26 pwrite64(15, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:26 times(0, 0xd04564c, 0, 0xb7f7956c, 16384) = 0x1a35663e
05:55:26 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35663e
05:55:26 pwrite64(16, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:26 times(0, 0xd04564c, 0, 0xb7f79694, 16384) = 0x1a35663f
05:55:26 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35663f
05:55:26 pwrite64(17, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:26 times(0, 0xd04564c, 0, 0xb7f797bc, 16384) = 0x1a35663f
05:55:26 gettimeofday(0xbfde35c0, NULL) = 0
05:55:26 gettimeofday(0xbfde35d4, NULL) = 0
05:55:26 pread64(15, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:26 gettimeofday(0xbfde35d8, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 _setjmp(0xbfde3928, 0xab19a2e, 0x60975e48, 102, 100) = 0
05:55:26 gettimeofday(0xbfde38a0, NULL) = 0
05:55:26 gettimeofday(0xbfde3784, NULL) = 0
05:55:26 _setjmp(0xbfde3678, 0, 0, 0, 0) = 0
05:55:26 _intel_fast_memset(0xb7f794d8, 0, 440, 440, 0xc644330) = 0xb7f794d8
05:55:26 gettimeofday(0xbfde3784, NULL) = 0
05:55:26 gettimeofday(0xbfde38a0, NULL) = 0
05:55:26 gettimeofday(0xbfde38a0, NULL) = 0
05:55:26 gettimeofday(0xbfde3854, NULL) = 0
05:55:26 gettimeofday(0xbfde38a0, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 times(0, 0xd04564c, 0, 0, 302) = 0x1a356641
05:55:26 gettimeofday(0xbfde39b8, NULL) = 0
05:55:26 gettimeofday(0xbfde3700, NULL) = 0
可以發現是每三秒進行一次.第一列是系統事件.同時證明Oracle也不可能脫離系統事件.
同時檢視lgwr程式:
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 gettimeofday(0xbfe7ae80, NULL) = 0
05:59:02 gettimeofday(0xbfe7ad14, NULL) = 0
05:59:02 gettimeofday(0xbfe7ad74, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 times(0, 0xd04564c, 0, 46, 0) = 0x1a35ba50
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 times(0, 0x321bf723, 0, 0, 0x6193b40) = 0x1a35ba51
05:59:02 gettimeofday(0xbfe7afc8, NULL) = 0
05:59:02 localtime_r(0xbfe7afd0, 0xbfe7af9c, 460, 0, 0x30e2aa20) = 0xbfe7af9c
05:59:02 _setjmp(0xbfe7afb4, 0x53109626, -1, 0xafbb4f5, 0xe60612c) = 0
05:59:02 gettimeofday(0xbfe7af08, NULL) = 0
05:59:02 getrusage(0, 0xbfe7aed4, 22085, 0x30e5e154, 0) = 0
05:59:02 getrusage(0, 0xbfe7aea4, 0xbfe7af34, 0x834401e, 110) = 0
05:59:02 gettimeofday(0xbfe7aed8, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 times(0, 0xd04564c, 0, 0, 304) = 0x1a35ba51
05:59:02 gettimeofday(0xbfe7b058, NULL) = 0
05:59:02 gettimeofday(0xbfe7ada0, NULL) = 0
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 gettimeofday(0xbfe7ae80, NULL) = 0
05:59:05 gettimeofday(0xbfe7ad14, NULL) = 0
05:59:05 gettimeofday(0xbfe7ad74, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 times(0, 0xd04564c, 0, 300, 0) = 0x1a35bb7e
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 times(0, 0x321bf726, 0, 0, 0x619472a) = 0x1a35bb7e
05:59:05 _setjmp(0xbfe7afb4, 0x53109629, 0x5310962b, 0, 0xe602dfc) = 0
05:59:05 _setjmp(0xbfe7afb4, 0x53109629, 0x5310962b, 0, 0xe5ed14c) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 times(0, 0xd04564c, 0, 0, 301) = 0x1a35bb7f
05:59:05 gettimeofday(0xbfe7b058, NULL) = 0
05:59:05 gettimeofday(0xbfe7ada0, NULL) = 0
檢視dbwr程式:
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 gettimeofday(0xbfe7ae80, NULL) = 0
05:59:02 gettimeofday(0xbfe7ad14, NULL) = 0
05:59:02 gettimeofday(0xbfe7ad74, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 times(0, 0xd04564c, 0, 46, 0) = 0x1a35ba50
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 times(0, 0x321bf723, 0, 0, 0x6193b40) = 0x1a35ba51
05:59:02 gettimeofday(0xbfe7afc8, NULL) = 0
05:59:02 localtime_r(0xbfe7afd0, 0xbfe7af9c, 460, 0, 0x30e2aa20) = 0xbfe7af9c
05:59:02 _setjmp(0xbfe7afb4, 0x53109626, -1, 0xafbb4f5, 0xe60612c) = 0
05:59:02 gettimeofday(0xbfe7af08, NULL) = 0
05:59:02 getrusage(0, 0xbfe7aed4, 22085, 0x30e5e154, 0) = 0
05:59:02 getrusage(0, 0xbfe7aea4, 0xbfe7af34, 0x834401e, 110) = 0
05:59:02 gettimeofday(0xbfe7aed8, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 times(0, 0xd04564c, 0, 0, 304) = 0x1a35ba51
05:59:02 gettimeofday(0xbfe7b058, NULL) = 0
05:59:02 gettimeofday(0xbfe7ada0, NULL) = 0
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 gettimeofday(0xbfe7ae80, NULL) = 0
05:59:05 gettimeofday(0xbfe7ad14, NULL) = 0
05:59:05 gettimeofday(0xbfe7ad74, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 times(0, 0xd04564c, 0, 300, 0) = 0x1a35bb7e
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 times(0, 0x321bf726, 0, 0, 0x619472a) = 0x1a35bb7e
05:59:05 _setjmp(0xbfe7afb4, 0x53109629, 0x5310962b, 0, 0xe602dfc) = 0
05:59:05 _setjmp(0xbfe7afb4, 0x53109629, 0x5310962b, 0, 0xe5ed14c) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 times(0, 0xd04564c, 0, 0, 301) = 0x1a35bb7f
05:59:05 gettimeofday(0xbfe7b058, NULL) = 0
05:59:05 gettimeofday(0xbfe7ada0, NULL) = 0
[oracle@yws ~]$ ltrace -t -p 10213
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 gettimeofday(0xbfd70020, NULL) = 0
06:00:24 gettimeofday(0xbfd6feb4, NULL) = 0
06:00:24 gettimeofday(0xbfd6ff14, NULL) = 0
06:00:24 gettimeofday(0xbfd6ff6c, NULL) = 0
06:00:24 gettimeofday(0xbfd7016c, NULL) = 0
06:00:24 gettimeofday(0xbfd7016c, NULL) = 0
06:00:24 gettimeofday(0xbfd7016c, NULL) = 0
06:00:24 gettimeofday(0xbfd7016c, NULL) = 0
06:00:24 times(0, 0xd04564c, 0, 300, 0) = 0x1a35daa1
06:00:24 gettimeofday(0xbfd701f8, NULL) = 0
06:00:24 gettimeofday(0xbfd6ff40, NULL) = 0
06:00:27 __errno_location() = 0x8ad68c
06:00:27 __errno_location() = 0x8ad68c
06:00:27 __errno_location() = 0x8ad68c
06:00:27 __errno_location() = 0x8ad68c
06:00:27 __errno_location() = 0x8ad68c
06:00:27 gettimeofday(0xbfd70020, NULL) = 0
06:00:27 gettimeofday(0xbfd6feb4, NULL) = 0
06:00:27 gettimeofday(0xbfd6ff14, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 _setjmp(0xbfd70154, 0x5310967a, -1, 0, 0xd983630) = 0
06:00:27 gettimeofday(0xbfd700a8, NULL) = 0
06:00:27 getrusage(0, 0xbfd70074, 0, 0x53109675, 0) = 0
06:00:27 getrusage(0, 0xbfd70044, 0x30e2a314, 0xbfd70180, 0x8342b1e) = 0
06:00:27 gettimeofday(0xbfd70078, NULL) = 0
06:00:27 _setjmp(0xbfd70154, 0x5310967a, 0x5310967f, 0, 0xd982ac4) = 0
06:00:27 _setjmp(0xbfd70154, 0x5310967a, 0x5310967d, 0, 0xd96614c) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 times(0, 0xd04564c, 0, 213, 0) = 0x1a35db7b
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 times(0, 0xd96993c, 0, 0xd96993c, 256) = 0x1a35db7b
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd70160, NULL) = 0
06:00:27 gettimeofday(0xbfd70160, NULL) = 0
06:00:27 gettimeofday(0xbfd70160, NULL) = 0
06:00:27 gettimeofday(0xbfd70160, NULL) = 0
06:00:27 times(0, 0xd04564c, 0, 0, 305) = 0x1a35db7b
06:00:27 gettimeofday(0xbfd701f8, NULL) = 0
06:00:27 gettimeofday(0xbfd6ff40, NULL) = 0
簡單記錄下,挺有意思.
[oracle@yws ~]$ ps -ef |grep ckpt|grep -v grep |awk '{print $2}'
10217
[oracle@yws ~]$ ltrace -t -p 10217 --跟蹤
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 __errno_location() = 0x21468c
05:55:21 gettimeofday(0xbfde37e0, NULL) = 0
05:55:21 gettimeofday(0xbfde3674, NULL) = 0
05:55:21 gettimeofday(0xbfde36d4, NULL) = 0
05:55:21 gettimeofday(0xbfde372c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 gettimeofday(0xbfde392c, NULL) = 0
05:55:21 times(0, 0xd04564c, 0, 300, 0) = 0x1a356420
05:55:21 gettimeofday(0xbfde39b8, NULL) = 0
05:55:21 gettimeofday(0xbfde3700, NULL) = 0
05:55:23 __errno_location() = 0x21468c
05:55:23 __errno_location() = 0x21468c
05:55:23 __errno_location() = 0x21468c
05:55:23 __errno_location() = 0x21468c
05:55:23 __errno_location() = 0x21468c
05:55:23 gettimeofday(0xbfde37e0, NULL) = 0
05:55:23 gettimeofday(0xbfde3674, NULL) = 0
05:55:23 gettimeofday(0xbfde36d4, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 times(0, 0xd04564c, 0, 231, 0) = 0x1a35650b
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 times(0, 0xbfde39e4, 0, 199, 49) = 0x1a35650b
05:55:23 times(0, 0xbfde39e4, 0, 948, 49) = 0x1a35650b
05:55:23 gettimeofday(0xbfde3980, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 sprintf("/proc/10255/stat", "/proc/%d/stat", 10255) = 16
05:55:23 open("/proc/10255/stat", 0, 00) = 24
05:55:23 read(24, "10255 (oracle) S 1 10255 10255 0"..., 999) = 198
05:55:23 close(24) = 0
05:55:23 strchr("10255 (oracle) S 1 10255 10255 0"..., ')') = ") S 1 10255 10255 0 -1 4202496 3"...
05:55:23 sscanf(0xbfde2f2f, 0xcbeb060, 0xbfde3340, 0x35323031, 0x6f282035) = 1
05:55:23 sprintf("/proc/10257/stat", "/proc/%d/stat", 10257) = 16
05:55:23 open("/proc/10257/stat", 0, 00) = 24
05:55:23 read(24, "10257 (oracle) S 1 10257 10257 0"..., 999) = 201
05:55:23 close(24) = 0
05:55:23 strchr("10257 (oracle) S 1 10257 10257 0"..., ')') = ") S 1 10257 10257 0 -1 4202496 5"...
05:55:23 sscanf(0xbfde2f2f, 0xcbeb060, 0xbfde3340, 0x35323031, 0x6f282037) = 1
05:55:23 _setjmp(0xbfde35c4, 0, 0x2000ade8, 0, 0) = 0
05:55:23 _intel_fast_memset(0xb7f7b800, 0, 16384, 16895, 0xc9f0690) = 0xb7f7b800
05:55:23 _intel_fast_memcpy(0xb7f7b814, 0x2000cc50, 484, 0xb7f7b800, 0) = 0xb7f7b814
05:55:23 _setjmp(0xbfde34f4, 0x30203730, 0x20312d20, 0x32303234, 0x20363934) = 0
05:55:23 gettimeofday(0xbfde35d4, NULL) = 0
05:55:23 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35650b
05:55:23 pwrite64(15, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:23 times(0, 0xd04564c, 0, 0xb7f7956c, 16384) = 0x1a35650c
05:55:23 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35650c
05:55:23 pwrite64(16, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:23 times(0, 0xd04564c, 0, 0xb7f79694, 16384) = 0x1a35650c
05:55:23 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35650d
05:55:23 pwrite64(17, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:23 times(0, 0xd04564c, 0, 0xb7f797bc, 16384) = 0x1a35650d
05:55:23 gettimeofday(0xbfde35c0, NULL) = 0
05:55:23 gettimeofday(0xbfde35d4, NULL) = 0
05:55:23 pread64(15, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:23 gettimeofday(0xbfde35d8, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 _setjmp(0xbfde3928, 0xab19a2e, 0x6092b2f8, 102, 100) = 0
05:55:23 gettimeofday(0xbfde38a0, NULL) = 0
05:55:23 gettimeofday(0xbfde3784, NULL) = 0
05:55:23 _setjmp(0xbfde3678, 0, 0, 0, 0) = 0
05:55:23 _intel_fast_memset(0xb7f794d8, 0, 440, 440, 0xc644330) = 0xb7f794d8
05:55:23 gettimeofday(0xbfde3784, NULL) = 0
05:55:23 gettimeofday(0xbfde38a0, NULL) = 0
05:55:23 gettimeofday(0xbfde38a0, NULL) = 0
05:55:23 gettimeofday(0xbfde3854, NULL) = 0
05:55:23 gettimeofday(0xbfde38a0, NULL) = 0
05:55:23 gettimeofday(0xbfde392c, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 gettimeofday(0xbfde3920, NULL) = 0
05:55:23 times(0, 0xd04564c, 0, 0, 304) = 0x1a35650f
05:55:23 gettimeofday(0xbfde39b8, NULL) = 0
05:55:23 gettimeofday(0xbfde3700, NULL) = 0
05:55:26 __errno_location() = 0x21468c
05:55:26 __errno_location() = 0x21468c
05:55:26 __errno_location() = 0x21468c
05:55:26 __errno_location() = 0x21468c
05:55:26 __errno_location() = 0x21468c
05:55:26 gettimeofday(0xbfde37e0, NULL) = 0
05:55:26 gettimeofday(0xbfde3674, NULL) = 0
05:55:26 gettimeofday(0xbfde36d4, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 _setjmp(0xbfde3914, 0x5310954e, -1, 0, 0xda384f4) = 0
05:55:26 gettimeofday(0xbfde3868, NULL) = 0
05:55:26 getrusage(0, 0xbfde3834, 0x304b8fc4, 0, 1) = 0
05:55:26 getrusage(0, 0xbfde3804, 0x30e2ae9c, 0xbfde3940, 0x8342b1e) = 0
05:55:26 gettimeofday(0xbfde3838, NULL) = 0
05:55:26 _setjmp(0xbfde3914, 0x5310954e, 0x53109553, 0, 0xda37988) = 0
05:55:26 _setjmp(0xbfde3914, 0x5310954e, 0x53109551, 0, 0xda1914c) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 times(0, 0xd04564c, 0, 300, 0) = 0x1a35663d
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 localtime_r(0xbfde3934, 0xbfde3900, 0xd099b3c, 0x30e2afe4, 0) = 0xbfde3900
05:55:26 gettimeofday(0xbfde388c, NULL) = 0
05:55:26 gettimeofday(0xbfde388c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 times(0, 0xbfde39e4, 0, 199, 49) = 0x1a35663d
05:55:26 times(0, 0xbfde39e4, 0, 948, 49) = 0x1a35663d
05:55:26 gettimeofday(0xbfde3980, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 sprintf("/proc/10255/stat", "/proc/%d/stat", 10255) = 16
05:55:26 open("/proc/10255/stat", 0, 00) = 24
05:55:26 read(24, "10255 (oracle) S 1 10255 10255 0"..., 999) = 198
05:55:26 close(24) = 0
05:55:26 strchr("10255 (oracle) S 1 10255 10255 0"..., ')') = ") S 1 10255 10255 0 -1 4202496 3"...
05:55:26 sscanf(0xbfde2f2f, 0xcbeb060, 0xbfde3340, 0x35323031, 0x6f282035) = 1
05:55:26 sprintf("/proc/10257/stat", "/proc/%d/stat", 10257) = 16
05:55:26 open("/proc/10257/stat", 0, 00) = 24
05:55:26 read(24, "10257 (oracle) S 1 10257 10257 0"..., 999) = 201
05:55:26 close(24) = 0
05:55:26 strchr("10257 (oracle) S 1 10257 10257 0"..., ')') = ") S 1 10257 10257 0 -1 4202496 5"...
05:55:26 sscanf(0xbfde2f2f, 0xcbeb060, 0xbfde3340, 0x35323031, 0x6f282037) = 1
05:55:26 _setjmp(0xbfde35c4, 0, 0x2000ade8, 0, 0) = 0
05:55:26 _intel_fast_memset(0xb7f7b800, 0, 16384, 16895, 0xc9f0690) = 0xb7f7b800
05:55:26 _intel_fast_memcpy(0xb7f7b814, 0x2000cc50, 484, 0xb7f7b800, 0) = 0xb7f7b814
05:55:26 _setjmp(0xbfde34f4, 0x30203730, 0x20312d20, 0x32303234, 0x20363934) = 0
05:55:26 gettimeofday(0xbfde35d4, NULL) = 0
05:55:26 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35663e
05:55:26 pwrite64(15, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:26 times(0, 0xd04564c, 0, 0xb7f7956c, 16384) = 0x1a35663e
05:55:26 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35663e
05:55:26 pwrite64(16, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:26 times(0, 0xd04564c, 0, 0xb7f79694, 16384) = 0x1a35663f
05:55:26 times(0, 0xd04564c, 0, 16384, 49152) = 0x1a35663f
05:55:26 pwrite64(17, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:26 times(0, 0xd04564c, 0, 0xb7f797bc, 16384) = 0x1a35663f
05:55:26 gettimeofday(0xbfde35c0, NULL) = 0
05:55:26 gettimeofday(0xbfde35d4, NULL) = 0
05:55:26 pread64(15, 0xb7f7b800, 16384, 49152, 0) = 16384
05:55:26 gettimeofday(0xbfde35d8, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 _setjmp(0xbfde3928, 0xab19a2e, 0x60975e48, 102, 100) = 0
05:55:26 gettimeofday(0xbfde38a0, NULL) = 0
05:55:26 gettimeofday(0xbfde3784, NULL) = 0
05:55:26 _setjmp(0xbfde3678, 0, 0, 0, 0) = 0
05:55:26 _intel_fast_memset(0xb7f794d8, 0, 440, 440, 0xc644330) = 0xb7f794d8
05:55:26 gettimeofday(0xbfde3784, NULL) = 0
05:55:26 gettimeofday(0xbfde38a0, NULL) = 0
05:55:26 gettimeofday(0xbfde38a0, NULL) = 0
05:55:26 gettimeofday(0xbfde3854, NULL) = 0
05:55:26 gettimeofday(0xbfde38a0, NULL) = 0
05:55:26 gettimeofday(0xbfde392c, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 gettimeofday(0xbfde3920, NULL) = 0
05:55:26 times(0, 0xd04564c, 0, 0, 302) = 0x1a356641
05:55:26 gettimeofday(0xbfde39b8, NULL) = 0
05:55:26 gettimeofday(0xbfde3700, NULL) = 0
可以發現是每三秒進行一次.第一列是系統事件.同時證明Oracle也不可能脫離系統事件.
同時檢視lgwr程式:
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 gettimeofday(0xbfe7ae80, NULL) = 0
05:59:02 gettimeofday(0xbfe7ad14, NULL) = 0
05:59:02 gettimeofday(0xbfe7ad74, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 times(0, 0xd04564c, 0, 46, 0) = 0x1a35ba50
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 times(0, 0x321bf723, 0, 0, 0x6193b40) = 0x1a35ba51
05:59:02 gettimeofday(0xbfe7afc8, NULL) = 0
05:59:02 localtime_r(0xbfe7afd0, 0xbfe7af9c, 460, 0, 0x30e2aa20) = 0xbfe7af9c
05:59:02 _setjmp(0xbfe7afb4, 0x53109626, -1, 0xafbb4f5, 0xe60612c) = 0
05:59:02 gettimeofday(0xbfe7af08, NULL) = 0
05:59:02 getrusage(0, 0xbfe7aed4, 22085, 0x30e5e154, 0) = 0
05:59:02 getrusage(0, 0xbfe7aea4, 0xbfe7af34, 0x834401e, 110) = 0
05:59:02 gettimeofday(0xbfe7aed8, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 times(0, 0xd04564c, 0, 0, 304) = 0x1a35ba51
05:59:02 gettimeofday(0xbfe7b058, NULL) = 0
05:59:02 gettimeofday(0xbfe7ada0, NULL) = 0
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 gettimeofday(0xbfe7ae80, NULL) = 0
05:59:05 gettimeofday(0xbfe7ad14, NULL) = 0
05:59:05 gettimeofday(0xbfe7ad74, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 times(0, 0xd04564c, 0, 300, 0) = 0x1a35bb7e
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 times(0, 0x321bf726, 0, 0, 0x619472a) = 0x1a35bb7e
05:59:05 _setjmp(0xbfe7afb4, 0x53109629, 0x5310962b, 0, 0xe602dfc) = 0
05:59:05 _setjmp(0xbfe7afb4, 0x53109629, 0x5310962b, 0, 0xe5ed14c) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 times(0, 0xd04564c, 0, 0, 301) = 0x1a35bb7f
05:59:05 gettimeofday(0xbfe7b058, NULL) = 0
05:59:05 gettimeofday(0xbfe7ada0, NULL) = 0
檢視dbwr程式:
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 __errno_location() = 0x91e68c
05:59:02 gettimeofday(0xbfe7ae80, NULL) = 0
05:59:02 gettimeofday(0xbfe7ad14, NULL) = 0
05:59:02 gettimeofday(0xbfe7ad74, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 times(0, 0xd04564c, 0, 46, 0) = 0x1a35ba50
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 times(0, 0x321bf723, 0, 0, 0x6193b40) = 0x1a35ba51
05:59:02 gettimeofday(0xbfe7afc8, NULL) = 0
05:59:02 localtime_r(0xbfe7afd0, 0xbfe7af9c, 460, 0, 0x30e2aa20) = 0xbfe7af9c
05:59:02 _setjmp(0xbfe7afb4, 0x53109626, -1, 0xafbb4f5, 0xe60612c) = 0
05:59:02 gettimeofday(0xbfe7af08, NULL) = 0
05:59:02 getrusage(0, 0xbfe7aed4, 22085, 0x30e5e154, 0) = 0
05:59:02 getrusage(0, 0xbfe7aea4, 0xbfe7af34, 0x834401e, 110) = 0
05:59:02 gettimeofday(0xbfe7aed8, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:02 times(0, 0xd04564c, 0, 0, 304) = 0x1a35ba51
05:59:02 gettimeofday(0xbfe7b058, NULL) = 0
05:59:02 gettimeofday(0xbfe7ada0, NULL) = 0
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 __errno_location() = 0x91e68c
05:59:05 gettimeofday(0xbfe7ae80, NULL) = 0
05:59:05 gettimeofday(0xbfe7ad14, NULL) = 0
05:59:05 gettimeofday(0xbfe7ad74, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 times(0, 0xd04564c, 0, 300, 0) = 0x1a35bb7e
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 times(0, 0x321bf726, 0, 0, 0x619472a) = 0x1a35bb7e
05:59:05 _setjmp(0xbfe7afb4, 0x53109629, 0x5310962b, 0, 0xe602dfc) = 0
05:59:05 _setjmp(0xbfe7afb4, 0x53109629, 0x5310962b, 0, 0xe5ed14c) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afcc, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 gettimeofday(0xbfe7afc0, NULL) = 0
05:59:05 times(0, 0xd04564c, 0, 0, 301) = 0x1a35bb7f
05:59:05 gettimeofday(0xbfe7b058, NULL) = 0
05:59:05 gettimeofday(0xbfe7ada0, NULL) = 0
[oracle@yws ~]$ ltrace -t -p 10213
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 __errno_location() = 0x8ad68c
06:00:24 gettimeofday(0xbfd70020, NULL) = 0
06:00:24 gettimeofday(0xbfd6feb4, NULL) = 0
06:00:24 gettimeofday(0xbfd6ff14, NULL) = 0
06:00:24 gettimeofday(0xbfd6ff6c, NULL) = 0
06:00:24 gettimeofday(0xbfd7016c, NULL) = 0
06:00:24 gettimeofday(0xbfd7016c, NULL) = 0
06:00:24 gettimeofday(0xbfd7016c, NULL) = 0
06:00:24 gettimeofday(0xbfd7016c, NULL) = 0
06:00:24 times(0, 0xd04564c, 0, 300, 0) = 0x1a35daa1
06:00:24 gettimeofday(0xbfd701f8, NULL) = 0
06:00:24 gettimeofday(0xbfd6ff40, NULL) = 0
06:00:27 __errno_location() = 0x8ad68c
06:00:27 __errno_location() = 0x8ad68c
06:00:27 __errno_location() = 0x8ad68c
06:00:27 __errno_location() = 0x8ad68c
06:00:27 __errno_location() = 0x8ad68c
06:00:27 gettimeofday(0xbfd70020, NULL) = 0
06:00:27 gettimeofday(0xbfd6feb4, NULL) = 0
06:00:27 gettimeofday(0xbfd6ff14, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 _setjmp(0xbfd70154, 0x5310967a, -1, 0, 0xd983630) = 0
06:00:27 gettimeofday(0xbfd700a8, NULL) = 0
06:00:27 getrusage(0, 0xbfd70074, 0, 0x53109675, 0) = 0
06:00:27 getrusage(0, 0xbfd70044, 0x30e2a314, 0xbfd70180, 0x8342b1e) = 0
06:00:27 gettimeofday(0xbfd70078, NULL) = 0
06:00:27 _setjmp(0xbfd70154, 0x5310967a, 0x5310967f, 0, 0xd982ac4) = 0
06:00:27 _setjmp(0xbfd70154, 0x5310967a, 0x5310967d, 0, 0xd96614c) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 times(0, 0xd04564c, 0, 213, 0) = 0x1a35db7b
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 times(0, 0xd96993c, 0, 0xd96993c, 256) = 0x1a35db7b
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd7016c, NULL) = 0
06:00:27 gettimeofday(0xbfd70160, NULL) = 0
06:00:27 gettimeofday(0xbfd70160, NULL) = 0
06:00:27 gettimeofday(0xbfd70160, NULL) = 0
06:00:27 gettimeofday(0xbfd70160, NULL) = 0
06:00:27 times(0, 0xd04564c, 0, 0, 305) = 0x1a35db7b
06:00:27 gettimeofday(0xbfd701f8, NULL) = 0
06:00:27 gettimeofday(0xbfd6ff40, NULL) = 0
簡單記錄下,挺有意思.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29477587/viewspace-1097380/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ckpt(checkpoint)機制研究
- 【例項】之ckpt機制
- DBWn,CKPT,LGWR程式
- oracle工作機制(1)Oracle
- oracle工作機制(2)Oracle
- ORACLE的工作機制Oracle
- oracle工作機制(轉)Oracle
- 驗證碼機制之驗證碼重複使用
- 騰訊反病毒實驗室:深度解析AppContainer工作機制APPAI
- MapReduce之MapTask工作機制APT
- oracle工作機制導圖Oracle
- ORACLE的工作機制-1Oracle
- ORACLE的工作機制-2Oracle
- ORACLE的工作機制-3Oracle
- ORACLE的工作機制-4Oracle
- ORACLE的工作機制-5Oracle
- ORACLE的工作機制(簡)Oracle
- oracle實驗記錄 (CKPT的觸發)Oracle
- NameNode和SecondaryNameNode工作機制
- HDFS成員的工作機制
- Oracle服務端驗證機制Oracle服務端
- 驗證碼程式
- 用strace除錯程式(zt)除錯
- 從原始碼分析Hystrix工作機制原始碼
- 詳解Java Socket的工作機制Java
- java垃圾回收器的工作機制Java
- Android之window機制token驗證Android
- 驗證LOCK請求的FIFO機制
- .pfx證照檔案的PHP使用——RSA驗證機制PHP
- 生成驗證碼程式程式碼
- 【系統之音】WindowManager工作機制詳解
- 詳解 nginx php-fpm 工作機制NginxPHP
- Hadoop框架:DataNode工作機制詳解Hadoop框架
- Hadoop框架:NameNode工作機制詳解Hadoop框架
- JVM結構、GC工作機制詳解JVMGC
- 關於COUNT STOPKEY的工作機制TopK
- innodb master執行緒的工作機制AST執行緒
- volatile 關鍵字的工作機制