You can use jps like:
jps -lvm
It prints something like:
4050 com.intellij.idea.Main -Xms128m -Xmx512m -XX:MaxPermSize=250m -ea -Xbootclasspath/a:../lib/boot.jar -Djb.restart.code=88
4667 sun.tools.jps.Jps -lvm -Dapplication.home=/opt/java/jdk1.6.0_22 -Xms8m
More Related Contents:
- How to deal with “java.lang.OutOfMemoryError: Java heap space” error?
- Could not reserve enough space for object heap
- How to get VM arguments from inside of Java application?
- Where does Java’s String constant pool live, the heap or the stack?
- Why does the JVM still not support tail-call optimization?
- Override Java System.currentTimeMillis for testing time sensitive code
- How to get a thread and heap dump of a Java process on Windows that’s not running in a console
- Entry point for Java applications: main(), init(), or run()?
- Differences between “java -cp” and “java -jar”?
- Inlining in Java
- Android Studio – No JVM Installation found
- Print All JVM Flags
- Totally Confused with java.exe
- In which language are the Java compiler and JVM written?
- Size of Huge Objects directly allocated to Old Generation
- Java: Which of multiple resources on classpath JVM takes?
- Limit jvm process memory on ubuntu
- Does Java JIT cheat when running JDK code?
- What are ReservedCodeCacheSize and InitialCodeCacheSize?
- Where can I find default -Xss (stack size) value for Oracle JVM?
- Singleton across JVM or Application instance or Tomcat instance
- How can I specify the default JVM arguments for programs I run from eclipse?
- What actually causes a Stack Overflow error? [duplicate]
- Java heap Xms and linux free memory different
- What are the circumstances under which a finally {} block will NOT execute?
- Java: What is the difference between and ?
- Is the garbage collector guaranteed to run before Out of Memory Error?
- Attach to already running JVM
- How to intercept object creation in Java lower than user class level
- Why non-daemon thread is terminating if in jUnit test?