how do you take a heap dump in unix?
To take a thread dump in Unix, CTRL + C if your JVM is the foreground process or kill -3 {pid} will work as long as you get the right PID for the JVM. Just to finish the dump question out: Heap dumps are not commonly used because they are difficult to interpret.