You can to use the /usr/contrib/Q4/bin/q4 utility.
# /usr/contrib/Q4/bin/q4 -p .
(note the “dot” at the end of the command)
At the q4> prompt,
type:q4> run Analyze AU > ana.out q4> run WhatHappened -HANG > what.out
NOTE: ctrl-c can interrupt these two commands,
which may take several minutes to process.
To exit q4:q4> exit