![]() ![]() ( should be replaced with the id of the user that the Java process is running as) In Linux and UNIX, you need to run the command as the user that owns the java process:.It's not possible to use the jstack tool from JDK 1.6 to take threaddumps from a process running on JDK 1.5.jstack works even if the -Xrs jvm parameter is enabled.The jstack tool is available since JDK 1.5 (for JVM on Windows, it's available in some versions of JDK 1.5 and JDK 1.6 only).You can output consecutive thread dumps to a file by using the console output redirect/append directive: To obtain a thread dump using jstack, run the following command: It prints thread dumps to the command line console. If installed/available, we recommend using the jstack tool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |