HPjmeter 4.2 User's Guide

Table A-2 HPjmeter Features Available by JVM Version (continued)
Command Line Option or Action
JVM
HPjmeter Feature
Java 6.xJava 5.xJava 1.4x
kill -PROF pid or kill -21
pid
X (6.0.02)X (5.0.14)
Start and stop verbose GC data
collection with zero preparation
-Xverbosegc and
-XX:+PrintAllocStatistics
X (6.0.02)X (5.0.14)
Obtain allocation site statistics
and -Xverbosegc data
together
* This HPjmeter switch is optional when running Java 6.0.03 or later.
Default Location of Xverbosegc and Allocation Site Statistics Data Files
Table A-3 GC Data File and Allocation Site Statistics Locations By Command Option Selection
Resulting Data LocationAction UsedJVM Option(s) Used
Standard outNo special action
-Xverbosegc and
-XX:+PrintAllocStatistics
myfile.vgc
No special action
-Xverbosegc:myfile.vgc and
-XX:+PrintAllocStatistics
Standard outNo special action
-XX:+PrintAllocStatistics
java_pid.vgckill -21 pid
No special option
java_pid.vgckill -21 pid-XX:+PrintAllocStatistics
Standard out
kill -21 pid-Xverbosegc and
-XX:+PrintAllocStatistics
myfile.vgckill -21 pid-Xverbosegc:myfile.vgc and
-XX:+PrintAllocStatistics
Standard out
kill -21 pid-Xverbosegc
myfile.vgckill -21 pid-Xverbosegc:myfile.vgc
198 Quick References