root@pmg6:~# strace -yyttTf pmg-log-tracker -v -s '2020-05-01 00:00:00'
06:06:28.663200 execve("/usr/bin/pmg-log-tracker", ["pmg-log-tracker", "-v", "-s", "2020-05-01 00:00:00"], 0x7ffc9c81f5e0 /* 18 vars */) = 0 <0.000265>
06:06:28.663759 brk(NULL) = 0x55717fd35000 <0.000061>
06:06:28.663925 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) <0.000019>
06:06:28.664062 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3</etc/ld.so.cache> <0.000058>
06:06:28.664234 fstat(3</etc/ld.so.cache>, {st_mode=S_IFREG|0644, st_size=23306, ...}) = 0 <0.000040>
06:06:28.664434 mmap(NULL, 23306, PROT_READ, MAP_PRIVATE, 3</etc/ld.so.cache>, 0) = 0x7f70141ab000 <0.000055>
06:06:28.664559 close(3</etc/ld.so.cache>) = 0 <0.000035>
06:06:28.664710 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/libz.so.1.2.11> <0.000039>
06:06:28.664817 read(3</lib/x86_64-linux-gnu/libz.so.1.2.11>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320#\0\0\0\0\0\0"..., 832) = 832 <0.000033>
06:06:28.664934 fstat(3</lib/x86_64-linux-gnu/libz.so.1.2.11>, {st_mode=S_IFREG|0644, st_size=121280, ...}) = 0 <0.000031>
06:06:28.665025 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f70141a9000 <0.000031>
06:06:28.665109 mmap(NULL, 2216336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libz.so.1.2.11>, 0) = 0x7f7013f8b000 <0.000035>
06:06:28.665202 mprotect(0x7f7013fa7000, 2097152, PROT_NONE) = 0 <0.000037>
06:06:28.665285 mmap(0x7f70141a7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libz.so.1.2.11>, 0x1c000) = 0x7f70141a7000 <0.000036>
06:06:28.665390 close(3</lib/x86_64-linux-gnu/libz.so.1.2.11>) = 0 <0.000030>
06:06:28.665484 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/libdl-2.28.so> <0.000036>
06:06:28.665585 read(3</lib/x86_64-linux-gnu/libdl-2.28.so>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 <0.000037>
06:06:28.665694 fstat(3</lib/x86_64-linux-gnu/libdl-2.28.so>, {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0 <0.000010>
06:06:28.665768 mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libdl-2.28.so>, 0) = 0x7f7013f86000 <0.000019>
06:06:28.665842 mmap(0x7f7013f87000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libdl-2.28.so>, 0x1000) = 0x7f7013f87000 <0.000040>
06:06:28.665940 mmap(0x7f7013f88000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libdl-2.28.so>, 0x2000) = 0x7f7013f88000 <0.000035>
06:06:28.666032 mmap(0x7f7013f89000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libdl-2.28.so>, 0x2000) = 0x7f7013f89000 <0.000031>
06:06:28.666129 close(3</lib/x86_64-linux-gnu/libdl-2.28.so>) = 0 <0.000028>
06:06:28.666214 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/librt-2.28.so> <0.000034>
06:06:28.666313 read(3</lib/x86_64-linux-gnu/librt-2.28.so>, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260#\0\0\0\0\0\0"..., 832) = 832 <0.000029>
06:06:28.666418 fstat(3</lib/x86_64-linux-gnu/librt-2.28.so>, {st_mode=S_IFREG|0644, st_size=35808, ...}) = 0 <0.000031>
06:06:28.666510 mmap(NULL, 39904, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/librt-2.28.so>, 0) = 0x7f7013f7c000 <0.000032>
06:06:28.666595 mmap(0x7f7013f7e000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/librt-2.28.so>, 0x2000) = 0x7f7013f7e000 <0.000042>
06:06:28.666706 mmap(0x7f7013f82000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/librt-2.28.so>, 0x6000) = 0x7f7013f82000 <0.000035>
06:06:28.666804 mmap(0x7f7013f84000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/librt-2.28.so>, 0x7000) = 0x7f7013f84000 <0.000036>
06:06:28.666914 close(3</lib/x86_64-linux-gnu/librt-2.28.so>) = 0 <0.000029>
06:06:28.667002 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/libpthread-2.28.so> <0.000035>
06:06:28.667098 read(3</lib/x86_64-linux-gnu/libpthread-2.28.so>, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832 <0.000030>
06:06:28.667185 fstat(3</lib/x86_64-linux-gnu/libpthread-2.28.so>, {st_mode=S_IFREG|0755, st_size=146968, ...}) = 0 <0.000029>
06:06:28.667276 mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libpthread-2.28.so>, 0) = 0x7f7013f5b000 <0.000033>
06:06:28.667364 mmap(0x7f7013f61000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libpthread-2.28.so>, 0x6000) = 0x7f7013f61000 <0.000037>
06:06:28.667456 mmap(0x7f7013f70000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libpthread-2.28.so>, 0x15000) = 0x7f7013f70000 <0.000033>
06:06:28.667543 mmap(0x7f7013f76000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libpthread-2.28.so>, 0x1a000) = 0x7f7013f76000 <0.000033>
06:06:28.667636 mmap(0x7f7013f78000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7013f78000 <0.000036>
06:06:28.667740 close(3</lib/x86_64-linux-gnu/libpthread-2.28.so>) = 0 <0.000029>
06:06:28.667830 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/libgcc_s.so.1> <0.000033>
06:06:28.667925 read(3</lib/x86_64-linux-gnu/libgcc_s.so.1>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3402\0\0\0\0\0\0"..., 832) = 832 <0.000029>
06:06:28.668010 fstat(3</lib/x86_64-linux-gnu/libgcc_s.so.1>, {st_mode=S_IFREG|0644, st_size=100712, ...}) = 0 <0.000028>
06:06:28.668097 mmap(NULL, 103472, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libgcc_s.so.1>, 0) = 0x7f7013f41000 <0.000031>
06:06:28.668181 mprotect(0x7f7013f44000, 86016, PROT_NONE) = 0 <0.000031>
06:06:28.668256 mmap(0x7f7013f44000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libgcc_s.so.1>, 0x3000) = 0x7f7013f44000 <0.000034>
06:06:28.668346 mmap(0x7f7013f55000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libgcc_s.so.1>, 0x14000) = 0x7f7013f55000 <0.000034>
06:06:28.668435 mmap(0x7f7013f59000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libgcc_s.so.1>, 0x17000) = 0x7f7013f59000 <0.000033>
06:06:28.668532 close(3</lib/x86_64-linux-gnu/libgcc_s.so.1>) = 0 <0.000028>
06:06:28.668617 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/libc-2.28.so> <0.000034>
06:06:28.668717 read(3</lib/x86_64-linux-gnu/libc-2.28.so>, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 <0.000038>
06:06:28.668832 fstat(3</lib/x86_64-linux-gnu/libc-2.28.so>, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 <0.000031>
06:06:28.668923 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libc-2.28.so>, 0) = 0x7f7013d80000 <0.000031>
06:06:28.669008 mprotect(0x7f7013da2000, 1658880, PROT_NONE) = 0 <0.000033>
06:06:28.669084 mmap(0x7f7013da2000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libc-2.28.so>, 0x22000) = 0x7f7013da2000 <0.000035>
06:06:28.669175 mmap(0x7f7013eea000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libc-2.28.so>, 0x16a000) = 0x7f7013eea000 <0.000033>
06:06:28.669262 mmap(0x7f7013f37000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libc-2.28.so>, 0x1b6000) = 0x7f7013f37000 <0.000033>
06:06:28.669356 mmap(0x7f7013f3d000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7013f3d000 <0.000032>
06:06:28.669442 close(3</lib/x86_64-linux-gnu/libc-2.28.so>) = 0 <0.000028>
06:06:28.669543 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7013d7e000 <0.000030>
06:06:28.669630 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7013d7b000 <0.000029>
06:06:28.669713 arch_prctl(ARCH_SET_FS, 0x7f7013d7b800) = 0 <0.000038>
06:06:28.669880 mprotect(0x7f7013f37000, 16384, PROT_READ) = 0 <0.000033>
06:06:28.669964 mprotect(0x7f7013f59000, 4096, PROT_READ) = 0 <0.000030>
06:06:28.670045 mprotect(0x7f7013f76000, 4096, PROT_READ) = 0 <0.000030>
06:06:28.670123 mprotect(0x7f7013f84000, 4096, PROT_READ) = 0 <0.000030>
06:06:28.670203 mprotect(0x7f7013f89000, 4096, PROT_READ) = 0 <0.000030>
06:06:28.670279 mprotect(0x7f70141a7000, 4096, PROT_READ) = 0 <0.000031>
06:06:28.670433 mprotect(0x55717f06d000, 32768, PROT_READ) = 0 <0.000045>
06:06:28.670543 mprotect(0x7f70141d8000, 4096, PROT_READ) = 0 <0.000035>
06:06:28.670626 munmap(0x7f70141ab000, 23306) = 0 <0.000036>
06:06:28.670713 set_tid_address(0x7f7013d7bad0) = 26125 <0.000032>
06:06:28.670818 set_robust_list(0x7f7013d7bae0, 24) = 0 <0.000028>
06:06:28.670901 rt_sigaction(SIGRTMIN, {sa_handler=0x7f7013f616b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f7013f6d730}, NULL, 8) = 0 <0.000030>
06:06:28.671004 rt_sigaction(SIGRT_1, {sa_handler=0x7f7013f61740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f7013f6d730}, NULL, 8) = 0 <0.000029>
06:06:28.671084 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 <0.000028>
06:06:28.671170 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 <0.000029>
06:06:28.671327 rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7013db7840}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 <0.000030>
06:06:28.671460 brk(NULL) = 0x55717fd35000 <0.000030>
06:06:28.671538 brk(0x55717fd56000) = 0x55717fd56000 <0.000029>
06:06:28.671645 openat(AT_FDCWD, "/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3</proc/26125/maps> <0.000062>
06:06:28.671777 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 <0.000046>
06:06:28.671883 fstat(3</proc/26125/maps>, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 <0.000047>
06:06:28.671995 read(3</proc/26125/maps>, "55717ef70000-55717ef7e000 r--p 0"..., 1024) = 1024 <0.000056>
06:06:28.672126 read(3</proc/26125/maps>, "_64-linux-gnu/libc-2.28.so\n7f701"..., 1024) = 1024 <0.000037>
06:06:28.672245 read(3</proc/26125/maps>, "x86_64-linux-gnu/libpthread-2.28"..., 1024) = 1024 <0.000036>
06:06:28.672360 read(3</proc/26125/maps>, "8647 /lib/x"..., 1024) = 1024 <0.000035>
06:06:28.672458 read(3</proc/26125/maps>, "nux-gnu/libz.so.1.2.11\n7f70141a9"..., 1024) = 976 <0.000035>
06:06:28.672559 close(3</proc/26125/maps>) = 0 <0.000032>
06:06:28.672649 sched_getaffinity(26125, 32, [0]) = 8 <0.000028>
06:06:28.672735 rt_sigaction(SIGSEGV, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 <0.000028>
06:06:28.672813 rt_sigaction(SIGSEGV, {sa_handler=0x55717f012ad0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f7013f6d730}, NULL, 8) = 0 <0.000028>
06:06:28.672892 rt_sigaction(SIGBUS, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 <0.000027>
06:06:28.672967 rt_sigaction(SIGBUS, {sa_handler=0x55717f012ad0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f7013f6d730}, NULL, 8) = 0 <0.000027>
06:06:28.673045 sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0 <0.000030>
06:06:28.673139 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f70141ae000 <0.000031>
06:06:28.673218 mprotect(0x7f70141ae000, 4096, PROT_NONE) = 0 <0.000030>
06:06:28.673292 sigaltstack({ss_sp=0x7f70141af000, ss_flags=0, ss_size=8192}, NULL) = 0 <0.000031>
06:06:28.673419 getrandom("\x7d\x3d\x10\x4b\x6d\x7d\x78\x0a\x5b\x47\x0c\x40\x4f\x5e\x19\xf7", 16, GRND_NONBLOCK) = 16 <0.000030>
06:06:28.673542 openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 3</usr/share/zoneinfo/Australia/ACT> <0.000039>
06:06:28.673650 fstat(3</usr/share/zoneinfo/Australia/ACT>, {st_mode=S_IFREG|0644, st_size=2223, ...}) = 0 <0.000030>
06:06:28.673740 fstat(3</usr/share/zoneinfo/Australia/ACT>, {st_mode=S_IFREG|0644, st_size=2223, ...}) = 0 <0.000030>
06:06:28.673864 read(3</usr/share/zoneinfo/Australia/ACT>, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 2560) = 2223 <0.000021>
06:06:28.673957 lseek(3</usr/share/zoneinfo/Australia/ACT>, -1415, SEEK_CUR) = 808 <0.000009>
06:06:28.674001 read(3</usr/share/zoneinfo/Australia/ACT>, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 2560) = 1415 <0.000028>
06:06:28.674086 close(3</usr/share/zoneinfo/Australia/ACT>) = 0 <0.000029>
06:06:28.674177 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f701397a000 <0.000030>
06:06:28.674266 getpid() = 26125 <0.000027>
06:06:28.674339 write(1</dev/pts/3<char 136:3>>, "# LogReader: 26125\n", 19# LogReader: 26125
) = 19 <0.000045>
06:06:28.674448 write(1</dev/pts/3<char 136:3>>, "# Query options\n", 16# Query options
) = 16 <0.000033>
06:06:28.674544 write(1</dev/pts/3<char 136:3>>, "# Start: 2020-05-01 00:00:00 (15"..., 42# Start: 2020-05-01 00:00:00 (1588291200)
) = 42 <0.000033>
06:06:28.674635 write(1</dev/pts/3<char 136:3>>, "# End: 2020-10-09 06:06:28 (1602"..., 40# End: 2020-10-09 06:06:28 (1602223588)
) = 40 <0.000033>
06:06:28.674723 write(1</dev/pts/3<char 136:3>>, "# End Query Options\n\n", 21# End Query Options
) = 21 <0.000032>
06:06:28.674809 openat(AT_FDCWD, "/var/log/syslog", O_RDONLY|O_CLOEXEC) = 3</var/log/syslog> <0.000034>
06:06:28.674919 fcntl(3</var/log/syslog>, F_GETFD) = 0x1 (flags FD_CLOEXEC) <0.000029>
06:06:28.675011 read(3</var/log/syslog>, "Nov 22 22:07:55 pmg6 systemd-sys"..., 8192) = 8192 <0.003459>
06:06:28.678568 close(3</var/log/syslog>) = 0 <0.000032>
06:06:28.678683 openat(AT_FDCWD, "/var/log/syslog.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000034>
06:06:28.678794 openat(AT_FDCWD, "/var/log/syslog", O_RDONLY|O_CLOEXEC) = 3</var/log/syslog> <0.000034>
06:06:28.678897 read(3</var/log/syslog>, "Nov 22 22:07:55 pmg6 systemd-sys"..., 8192) = 8192 <0.000038>
06:06:28.679002 close(3</var/log/syslog>) = 0 <0.000031>
06:06:28.679091 munmap(0x7f701397a000, 4198400) = 0 <0.000041>
06:06:28.679180 sigaltstack({ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=8192}, NULL) = 0 <0.000028>
06:06:28.679258 munmap(0x7f70141ae000, 12288) = 0 <0.000030>
06:06:28.679351 exit_group(0) = ?
06:06:28.679555 +++ exited with 0 +++