Check process using strace

strace -f -r -o pid.out -p {PID}