![]() To see the arguments passed to the JVM use the jps -v option.įinally, if you don't want to see all that path and class data, use the jps -q option. The command fixes the truncation issue and shows the full path to the jar file. The jps -m command displays the same information as jps -l but adds the arguments passed to the main method. On Windows, the path name for the jar file names can be truncated. For a jar file, the path to the jar file is displayed instead The jps -l command lists full package name along with the main method for that JVM. Note that the lvmid is listed along with a short name for the main method that started the JVM. But why are 5 shown? Because a JVM is created for the jps command. So based on the earlier discussion we should see 4 JVMs. To start, run the jps command with no parameters. Therefore, the process IDs may change from one screenshot to the next. Note: The screenshots used in the examples were not all taken from the same session.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |