pstack(1)

pstack <pid>
    Dump stack for all threads of process.