If you are unable to install psexec on the server, then you can create a. To run jstack as SYSTEM user, use a command like this: You can do this by using psexec which you can download here. In Windows, if you run jstack and get the error "Not enough storage is available to process this command" then you must run jstack as the windows SYSTEM user or the user that owns the java process.( 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 |