[root@db01 init.d]# strace -o output.txt -T -tt -e trace=all -p 5465
Process 5465 attached
^CProcess 5465 detached
[root@db01 init.d]# cat output.txt
14:25:27.133521 restart_syscall(<... resuming interrupted call ...>) = 1 <17.912696>
14:25:45.046559 fcntl(16, F_GETFL) = 0x2 (flags O_RDWR) <0.000007>
14:25:45.046609 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0 <0.000006>
14:25:45.046640 accept(16, {sa_family=AF_LOCAL, NULL}, [2]) = 37 <0.000012>
14:25:45.046685 fcntl(16, F_SETFL, O_RDWR) = 0 <0.000006>
14:25:45.046814 setsockopt(37, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported) <0.000007>
14:25:45.046868 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f761948d000 <0.000010>
14:25:45.046909 mprotect(0x7f761948d000, 4096, PROT_NONE) = 0 <0.000008>
14:25:45.046937 clone(child_stack=0x7f76194ccfd0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f76194cd9d0, tls=0x7f76194cd700, child_tidptr=0x7f76194cd9d0) = 5502 <0.000056>
14:25:45.047054 poll([{fd=14, events=POLLIN}, {fd=16, events=POLLIN}], 2, -1 <detached ...>