1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
| root@perf:/home/ykg# strace -p 37414 strace: Process 37414 attached mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a7a0ec000 write(3, "2019-08-06 11:04:21,477 - __main"..., 314572844) = 314572844 munmap(0x7f1a7a0ec000, 314576896) = 0 write(3, "\n", 1) = 1 munmap(0x7f1a8cced000, 314576896) = 0 select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout) getpid() = 1 mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a8cced000 mmap(NULL, 393220096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a755ec000 mremap(0x7f1a755ec000, 393220096, 314576896, MREMAP_MAYMOVE) = 0x7f1a755ec000 munmap(0x7f1a8cced000, 314576896) = 0 lseek(3, 0, SEEK_END) = 314572845 lseek(3, 0, SEEK_CUR) = 314572845 munmap(0x7f1a755ec000, 314576896) = 0 mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a8cced000 mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a7a0ec000 write(3, "2019-08-06 11:04:35,681 - __main"..., 314572844) = 314572844 munmap(0x7f1a7a0ec000, 314576896) = 0 write(3, "\n", 1) = 1 munmap(0x7f1a8cced000, 314576896) = 0 select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout) getpid() = 1 mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a8cced000 mmap(NULL, 393220096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a755ec000 mremap(0x7f1a755ec000, 393220096, 314576896, MREMAP_MAYMOVE) = 0x7f1a755ec000 munmap(0x7f1a8cced000, 314576896) = 0 lseek(3, 0, SEEK_END) = 629145690 lseek(3, 0, SEEK_CUR) = 629145690 munmap(0x7f1a755ec000, 314576896) = 0 mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a8cced000 mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a7a0ec000 write(3, "2019-08-06 11:04:44,141 - __main"..., 314572844) = 314572844 munmap(0x7f1a7a0ec000, 314576896) = 0 write(3, "\n", 1) = 1 munmap(0x7f1a8cced000, 314576896) = 0 select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout) getpid() = 1 mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a8cced000 mmap(NULL, 393220096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a755ec000 mremap(0x7f1a755ec000, 393220096, 314576896, MREMAP_MAYMOVE) = 0x7f1a755ec000 munmap(0x7f1a8cced000, 314576896) = 0 lseek(3, 0, SEEK_END) = 943718535 lseek(3, 0, SEEK_CUR) = 943718535 munmap(0x7f1a755ec000, 314576896) = 0 close(3) = 0 stat("/tmp/logtest.txt.1", {st_mode=S_IFREG|0644, st_size=943718535, ...}) = 0 unlink("/tmp/logtest.txt.1") = 0 stat("/tmp/logtest.txt", {st_mode=S_IFREG|0644, st_size=943718535, ...}) = 0 rename("/tmp/logtest.txt", "/tmp/logtest.txt.1") = 0 open("/tmp/logtest.txt", O_WRONLY|O_CREAT|O_APPEND|O_CLOEXEC, 0666) = 3 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 lseek(3, 0, SEEK_END) = 0 ioctl(3, TIOCGWINSZ, 0x7ffd7146c510) = -1 ENOTTY (Inappropriate ioctl for device) lseek(3, 0, SEEK_CUR) = 0 ioctl(3, TIOCGWINSZ, 0x7ffd7146c430) = -1 ENOTTY (Inappropriate ioctl for device) lseek(3, 0, SEEK_CUR) = 0 mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a8cced000 mmap(NULL, 314576896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a7a0ec000 write(3, "2019-08-06 11:05:03,436 - __main"..., 314572844) = 314572844 munmap(0x7f1a7a0ec000, 314576896) = 0 write(3, "\n", 1) = 1 munmap(0x7f1a8cced000, 314576896) = 0 select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
|