As above already mentions what strace is, here is how you may use strace.

You have a process running and you are not sure why the process seems to be stuck for a long time. To investigate what is going, you would run below:-
strace -p <_process_pid> -f -t

-f would trace child processed spawned
-t would print timestamp