1 /*
   2  * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 option timestamp {
  27   column {
  28     header "^Timestamp"
  29     data (sun.os.hrt.ticks/sun.os.hrt.frequency)
  30     scale sec
  31     align right
  32     width 15
  33     format "0.0"
  34   }
  35 }
  36 
  37 option class {
  38   column {
  39     header "^Loaded^"   /* Number of classes loaded */
  40     data (java.cls.loadedClasses + java.cls.sharedLoadedClasses)
  41     align right
  42     scale raw
  43     width 5
  44     format "0"
  45   }
  46   column {
  47     header "^Bytes^"    /* Accumulated Size of classes loaded */
  48     data (sun.cls.loadedBytes + sun.cls.sharedLoadedBytes)
  49     align right
  50     scale K
  51     width 7
  52     format "0.0"
  53   }
  54   column {
  55     header "^Unloaded^" /* Number of classes unloaded */
  56     data (java.cls.unloadedClasses + java.cls.sharedUnloadedClasses)
  57     align right
  58     width 5
  59     scale raw
  60     format "0"
  61   }
  62   column {
  63     header "^Bytes^"    /* Accumulated size of classes unloaded */
  64     data (sun.cls.unloadedBytes + sun.cls.sharedUnloadedBytes)
  65     align right
  66     scale K
  67     width 7
  68     format "0.0"
  69   }
  70   column {
  71     header "^Time^"     /* Accumulated time for class loading */
  72     data sun.cls.time/sun.os.hrt.frequency
  73     scale raw
  74     align right
  75     width 10
  76     format "0.00"
  77   }
  78 }
  79 
  80 option compiler {
  81   column {
  82     header "^Compiled^"         /* Number of compilation tasks performed */
  83     data sun.ci.totalCompiles
  84     scale raw
  85     align right
  86     width 6
  87     format "0"
  88   }
  89   column {
  90     header "^Failed^"           /* Number of failed compilation tasks */
  91     data sun.ci.totalBailouts
  92     scale raw
  93     align right
  94     width 6
  95     format "0"
  96   }
  97   column {
  98     header "^Invalid^"          /* Number of invalidated compilation tasks */
  99     data sun.ci.totalInvalidates
 100     scale raw
 101     align right
 102     width 6
 103     format "0"
 104   }
 105   column {
 106     header "^Time^"             /* Time spent in compilation */
 107     data java.ci.totalTime/sun.os.hrt.frequency
 108     align right
 109     scale sec
 110     width 8
 111     format "0.00"
 112   }
 113   column {
 114     header "^FailedType^"       /* Type of last failed compilation */
 115     data sun.ci.lastFailedType
 116     scale raw
 117     align right
 118     width 4
 119   }
 120   column {
 121     header "^FailedMethod"      /* Name of class and method for last failed compile */
 122     data sun.ci.lastFailedMethod
 123     scale raw
 124     align left
 125     width 1
 126   }
 127 }
 128 
 129 option gc {
 130   column {
 131     header "^S0C^"      /* Survivor 0 Space Capacity - Current */
 132     data sun.gc.generation.0.space.1.capacity
 133     scale K
 134     align center
 135     width 6
 136     format "0.0"
 137   }
 138   column {
 139     header "^S1C^"      /* Survivor 1 Space Capacity - Current */
 140     data sun.gc.generation.0.space.2.capacity
 141     scale K
 142     align center
 143     width 6
 144     format "0.0"
 145   }
 146   column {
 147     header "^S0U^"      /* Survivor 0 Space Used */
 148     data sun.gc.generation.0.space.1.used
 149     scale K
 150     align center
 151     width 6
 152     format "0.0"
 153   }
 154   column {
 155     header "^S1U^"      /* Survivor 1 Space Used */
 156     data sun.gc.generation.0.space.2.used
 157     scale K
 158     align center
 159     width 6
 160     format "0.0"
 161   }
 162   column {
 163     header "^EC^"       /* Eden Space Capacity - Current */
 164     data sun.gc.generation.0.space.0.capacity
 165     align center
 166     scale K
 167     width 8
 168     format "0.0"
 169   }
 170   column {
 171     header "^EU^"       /* Eden Space Used */
 172     data sun.gc.generation.0.space.0.used
 173     align center
 174     scale K
 175     width 8
 176     format "0.0"
 177   }
 178   column {
 179     header "^OC^"       /* Old Space Capacity - Current */
 180     data sun.gc.generation.1.space.0.capacity
 181     align center
 182     scale K
 183     width 10
 184     format "0.0"
 185   }
 186   column {
 187     header "^OU^"       /* Old Space Used */
 188     data sun.gc.generation.1.space.0.used
 189     align center
 190     width 10
 191     scale K
 192     format "0.0"
 193   }
 194   column {
 195     header "^MC^"       /* Metaspace Capacity - Current */
 196     data sun.gc.metaspace.capacity
 197     align center
 198     width 6
 199     scale K
 200     format "0.0"
 201   }
 202   column {
 203     header "^MU^"       /* Metaspae Used */
 204     data sun.gc.metaspace.used
 205     align center
 206     width 6
 207     scale K
 208     format "0.0"
 209   }
 210   column {
 211     header "^CCSC^"     /* Compressed Class Space Capacity - Current */
 212     data sun.gc.compressedclassspace.capacity
 213     align center
 214     width 6
 215     scale K
 216     format "0.0"
 217   }
 218   column {
 219     header "^CCSU^"     /* Compressed Class Space Used */
 220     data sun.gc.compressedclassspace.used
 221     align center
 222     width 6
 223     scale K
 224     format "0.0"
 225   }
 226   column {
 227     header "^YGC^"      /* Young Generation Collections */
 228     data sun.gc.collector.0.invocations
 229     align right
 230     width 6
 231     format "0"
 232   }
 233   column {
 234     header "^YGCT^"     /* Young Generation Garbage Collection Time */
 235     data sun.gc.collector.0.time/sun.os.hrt.frequency
 236     align right
 237     width 8
 238     scale sec
 239     format "0.000"
 240   }
 241   column {
 242     header "^FGC^"      /* Full Collections */
 243     data sun.gc.collector.1.invocations
 244     align center
 245     width 5
 246     scale raw
 247     format "0"
 248   }
 249   column {
 250     header "^FGCT^"     /* Full Garbage Collection Time */
 251     data sun.gc.collector.1.time/sun.os.hrt.frequency
 252     align right
 253     width 8
 254     scale sec
 255     format "0.000"
 256   }
 257   column {
 258     header "^CGC^"      /* Concurrent Collections (STW phase) */
 259     data sun.gc.collector.2.invocations
 260     align center
 261     width 5
 262     scale raw
 263     format "0"
 264   }
 265   column {
 266     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
 267     data sun.gc.collector.2.time/sun.os.hrt.frequency
 268     align right
 269     width 8
 270     scale sec
 271     format "0.000"
 272   }
 273   column {
 274     header "^GCT^"      /* Total Garbage Collection Time */
 275     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
 276     align right
 277     width 8
 278     scale sec
 279     format "0.000"
 280   }
 281 }
 282 
 283 option gccapacity {
 284   column {
 285     header "^NGCMN^"    /* New Generation Capacity - Minimum */
 286     data sun.gc.generation.0.minCapacity
 287     scale K
 288     align right
 289     width 8
 290     format "0.0"
 291   }
 292   column {
 293     header "^NGCMX^"    /* New Generation Capacity - Maximum */
 294     data sun.gc.generation.0.maxCapacity
 295     scale K
 296     align right
 297     width 8
 298     format "0.0"
 299   }
 300   column {
 301     header "^NGC^"      /* New Generation Capacity - Current */
 302     data sun.gc.generation.0.capacity
 303     scale K
 304     align right
 305     width 8
 306     format "0.0"
 307   }
 308   column {
 309     header "^S0C^"      /* Survivor 0 Space Capacity - Current */
 310     data sun.gc.generation.0.space.1.capacity
 311     scale K
 312     align right
 313     width 6
 314     format "0.0"
 315   }
 316   column {
 317     header "^S1C"       /* Survivor 1 Space Capacity - Current */
 318     data sun.gc.generation.0.space.2.capacity
 319     scale K
 320     align right
 321     width 6
 322     format "0.0"
 323   }
 324   column {
 325     header "^EC^"       /* Eden Space Capacity - Current */
 326     data sun.gc.generation.0.space.0.capacity
 327     scale K
 328     align right
 329     width 8
 330     format "0.0"
 331   }
 332   column {
 333     header "^OGCMN^"    /* Old Generation Capacity - Minimum */
 334     data sun.gc.generation.1.minCapacity
 335     scale K
 336     align right
 337     width 10
 338     format "0.0"
 339   }
 340   column {
 341     header "^OGCMX^"    /* Old Generation Capacity - Maximum */
 342     data sun.gc.generation.1.maxCapacity
 343     scale K
 344     align right
 345     width 10
 346     format "0.0"
 347   }
 348   column {
 349     header "^OGC^"      /* Old Generation Capacity - Current */
 350     data sun.gc.generation.1.capacity
 351     scale K
 352     align right
 353     width 10
 354     format "0.0"
 355   }
 356   column {
 357     header "^OC^"       /* Old Space Capacity - Current */
 358     data sun.gc.generation.1.space.0.capacity
 359     scale K
 360     align right
 361     width 10
 362     format "0.0"
 363   }
 364   column {
 365     header "^MCMN^"     /* Metaspace Capacity - Minimum */
 366     data sun.gc.metaspace.minCapacity
 367     scale K
 368     align right
 369     width 8
 370     format "0.0"
 371   }
 372   column {
 373     header "^MCMX^"     /* Metaspace Capacity - Maximum */
 374     data sun.gc.metaspace.maxCapacity
 375     scale K
 376     align right
 377     width 8
 378     format "0.0"
 379   }
 380   column {
 381     header "^MC^"       /* Metaspace Capacity - Current */
 382     data sun.gc.metaspace.capacity
 383     scale K
 384     align right
 385     width 8
 386     format "0.0"
 387   }
 388   column {
 389     header "^CCSMN^"    /* Compressed Class Space Capacity - Minimum */
 390     data sun.gc.compressedclassspace.minCapacity
 391     scale K
 392     align right
 393     width 8
 394     format "0.0"
 395   }
 396   column {
 397     header "^CCSMX^"    /* Compressed Class Space Capacity - Maximum */
 398     data sun.gc.compressedclassspace.maxCapacity
 399     scale K
 400     align right
 401     width 8
 402     format "0.0"
 403   }
 404   column {
 405     header "^CCSC^"     /* Compressed Class Space Capacity - Current */
 406     data sun.gc.compressedclassspace.capacity
 407     scale K
 408     align right
 409     width 8
 410     format "0.0"
 411   }
 412   column {
 413     header "^YGC^"      /* Young Generation Collections */
 414     data sun.gc.collector.0.invocations
 415     align right
 416     width 6
 417     format "0"
 418   }
 419   column {
 420     header "^FGC^"      /* Full Collections */
 421     data sun.gc.collector.1.invocations
 422     align right
 423     width 5
 424     scale raw
 425     format "0"
 426   }
 427   column {
 428     header "^CGC^"      /* Concurrent Collections (STW phase) */
 429     data sun.gc.collector.2.invocations
 430     align center
 431     width 5
 432     scale raw
 433     format "0"
 434   }
 435 }
 436 
 437 option gccause {
 438   column {
 439     header "^S0^"       /* Survivor 0 Space - Percent Used */
 440     data (1-((sun.gc.generation.0.space.1.capacity - sun.gc.generation.0.space.1.used)/sun.gc.generation.0.space.1.capacity)) * 100
 441     scale raw
 442     align right
 443     width 6
 444     format "0.00"
 445   }
 446   column {
 447     header "^S1^"       /* Survivor 1 Space - Percent Used */
 448     data (1-((sun.gc.generation.0.space.2.capacity - sun.gc.generation.0.space.2.used)/sun.gc.generation.0.space.2.capacity)) * 100
 449     scale raw
 450     align right
 451     width 6
 452     format "0.00"
 453   }
 454   column {
 455     header "^E^"        /* Eden Space - Percent Used */
 456     data (1-((sun.gc.generation.0.space.0.capacity - sun.gc.generation.0.space.0.used)/sun.gc.generation.0.space.0.capacity)) * 100
 457     align right
 458     scale raw
 459     width 6
 460     format "0.00"
 461   }
 462   column {
 463     header "^O^"        /* Old Space - Percent Used */
 464     data (1-((sun.gc.generation.1.space.0.capacity - sun.gc.generation.1.space.0.used)/sun.gc.generation.1.space.0.capacity)) * 100
 465     align right
 466     scale raw
 467     width 6
 468     format "0.00"
 469   }
 470   column {
 471     header "^M^"        /* Metaspace - Percent Used */
 472     data (1-((sun.gc.metaspace.capacity - sun.gc.metaspace.used)/sun.gc.metaspace.capacity)) * 100
 473     align right
 474     width 6
 475     scale raw
 476     format "0.00"
 477   }
 478   column {
 479     header "^CCS^"      /* Compressed Class Space - Percent Used */
 480     data (1-((sun.gc.compressedclassspace.capacity - sun.gc.compressedclassspace.used)/sun.gc.compressedclassspace.capacity)) * 100
 481     align right
 482     width 6
 483     scale raw
 484     format "0.00"
 485   }
 486   column {
 487     header "^YGC^"      /* Young Generation Collections */
 488     data sun.gc.collector.0.invocations
 489     align right
 490     width 6
 491     format "0"
 492   }
 493   column {
 494     header "^YGCT^"     /* Young Generation Collection Time */
 495     data sun.gc.collector.0.time/sun.os.hrt.frequency
 496     align right
 497     scale sec
 498     width 8
 499     format "0.000"
 500   }
 501   column {
 502     header "^FGC^"      /* Full Collections */
 503     data sun.gc.collector.1.invocations
 504     align right
 505     width 5
 506     scale raw
 507     format "0"
 508   }
 509   column {
 510     header "^FGCT^"     /* Full Collection Time */
 511     data sun.gc.collector.1.time/sun.os.hrt.frequency
 512     align right
 513     scale sec
 514     width 8
 515     format "0.000"
 516   }
 517   column {
 518     header "^CGC^"      /* Concurrent Collections (STW phase) */
 519     data sun.gc.collector.2.invocations
 520     align center
 521     width 5
 522     scale raw
 523     format "0"
 524   }
 525   column {
 526     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
 527     data sun.gc.collector.2.time/sun.os.hrt.frequency
 528     align right
 529     width 8
 530     scale sec
 531     format "0.000"
 532   }
 533   column {
 534     header "^GCT^"      /* Total Garbage Collection Time */
 535     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
 536     align right
 537     width 8
 538     scale sec
 539     format "0.000"
 540   }
 541   column {
 542     header "^LGCC"      /* Last GC Cause */
 543     data sun.gc.lastCause
 544     align left
 545     width 20
 546     scale raw
 547   }
 548   column {
 549     header "^GCC"       /* Current GC Cause */
 550     data sun.gc.cause
 551     align left
 552     width 20
 553     scale raw
 554   }
 555 }
 556 
 557 option gcnew {
 558   column {
 559     header "^S0C^"      /* Survivor 0 Space Capacity - Current */
 560     data sun.gc.generation.0.space.1.capacity
 561     scale K
 562     align right
 563     width 6
 564     format "0.0"
 565   }
 566   column {
 567     header "^S1C^"      /* Survivor 1 Space Capacity - Current */
 568     data sun.gc.generation.0.space.2.capacity
 569     scale K
 570     align right
 571     width 6
 572     format "0.0"
 573   }
 574   column {
 575     header "^S0U^"      /* Survivor 0 Space Used */
 576     data sun.gc.generation.0.space.1.used
 577     scale K
 578     align right
 579     width 6
 580     format "0.0"
 581   }
 582   column {
 583     header "^S1U^"      /* Survivor 1 Space Used */
 584     data sun.gc.generation.0.space.2.used
 585     scale K
 586     align right
 587     width 6
 588     format "0.0"
 589   }
 590   column {
 591     header "^TT^"       /* Tenuring Threshold */
 592     data sun.gc.policy.tenuringThreshold
 593     width 2
 594     align right
 595     format "0"
 596   }
 597   column {
 598     header "^MTT^"      /* Maximum Tenuring Threshold */
 599     data sun.gc.policy.maxTenuringThreshold
 600     width 2
 601     align right
 602     format "0"
 603   }
 604   column {
 605     header "^DSS^"      /* Desired Survivor Size */
 606     data sun.gc.policy.desiredSurvivorSize
 607     scale K
 608     width 6
 609     align right
 610     format "0.0"
 611   }
 612   column {
 613     header "^EC^"       /* Eden Space Capacity - Current */
 614     data sun.gc.generation.0.space.0.capacity
 615     scale K
 616     width 8
 617     align right
 618     format "0.0"
 619   }
 620   column {
 621     header "^EU^"       /* Eden Space Used */
 622     data sun.gc.generation.0.space.0.used
 623     scale K
 624     width 8
 625     align right
 626     format "0.0"
 627   }
 628   column {
 629     header "^YGC^"      /* Young Generation Collections */
 630     data sun.gc.collector.0.invocations
 631     align right
 632     width 6
 633     format "0"
 634   }
 635   column {
 636     header "^YGCT^"     /* Young Generation Collection Time */
 637     data sun.gc.collector.0.time/sun.os.hrt.frequency
 638     align right
 639     scale sec
 640     width 8
 641     format "0.000"
 642   }
 643 }
 644 
 645 option gcnewcapacity {
 646   column {
 647     header "^NGCMN^"    /* New Generation Capacity - Minimum */
 648     data sun.gc.generation.0.minCapacity
 649     scale K
 650     align right
 651     width 10
 652     format "0.0"
 653   }
 654   column {
 655     header "^NGCMX^"    /* New Generation Capacity - Maximum */
 656     data sun.gc.generation.0.maxCapacity
 657     scale K
 658     align right
 659     width 10
 660     format "0.0"
 661   }
 662   column {
 663     header "^NGC^"      /* New Generation Capacity - Current */
 664     data sun.gc.generation.0.capacity
 665     scale K
 666     align right
 667     width 10
 668     format "0.0"
 669   }
 670   column {
 671     header "^S0CMX^"    /* Survivor 0 Space Capacity - Maximum */
 672     data sun.gc.generation.0.space.1.maxCapacity
 673     scale K
 674     align right
 675     width 8
 676     format "0.0"
 677   }
 678   column {
 679     header "^S0C^"      /* Survivor 0 Space Capacity - Current */
 680     data sun.gc.generation.0.space.1.capacity
 681     scale K
 682     align right
 683     width 8
 684     format "0.0"
 685   }
 686   column {
 687     header "^S1CMX^"    /* Survivor 1 Space Capacity - Maximum */
 688     data sun.gc.generation.0.space.2.maxCapacity
 689     scale K
 690     align right
 691     width 8
 692     format "0.0"
 693   }
 694   column {
 695     header "^S1C^"      /* Survivor 1 Space Capacity - Current */
 696     data sun.gc.generation.0.space.2.capacity
 697     scale K
 698     align right
 699     width 8
 700     format "0.0"
 701   }
 702   column {
 703     header "^ECMX^"     /* Eden Space Capacity - Maximum */
 704     data sun.gc.generation.0.space.0.maxCapacity
 705     scale K
 706     align right
 707     width 10
 708     format "0.0"
 709   }
 710   column {
 711     header "^EC^"       /* Eden Space Capacity - Current */
 712     data sun.gc.generation.0.space.0.capacity
 713     scale K
 714     align right
 715     width 10
 716     format "0.0"
 717   }
 718   column {
 719     header "^YGC^"      /* Young Generation Collections */
 720     data sun.gc.collector.0.invocations
 721     align right
 722     width 5
 723     format "0"
 724   }
 725   column {
 726     header "^FGC^"      /* Full Collections */
 727     data sun.gc.collector.1.invocations
 728     align right
 729     width 5
 730     scale raw
 731     format "0"
 732   }
 733   column {
 734     header "^CGC^"      /* Concurrent Collections (STW phase) */
 735     data sun.gc.collector.2.invocations
 736     align center
 737     width 5
 738     scale raw
 739     format "0"
 740   }
 741 }
 742 
 743 option gcold {
 744   column {
 745     header "^MC^"       /* Metaspace Capacity - Current */
 746     data sun.gc.metaspace.capacity
 747     width 8
 748     align right
 749     scale K
 750     format "0.0"
 751   }
 752   column {
 753     header "^MU^"       /* Metaspace Space Used */
 754     data sun.gc.metaspace.used
 755     width 8
 756     align right
 757     scale K
 758     format "0.0"
 759   }
 760   column {
 761     header "^CCSC^"     /* Compressed Class Space Capacity - Current */
 762     data sun.gc.compressedclassspace.capacity
 763     width 8
 764     align right
 765     scale K
 766     format "0.0"
 767   }
 768   column {
 769     header "^CCSU^"     /* Compressed Class Space Used */
 770     data sun.gc.compressedclassspace.used
 771     width 8
 772     align right
 773     scale K
 774     format "0.0"
 775   }
 776   column {
 777     header "^OC^"       /* Old Space Capacity - Current */
 778     data sun.gc.generation.1.space.0.capacity
 779     width 11
 780     align right
 781     scale K
 782     format "0.0"
 783   }
 784   column {
 785     header "^OU^"       /* Old Space Used */
 786     data sun.gc.generation.1.space.0.used
 787     width 11
 788     align right
 789     scale K
 790     format "0.0"
 791   }
 792   column {
 793     header "^YGC^"      /* Young Generation Collections */
 794     data sun.gc.collector.0.invocations
 795     align right
 796     width 6
 797     format "0"
 798   }
 799   column {
 800     header "^FGC^"      /* Full Collections */
 801     data sun.gc.collector.1.invocations
 802     align right
 803     scale raw
 804     width 5
 805     format "0"
 806   }
 807   column {
 808     header "^FGCT^"     /* Full Collection Time */
 809     data sun.gc.collector.1.time/sun.os.hrt.frequency
 810     align right
 811     scale sec
 812     width 8
 813     format "0.000"
 814   }
 815   column {
 816     header "^CGC^"      /* Concurrent Collections (STW phase) */
 817     data sun.gc.collector.2.invocations
 818     align center
 819     width 5
 820     scale raw
 821     format "0"
 822   }
 823   column {
 824     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
 825     data sun.gc.collector.2.time/sun.os.hrt.frequency
 826     align right
 827     width 8
 828     scale sec
 829     format "0.000"
 830   }
 831   column {
 832     header "^GCT^"      /* Total Garbage Collection Time */
 833     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
 834     align right
 835     width 8
 836     scale sec
 837     format "0.000"
 838   }
 839 }
 840 
 841 option gcoldcapacity {
 842   column {
 843     header "^OGCMN^"    /* Old Generation Capacity - Minimum */
 844     data sun.gc.generation.1.minCapacity
 845     scale K
 846     align right
 847     width 11
 848     format "0.0"
 849   }
 850   column {
 851     header "^OGCMX^"    /* Old Generation Capacity - Maximum */
 852     data sun.gc.generation.1.maxCapacity
 853     scale K
 854     align right
 855     width 11
 856     format "0.0"
 857   }
 858   column {
 859     header "^OGC^"      /* Old Generation Capacity - Current */
 860     data sun.gc.generation.1.capacity
 861     scale K
 862     align right
 863     width 11
 864     format "0.0"
 865   }
 866   column {
 867     header "^OC^"       /* Old Space Capacity - Current */
 868     data sun.gc.generation.1.space.0.capacity
 869     scale K
 870     align right
 871     width 11
 872     format "0.0"
 873   }
 874   column {
 875     header "^YGC^"      /* Young Generation Collections */
 876     data sun.gc.collector.0.invocations
 877     align right
 878     width 5
 879     format "0"
 880   }
 881   column {
 882     header "^FGC^"      /* Full Collections */
 883     data sun.gc.collector.1.invocations
 884     align right
 885     width 5
 886     scale raw
 887     format "0"
 888   }
 889   column {
 890     header "^FGCT^"     /* Full Collection Time */
 891     data sun.gc.collector.1.time/sun.os.hrt.frequency
 892     align right
 893     scale sec
 894     width 8
 895     format "0.000"
 896   }
 897   column {
 898     header "^CGC^"      /* Concurrent Collections (STW phase) */
 899     data sun.gc.collector.2.invocations
 900     align center
 901     width 5
 902     scale raw
 903     format "0"
 904   }
 905   column {
 906     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
 907     data sun.gc.collector.2.time/sun.os.hrt.frequency
 908     align right
 909     width 8
 910     scale sec
 911     format "0.000"
 912   }
 913   column {
 914     header "^GCT^"      /* Total Garbage Collection Time */
 915     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
 916     align right
 917     width 8
 918     scale sec
 919     format "0.000"
 920   }
 921 }
 922 
 923 option gcmetacapacity {
 924   column {
 925     header "^MCMN^"     /* Metaspace Capacity - Minimum */
 926     data sun.gc.metaspace.minCapacity
 927     scale K
 928     align right
 929     width 10
 930     format "0.0"
 931   }
 932   column {
 933     header "^MCMX^"     /* Metaspace Capacity - Maximum */
 934     data sun.gc.metaspace.maxCapacity
 935     scale K
 936     align right
 937     width 10
 938     format "0.0"
 939   }
 940   column {
 941     header "^MC^"       /* Metaspace Capacity - Current */
 942     data sun.gc.metaspace.capacity
 943     scale K
 944     align right
 945     width 10
 946     format "0.0"
 947   }
 948   column {
 949     header "^CCSMN^"    /* Compressed Class Space Capacity - Minimum */
 950     data sun.gc.compressedclassspace.minCapacity
 951     scale K
 952     align right
 953     width 10
 954     format "0.0"
 955   }
 956   column {
 957     header "^CCSMX^"    /* Compressed Class Space Capacity - Maximum */
 958     data sun.gc.compressedclassspace.maxCapacity
 959     scale K
 960     align right
 961     width 10
 962     format "0.0"
 963   }
 964   column {
 965     header "^CCSC^"     /* Compressed Class Space Capacity - Current */
 966     data sun.gc.compressedclassspace.capacity
 967     scale K
 968     align right
 969     width 10
 970     format "0.0"
 971   }
 972   column {
 973     header "^YGC^"      /* Young Generation Collections */
 974     data sun.gc.collector.0.invocations
 975     align right
 976     width 5
 977     format "0"
 978   }
 979   column {
 980     header "^FGC^"      /* Full Collections */
 981     data sun.gc.collector.1.invocations
 982     align right
 983     width 5
 984     scale raw
 985     format "0"
 986   }
 987   column {
 988     header "^FGCT^"     /* Full Collection Time */
 989     data sun.gc.collector.1.time/sun.os.hrt.frequency
 990     align right
 991     scale sec
 992     width 8
 993     format "0.000"
 994   }
 995   column {
 996     header "^CGC^"      /* Concurrent Collections (STW phase) */
 997     data sun.gc.collector.2.invocations
 998     align center
 999     width 5
1000     scale raw
1001     format "0"
1002   }
1003   column {
1004     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
1005     data sun.gc.collector.2.time/sun.os.hrt.frequency
1006     align right
1007     width 8
1008     scale sec
1009     format "0.000"
1010   }
1011   column {
1012     header "^GCT^"      /* Total Garbage Collection Time */
1013     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
1014     align right
1015     width 8
1016     scale sec
1017     format "0.000"
1018   }
1019 }
1020 
1021 option gcutil {
1022   column {
1023     header "^S0^"       /* Survivor 0 Space - Percent Used */
1024     data (1-((sun.gc.generation.0.space.1.capacity - sun.gc.generation.0.space.1.used)/sun.gc.generation.0.space.1.capacity)) * 100
1025     scale raw
1026     align right
1027     width 6
1028     format "0.00"
1029   }
1030   column {
1031     header "^S1^"       /* Survivor 1 Space - Percent Used */
1032     data (1-((sun.gc.generation.0.space.2.capacity - sun.gc.generation.0.space.2.used)/sun.gc.generation.0.space.2.capacity)) * 100
1033     scale raw
1034     align right
1035     width 6
1036     format "0.00"
1037   }
1038   column {
1039     header "^E^"        /* Eden Space - Percent Used */
1040     data (1-((sun.gc.generation.0.space.0.capacity - sun.gc.generation.0.space.0.used)/sun.gc.generation.0.space.0.capacity)) * 100
1041     align right
1042     scale raw
1043     width 6
1044     format "0.00"
1045   }
1046   column {
1047     header "^O^"        /* Old Space - Percent Used */
1048     data (1-((sun.gc.generation.1.space.0.capacity - sun.gc.generation.1.space.0.used)/sun.gc.generation.1.space.0.capacity)) * 100
1049     align right
1050     scale raw
1051     width 6
1052     format "0.00"
1053   }
1054   column {
1055     header "^M^"        /* Metaspace Space - Percent Used */
1056     data (1-((sun.gc.metaspace.capacity - sun.gc.metaspace.used)/sun.gc.metaspace.capacity)) * 100
1057     align right
1058     width 6
1059     scale raw
1060     format "0.00"
1061   }
1062   column {
1063     header "^CCS^"      /* Compressed Class Space Space - Percent Used */
1064     data (1-((sun.gc.compressedclassspace.capacity - sun.gc.compressedclassspace.used)/sun.gc.compressedclassspace.capacity)) * 100
1065     align right
1066     width 6
1067     scale raw
1068     format "0.00"
1069   }
1070   column {
1071     header "^YGC^"      /* Young Generation Collections */
1072     data sun.gc.collector.0.invocations
1073     align right
1074     width 6
1075     format "0"
1076   }
1077   column {
1078     header "^YGCT^"     /* Young Generation Collection Time */
1079     data sun.gc.collector.0.time/sun.os.hrt.frequency
1080     align right
1081     scale sec
1082     width 8
1083     format "0.000"
1084   }
1085   column {
1086     header "^FGC^"      /* Full Collections */
1087     data sun.gc.collector.1.invocations
1088     align right
1089     width 5
1090     scale raw
1091     format "0"
1092   }
1093   column {
1094     header "^FGCT^"     /* Full Collection Time */
1095     data sun.gc.collector.1.time/sun.os.hrt.frequency
1096     align right
1097     scale sec
1098     width 8
1099     format "0.000"
1100   }
1101   column {
1102     header "^CGC^"      /* Concurrent Collections (STW phase) */
1103     data sun.gc.collector.2.invocations
1104     align center
1105     width 5
1106     scale raw
1107     format "0"
1108   }
1109   column {
1110     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
1111     data sun.gc.collector.2.time/sun.os.hrt.frequency
1112     align right
1113     width 8
1114     scale sec
1115     format "0.000"
1116   }
1117   column {
1118     header "^GCT^"      /* Total Garbage Collection Time */
1119     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
1120     align right
1121     width 8
1122     scale sec
1123     format "0.000"
1124   }
1125 }
1126 
1127 option printcompilation {
1128   column {
1129     header "^Compiled^"         /* Number of compilation tasks performed */
1130     data sun.ci.totalCompiles
1131     scale raw
1132     align right
1133     width 6
1134     format "0"
1135   }
1136   column {
1137     header "^Size^"             /* Code Size in bytes of last compilation */
1138     data sun.ci.lastSize
1139     scale raw
1140     align right
1141     width 6
1142   }
1143   column {
1144     header "^Type^"             /* Type of last compilation */
1145     data sun.ci.lastType
1146     scale raw
1147     align right
1148     width 4
1149   }
1150   column {
1151     header "^Method"            /* Name of class and method for last compile */
1152     data sun.ci.lastMethod
1153     scale raw
1154     align left
1155     width 1
1156   }
1157 }