The JVM_INFO view returns information about active Java™ Virtual Machine (JVM) jobs.
The information returned is similar to the detail available through the Work with JVM Jobs (WRKJVMJOB) CL command.
Authorization: The caller must have *JOBCTL special authority to see values for columns other than the job name columns and PROCESS_ID.
The following table describes the columns in the view. The schema is QSYS2.
|System Column Name
|The qualified job name for the active JVM.
|The name of the job for the active JVM.
|The user profile that started the job for the active JVM.
|The job number of the job for the active JVM.
|The process identifier used by the kernel to uniquely identify the process.
|The current time when the JVM was started.
|The taskcount or TDE number of the JVM's initial thread. The taskcount or TDE number is a unique identifier assigned to each job, thread, and task running in the system.
|The current number of java threads within the JVM job.
|Total time spent performing garbage collection tasks in milliseconds.
|The current or last garbage collection cycle performed.
|The name of the garbage collection policy in use.
|The java.home environment variable value in effect for this JVM.
This value indicates the JDK that is used when running a Java application. The location of the Java tools and utilities is in one of two directories, either <JAVA_HOME>/jre/bin or <JAVA_HOME>/bin, where <JAVA_HOME> is the value of the JAVA_HOME environment variable. For example, if JAVA_HOME is set to /QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit, indicating that IBM® Technology for Java 6 32-bit is to be used, then the Java tools and utilities directories would be:
|The user working directory for
This also indicates the location where diagnostic detail will be dumped for the JVM.
|Total number of Java system properties currently present.
|The initial heap size available to the JVM code, in kilobytes.
|The amount of memory, in kilobytes, currently allocated for heap space.
|The amount of memory, in kilobytes, currently in use by the heap.
|The maximum heap size available to the JVM code, in kilobytes.
|The amount of memory, in kilobytes, that has been allocated with malloc().
|The amount of memory, in kilobytes, that the JVM is using for internal operations.
|The size of the memory space, in kilobytes, that is used by the JIT (Just in Time) compiler.
|The amount of memory, in kilobytes, that the JVM is using for shared classes.
|The Java version of this job.
Examine the active JVM jobs, ordered by top heap space consumption.
SELECT * FROM QSYS2.JVM_INFO
ORDER BY CURRENT_HEAP_SIZE DESC