NonStop Server for Java 7.0 Tools Reference Pages

The process ID is automatically appended to the verbosegc filename you specify. This helps you
to associate a verbosegc output with the corresponding Java process, especially in cases where
an application executes several Java processes.
Synopsis
The syntax of the option is:
-Xverbosegc[:help]|[0|1][:file=[stdout|stderr|<filename>]
-Xverbosegc:help for Java 7.0
NOTE: Parallel and Concurrent GC are available in NSJ 7. Therefore, the -Xverbosegc options
pertaining to them are applicable to NSJ 7.
-Xverbosegc options
:help prints this message
0|1 controls the printing of heap information:
0 Print after every Old Generation GC or Full GC
1 (default) Print after every Scavenge and Old Generation GC or Full
GC
:file=[stdout|stderr|<filename>] specifies output file
stderr (default) directs output to standard error stream
stdout directs output to standard output stream
<filename> file to which the output will be written
n prevents appending pid to gclog filename
h appends hostname to gclog filename
u appends username to gclog filename
d appends date to gclog filename
t appends time to gclog filename
At every garbage collection, the following 20 fields are printed:
<GC: %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %15 %16 %17 %18 %19
%20>
%1 Indicates the type of the garbage collection.
1: represents a Scavenge (GC of New Generation only)
%2: indicates if this is a parallel scavenge.
0: non-parallel scavenge
n(>0): parallel scavenge, n represents the number of parallel GC threads
2: represents an Old Generation GC or a Full GC
%2: indicates the GC reason:
1: Allocation failure, followed by a failed scavenge, leading to a Full
GC
2: Call to System.gc
3: Tenured Generation full
4: Permanent Generation full
5: Scavenge followed by a Train collection
6: Concurrent-Mark-Sweep (CMS)eneration full
-Xverbosegc:help for Java 7.0 21