programming Monitoring Commands May 17, 2008 admin Leave a comment From Sun’s site: prstat -L -p <pid> – show the CPU usage of threads jstack -m <pid> – get mixed stack trace to see if non-java code is taking time