Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a thread dump on OpenVMS

How can I retrieve a thread dump from a running Java process on OpenVMS? The process is not JMX-enabled. I am looking for something similar to kill -QUIT on Unix or Ctrl+Break on Windows.

EDIT: I found my answer here: http://h18012.www1.hp.com/java/documentation/1.6.0/ivms/docs/user_guide.html#javaenable_sigquit_mailbox

like image 494
claes Avatar asked Nov 13 '22 23:11

claes


1 Answers

Exerpret from open vms user guide

  • define JAVA$ENABLE_SIGQUIT_CTRLC true : This will enable terminal programs to receive QUIT signal and dump trace to terminal
  • define JAVA$ENABLE_SIGQUIT_MAILBOX true : This will enable non terminal programs to dump trace to mailbox created by the JVM
like image 155
Prashant Bhate Avatar answered Dec 21 '22 08:12

Prashant Bhate