Labels

Monday, December 28, 2009

Debug Tools

Debug:

1. Run “ps –fu ” and share the output
2. Run truss –far –vall –tall and share the output
3. Run jstack (http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jstack.html) and share the output
a. jstack
4. Run pstack (http://docs.sun.com/app/docs/doc/816-0210/6m6nb7mih?a=view) and share the output
a. pstack
5. The jps utility may be useful as well (http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html)
6. Modifying the call to run the jarfile so we can use dbx on the process may also be useful. (http://docs.sun.com/source/819-3683/Java_debug.html)

No comments:

Learn German - Quick Reference