Dear
 
I am using Strace and have two questions here. Please take a look and let me know how to solve it.
 
1. When I try Strace by following commands, the application doesn't end. It should be finished at the end of execution.
$ strace -f -o an2hoursWithoutf.txt ./runtpcw2hours.sh 
== Really finishing it!.
Process 14189 detached
Process 14187 detached
Process 14186 detached
Process 14183 detached
Process 14181 resumed
Process 14182 detached
Process 14184 attached (waiting for parent)
Process 14185 attached (waiting for parent)
Process 14188 attached (waiting for parent)
Process 14181 suspended
2. Also, when I check the output file generated by strace, there are weird lines. Most of lines follow formats, first process id and then system call such as '2113  gettimeofday'. But the following examples do not. How to fix it?

2113  gettimeofday({1191978090, 109382}, NULL) = 0

2113  gettimeofday({1191978090, 109440}, NULL) = 0

2113AIT, 50624, {0, 49942000}) = -1 ETIMEDOUT (Connection timed out)

2113  gettimeofday({1191978090, 289326}, NULL) = 0

2113  gettimeofday({1191978090, 289403}, NULL) = 0

 

Or

 

2113  gettimeofday({1191978182, 261760}, NULL) = 0

2113  gettimeofday({1191978182, 261842}, NULL) = 0

2113  gett81885}, NULL) = 0

2113  futex(0x80a8804, FUTEX_WAIT, 52158, {0, 49941000}) = -1 ETIMEDOUT (Connection timed out)

2113  gettimeofday({1191978182, 441783}, NULL) = 0

 

Please let me know how to solve it.
 
Thanks
Byoung