We want to generate thread dump in JBoss 5.1.0. We are using SUSE Linux Enterprise Server 11 and Java 1.7.
First we got JBoss process id and executed below mentioned command.
jstack 16917 >> threaddump.log
We are getting command not found message.