This document provides instructions on how to use HANGANALYZE and interpret HANGANALYZE trace files to diagnose hangs or lock waits in Oracle databases. It describes how to run HANGANALYZE on single node and RAC configurations, alternative diagnostic tools like HANGFG, and how to interpret the output files including identifying blocking sessions and chains.