The truss utility may help you determine why a particular process is hanging. The truss command executes the specified UNIX command, and then truss provides a data profile (trace) of the specified command's execution. It's a very useful troubleshooting tool. Here's an example below.