1 /*
   2  * Copyright (c) 2004, 2018, 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     required true
 281   }
 282 }
 283 
 284 option gccapacity {
 285   column {
 286     header "^NGCMN^"    /* New Generation Capacity - Minimum */
 287     data sun.gc.generation.0.minCapacity
 288     scale K
 289     align right
 290     width 8
 291     format "0.0"
 292   }
 293   column {
 294     header "^NGCMX^"    /* New Generation Capacity - Maximum */
 295     data sun.gc.generation.0.maxCapacity
 296     scale K
 297     align right
 298     width 8
 299     format "0.0"
 300   }
 301   column {
 302     header "^NGC^"      /* New Generation Capacity - Current */
 303     data sun.gc.generation.0.capacity
 304     scale K
 305     align right
 306     width 8
 307     format "0.0"
 308   }
 309   column {
 310     header "^S0C^"      /* Survivor 0 Space Capacity - Current */
 311     data sun.gc.generation.0.space.1.capacity
 312     scale K
 313     align right
 314     width 6
 315     format "0.0"
 316   }
 317   column {
 318     header "^S1C"       /* Survivor 1 Space Capacity - Current */
 319     data sun.gc.generation.0.space.2.capacity
 320     scale K
 321     align right
 322     width 6
 323     format "0.0"
 324   }
 325   column {
 326     header "^EC^"       /* Eden Space Capacity - Current */
 327     data sun.gc.generation.0.space.0.capacity
 328     scale K
 329     align right
 330     width 8
 331     format "0.0"
 332   }
 333   column {
 334     header "^OGCMN^"    /* Old Generation Capacity - Minimum */
 335     data sun.gc.generation.1.minCapacity
 336     scale K
 337     align right
 338     width 10
 339     format "0.0"
 340   }
 341   column {
 342     header "^OGCMX^"    /* Old Generation Capacity - Maximum */
 343     data sun.gc.generation.1.maxCapacity
 344     scale K
 345     align right
 346     width 10
 347     format "0.0"
 348   }
 349   column {
 350     header "^OGC^"      /* Old Generation Capacity - Current */
 351     data sun.gc.generation.1.capacity
 352     scale K
 353     align right
 354     width 10
 355     format "0.0"
 356   }
 357   column {
 358     header "^OC^"       /* Old Space Capacity - Current */
 359     data sun.gc.generation.1.space.0.capacity
 360     scale K
 361     align right
 362     width 10
 363     format "0.0"
 364   }
 365   column {
 366     header "^MCMN^"     /* Metaspace Capacity - Minimum */
 367     data sun.gc.metaspace.minCapacity
 368     scale K
 369     align right
 370     width 8
 371     format "0.0"
 372   }
 373   column {
 374     header "^MCMX^"     /* Metaspace Capacity - Maximum */
 375     data sun.gc.metaspace.maxCapacity
 376     scale K
 377     align right
 378     width 8
 379     format "0.0"
 380   }
 381   column {
 382     header "^MC^"       /* Metaspace Capacity - Current */
 383     data sun.gc.metaspace.capacity
 384     scale K
 385     align right
 386     width 8
 387     format "0.0"
 388   }
 389   column {
 390     header "^CCSMN^"    /* Compressed Class Space Capacity - Minimum */
 391     data sun.gc.compressedclassspace.minCapacity
 392     scale K
 393     align right
 394     width 8
 395     format "0.0"
 396   }
 397   column {
 398     header "^CCSMX^"    /* Compressed Class Space Capacity - Maximum */
 399     data sun.gc.compressedclassspace.maxCapacity
 400     scale K
 401     align right
 402     width 8
 403     format "0.0"
 404   }
 405   column {
 406     header "^CCSC^"     /* Compressed Class Space Capacity - Current */
 407     data sun.gc.compressedclassspace.capacity
 408     scale K
 409     align right
 410     width 8
 411     format "0.0"
 412   }
 413   column {
 414     header "^YGC^"      /* Young Generation Collections */
 415     data sun.gc.collector.0.invocations
 416     align right
 417     width 6
 418     format "0"
 419   }
 420   column {
 421     header "^FGC^"      /* Full Collections */
 422     data sun.gc.collector.1.invocations
 423     align right
 424     width 5
 425     scale raw
 426     format "0"
 427   }
 428   column {
 429     header "^CGC^"      /* Concurrent Collections (STW phase) */
 430     data sun.gc.collector.2.invocations
 431     align right
 432     width 5
 433     scale raw
 434     format "0"
 435   }
 436 }
 437 
 438 option gccause {
 439   column {
 440     header "^S0^"       /* Survivor 0 Space - Percent Used */
 441     data (1-((sun.gc.generation.0.space.1.capacity - sun.gc.generation.0.space.1.used)/sun.gc.generation.0.space.1.capacity)) * 100
 442     scale raw
 443     align right
 444     width 6
 445     format "0.00"
 446   }
 447   column {
 448     header "^S1^"       /* Survivor 1 Space - Percent Used */
 449     data (1-((sun.gc.generation.0.space.2.capacity - sun.gc.generation.0.space.2.used)/sun.gc.generation.0.space.2.capacity)) * 100
 450     scale raw
 451     align right
 452     width 6
 453     format "0.00"
 454   }
 455   column {
 456     header "^E^"        /* Eden Space - Percent Used */
 457     data (1-((sun.gc.generation.0.space.0.capacity - sun.gc.generation.0.space.0.used)/sun.gc.generation.0.space.0.capacity)) * 100
 458     align right
 459     scale raw
 460     width 6
 461     format "0.00"
 462   }
 463   column {
 464     header "^O^"        /* Old Space - Percent Used */
 465     data (1-((sun.gc.generation.1.space.0.capacity - sun.gc.generation.1.space.0.used)/sun.gc.generation.1.space.0.capacity)) * 100
 466     align right
 467     scale raw
 468     width 6
 469     format "0.00"
 470   }
 471   column {
 472     header "^M^"        /* Metaspace - Percent Used */
 473     data (1-((sun.gc.metaspace.capacity - sun.gc.metaspace.used)/sun.gc.metaspace.capacity)) * 100
 474     align right
 475     width 6
 476     scale raw
 477     format "0.00"
 478   }
 479   column {
 480     header "^CCS^"      /* Compressed Class Space - Percent Used */
 481     data (1-((sun.gc.compressedclassspace.capacity - sun.gc.compressedclassspace.used)/sun.gc.compressedclassspace.capacity)) * 100
 482     align right
 483     width 6
 484     scale raw
 485     format "0.00"
 486   }
 487   column {
 488     header "^YGC^"      /* Young Generation Collections */
 489     data sun.gc.collector.0.invocations
 490     align right
 491     width 6
 492     format "0"
 493   }
 494   column {
 495     header "^YGCT^"     /* Young Generation Collection Time */
 496     data sun.gc.collector.0.time/sun.os.hrt.frequency
 497     align right
 498     scale sec
 499     width 8
 500     format "0.000"
 501   }
 502   column {
 503     header "^FGC^"      /* Full Collections */
 504     data sun.gc.collector.1.invocations
 505     align right
 506     width 5
 507     scale raw
 508     format "0"
 509   }
 510   column {
 511     header "^FGCT^"     /* Full Collection Time */
 512     data sun.gc.collector.1.time/sun.os.hrt.frequency
 513     align right
 514     scale sec
 515     width 8
 516     format "0.000"
 517   }
 518   column {
 519     header "^CGC^"      /* Concurrent Collections (STW phase) */
 520     data sun.gc.collector.2.invocations
 521     align right
 522     width 5
 523     scale raw
 524     format "0"
 525   }
 526   column {
 527     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
 528     data sun.gc.collector.2.time/sun.os.hrt.frequency
 529     align right
 530     width 8
 531     scale sec
 532     format "0.000"
 533   }
 534   column {
 535     header "^GCT^"      /* Total Garbage Collection Time */
 536     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
 537     align right
 538     width 8
 539     scale sec
 540     format "0.000"
 541     required true
 542   }
 543   column {
 544     header "^LGCC"      /* Last GC Cause */
 545     data sun.gc.lastCause
 546     align left
 547     width 20
 548     scale raw
 549   }
 550   column {
 551     header "^GCC"       /* Current GC Cause */
 552     data sun.gc.cause
 553     align left
 554     width 20
 555     scale raw
 556   }
 557 }
 558 
 559 option gcnew {
 560   column {
 561     header "^S0C^"      /* Survivor 0 Space Capacity - Current */
 562     data sun.gc.generation.0.space.1.capacity
 563     scale K
 564     align right
 565     width 6
 566     format "0.0"
 567   }
 568   column {
 569     header "^S1C^"      /* Survivor 1 Space Capacity - Current */
 570     data sun.gc.generation.0.space.2.capacity
 571     scale K
 572     align right
 573     width 6
 574     format "0.0"
 575   }
 576   column {
 577     header "^S0U^"      /* Survivor 0 Space Used */
 578     data sun.gc.generation.0.space.1.used
 579     scale K
 580     align right
 581     width 6
 582     format "0.0"
 583   }
 584   column {
 585     header "^S1U^"      /* Survivor 1 Space Used */
 586     data sun.gc.generation.0.space.2.used
 587     scale K
 588     align right
 589     width 6
 590     format "0.0"
 591   }
 592   column {
 593     header "^TT^"       /* Tenuring Threshold */
 594     data sun.gc.policy.tenuringThreshold
 595     width 2
 596     align right
 597     format "0"
 598   }
 599   column {
 600     header "^MTT^"      /* Maximum Tenuring Threshold */
 601     data sun.gc.policy.maxTenuringThreshold
 602     width 2
 603     align right
 604     format "0"
 605   }
 606   column {
 607     header "^DSS^"      /* Desired Survivor Size */
 608     data sun.gc.policy.desiredSurvivorSize
 609     scale K
 610     width 6
 611     align right
 612     format "0.0"
 613   }
 614   column {
 615     header "^EC^"       /* Eden Space Capacity - Current */
 616     data sun.gc.generation.0.space.0.capacity
 617     scale K
 618     width 8
 619     align right
 620     format "0.0"
 621   }
 622   column {
 623     header "^EU^"       /* Eden Space Used */
 624     data sun.gc.generation.0.space.0.used
 625     scale K
 626     width 8
 627     align right
 628     format "0.0"
 629   }
 630   column {
 631     header "^YGC^"      /* Young Generation Collections */
 632     data sun.gc.collector.0.invocations
 633     align right
 634     width 6
 635     format "0"
 636   }
 637   column {
 638     header "^YGCT^"     /* Young Generation Collection Time */
 639     data sun.gc.collector.0.time/sun.os.hrt.frequency
 640     align right
 641     scale sec
 642     width 8
 643     format "0.000"
 644   }
 645 }
 646 
 647 option gcnewcapacity {
 648   column {
 649     header "^NGCMN^"    /* New Generation Capacity - Minimum */
 650     data sun.gc.generation.0.minCapacity
 651     scale K
 652     align right
 653     width 10
 654     format "0.0"
 655   }
 656   column {
 657     header "^NGCMX^"    /* New Generation Capacity - Maximum */
 658     data sun.gc.generation.0.maxCapacity
 659     scale K
 660     align right
 661     width 10
 662     format "0.0"
 663   }
 664   column {
 665     header "^NGC^"      /* New Generation Capacity - Current */
 666     data sun.gc.generation.0.capacity
 667     scale K
 668     align right
 669     width 10
 670     format "0.0"
 671   }
 672   column {
 673     header "^S0CMX^"    /* Survivor 0 Space Capacity - Maximum */
 674     data sun.gc.generation.0.space.1.maxCapacity
 675     scale K
 676     align right
 677     width 8
 678     format "0.0"
 679   }
 680   column {
 681     header "^S0C^"      /* Survivor 0 Space Capacity - Current */
 682     data sun.gc.generation.0.space.1.capacity
 683     scale K
 684     align right
 685     width 8
 686     format "0.0"
 687   }
 688   column {
 689     header "^S1CMX^"    /* Survivor 1 Space Capacity - Maximum */
 690     data sun.gc.generation.0.space.2.maxCapacity
 691     scale K
 692     align right
 693     width 8
 694     format "0.0"
 695   }
 696   column {
 697     header "^S1C^"      /* Survivor 1 Space Capacity - Current */
 698     data sun.gc.generation.0.space.2.capacity
 699     scale K
 700     align right
 701     width 8
 702     format "0.0"
 703   }
 704   column {
 705     header "^ECMX^"     /* Eden Space Capacity - Maximum */
 706     data sun.gc.generation.0.space.0.maxCapacity
 707     scale K
 708     align right
 709     width 10
 710     format "0.0"
 711   }
 712   column {
 713     header "^EC^"       /* Eden Space Capacity - Current */
 714     data sun.gc.generation.0.space.0.capacity
 715     scale K
 716     align right
 717     width 10
 718     format "0.0"
 719   }
 720   column {
 721     header "^YGC^"      /* Young Generation Collections */
 722     data sun.gc.collector.0.invocations
 723     align right
 724     width 5
 725     format "0"
 726   }
 727   column {
 728     header "^FGC^"      /* Full Collections */
 729     data sun.gc.collector.1.invocations
 730     align right
 731     width 5
 732     scale raw
 733     format "0"
 734   }
 735   column {
 736     header "^CGC^"      /* Concurrent Collections (STW phase) */
 737     data sun.gc.collector.2.invocations
 738     align right
 739     width 5
 740     scale raw
 741     format "0"
 742   }
 743 }
 744 
 745 option gcold {
 746   column {
 747     header "^MC^"       /* Metaspace Capacity - Current */
 748     data sun.gc.metaspace.capacity
 749     width 8
 750     align right
 751     scale K
 752     format "0.0"
 753   }
 754   column {
 755     header "^MU^"       /* Metaspace Space Used */
 756     data sun.gc.metaspace.used
 757     width 8
 758     align right
 759     scale K
 760     format "0.0"
 761   }
 762   column {
 763     header "^CCSC^"     /* Compressed Class Space Capacity - Current */
 764     data sun.gc.compressedclassspace.capacity
 765     width 8
 766     align right
 767     scale K
 768     format "0.0"
 769   }
 770   column {
 771     header "^CCSU^"     /* Compressed Class Space Used */
 772     data sun.gc.compressedclassspace.used
 773     width 8
 774     align right
 775     scale K
 776     format "0.0"
 777   }
 778   column {
 779     header "^OC^"       /* Old Space Capacity - Current */
 780     data sun.gc.generation.1.space.0.capacity
 781     width 11
 782     align right
 783     scale K
 784     format "0.0"
 785   }
 786   column {
 787     header "^OU^"       /* Old Space Used */
 788     data sun.gc.generation.1.space.0.used
 789     width 11
 790     align right
 791     scale K
 792     format "0.0"
 793   }
 794   column {
 795     header "^YGC^"      /* Young Generation Collections */
 796     data sun.gc.collector.0.invocations
 797     align right
 798     width 6
 799     format "0"
 800   }
 801   column {
 802     header "^FGC^"      /* Full Collections */
 803     data sun.gc.collector.1.invocations
 804     align right
 805     scale raw
 806     width 5
 807     format "0"
 808   }
 809   column {
 810     header "^FGCT^"     /* Full Collection Time */
 811     data sun.gc.collector.1.time/sun.os.hrt.frequency
 812     align right
 813     scale sec
 814     width 8
 815     format "0.000"
 816   }
 817   column {
 818     header "^CGC^"      /* Concurrent Collections (STW phase) */
 819     data sun.gc.collector.2.invocations
 820     align right
 821     width 5
 822     scale raw
 823     format "0"
 824   }
 825   column {
 826     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
 827     data sun.gc.collector.2.time/sun.os.hrt.frequency
 828     align right
 829     width 8
 830     scale sec
 831     format "0.000"
 832   }
 833   column {
 834     header "^GCT^"      /* Total Garbage Collection Time */
 835     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
 836     align right
 837     width 8
 838     scale sec
 839     format "0.000"
 840     required true
 841   }
 842 }
 843 
 844 option gcoldcapacity {
 845   column {
 846     header "^OGCMN^"    /* Old Generation Capacity - Minimum */
 847     data sun.gc.generation.1.minCapacity
 848     scale K
 849     align right
 850     width 11
 851     format "0.0"
 852   }
 853   column {
 854     header "^OGCMX^"    /* Old Generation Capacity - Maximum */
 855     data sun.gc.generation.1.maxCapacity
 856     scale K
 857     align right
 858     width 11
 859     format "0.0"
 860   }
 861   column {
 862     header "^OGC^"      /* Old Generation Capacity - Current */
 863     data sun.gc.generation.1.capacity
 864     scale K
 865     align right
 866     width 11
 867     format "0.0"
 868   }
 869   column {
 870     header "^OC^"       /* Old Space Capacity - Current */
 871     data sun.gc.generation.1.space.0.capacity
 872     scale K
 873     align right
 874     width 11
 875     format "0.0"
 876   }
 877   column {
 878     header "^YGC^"      /* Young Generation Collections */
 879     data sun.gc.collector.0.invocations
 880     align right
 881     width 5
 882     format "0"
 883   }
 884   column {
 885     header "^FGC^"      /* Full Collections */
 886     data sun.gc.collector.1.invocations
 887     align right
 888     width 5
 889     scale raw
 890     format "0"
 891   }
 892   column {
 893     header "^FGCT^"     /* Full Collection Time */
 894     data sun.gc.collector.1.time/sun.os.hrt.frequency
 895     align right
 896     scale sec
 897     width 8
 898     format "0.000"
 899   }
 900   column {
 901     header "^CGC^"      /* Concurrent Collections (STW phase) */
 902     data sun.gc.collector.2.invocations
 903     align right
 904     width 5
 905     scale raw
 906     format "0"
 907   }
 908   column {
 909     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
 910     data sun.gc.collector.2.time/sun.os.hrt.frequency
 911     align right
 912     width 8
 913     scale sec
 914     format "0.000"
 915   }
 916   column {
 917     header "^GCT^"      /* Total Garbage Collection Time */
 918     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
 919     align right
 920     width 8
 921     scale sec
 922     format "0.000"
 923     required true
 924   }
 925 }
 926 
 927 option gcmetacapacity {
 928   column {
 929     header "^MCMN^"     /* Metaspace Capacity - Minimum */
 930     data sun.gc.metaspace.minCapacity
 931     scale K
 932     align right
 933     width 10
 934     format "0.0"
 935   }
 936   column {
 937     header "^MCMX^"     /* Metaspace Capacity - Maximum */
 938     data sun.gc.metaspace.maxCapacity
 939     scale K
 940     align right
 941     width 10
 942     format "0.0"
 943   }
 944   column {
 945     header "^MC^"       /* Metaspace Capacity - Current */
 946     data sun.gc.metaspace.capacity
 947     scale K
 948     align right
 949     width 10
 950     format "0.0"
 951   }
 952   column {
 953     header "^CCSMN^"    /* Compressed Class Space Capacity - Minimum */
 954     data sun.gc.compressedclassspace.minCapacity
 955     scale K
 956     align right
 957     width 10
 958     format "0.0"
 959   }
 960   column {
 961     header "^CCSMX^"    /* Compressed Class Space Capacity - Maximum */
 962     data sun.gc.compressedclassspace.maxCapacity
 963     scale K
 964     align right
 965     width 10
 966     format "0.0"
 967   }
 968   column {
 969     header "^CCSC^"     /* Compressed Class Space Capacity - Current */
 970     data sun.gc.compressedclassspace.capacity
 971     scale K
 972     align right
 973     width 10
 974     format "0.0"
 975   }
 976   column {
 977     header "^YGC^"      /* Young Generation Collections */
 978     data sun.gc.collector.0.invocations
 979     align right
 980     width 5
 981     format "0"
 982   }
 983   column {
 984     header "^FGC^"      /* Full Collections */
 985     data sun.gc.collector.1.invocations
 986     align right
 987     width 5
 988     scale raw
 989     format "0"
 990   }
 991   column {
 992     header "^FGCT^"     /* Full Collection Time */
 993     data sun.gc.collector.1.time/sun.os.hrt.frequency
 994     align right
 995     scale sec
 996     width 8
 997     format "0.000"
 998   }
 999   column {
1000     header "^CGC^"      /* Concurrent Collections (STW phase) */
1001     data sun.gc.collector.2.invocations
1002     align right
1003     width 5
1004     scale raw
1005     format "0"
1006   }
1007   column {
1008     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
1009     data sun.gc.collector.2.time/sun.os.hrt.frequency
1010     align right
1011     width 8
1012     scale sec
1013     format "0.000"
1014   }
1015   column {
1016     header "^GCT^"      /* Total Garbage Collection Time */
1017     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
1018     align right
1019     width 8
1020     scale sec
1021     format "0.000"
1022     required true
1023   }
1024 }
1025 
1026 option gcutil {
1027   column {
1028     header "^S0^"       /* Survivor 0 Space - Percent Used */
1029     data (1-((sun.gc.generation.0.space.1.capacity - sun.gc.generation.0.space.1.used)/sun.gc.generation.0.space.1.capacity)) * 100
1030     scale raw
1031     align right
1032     width 6
1033     format "0.00"
1034   }
1035   column {
1036     header "^S1^"       /* Survivor 1 Space - Percent Used */
1037     data (1-((sun.gc.generation.0.space.2.capacity - sun.gc.generation.0.space.2.used)/sun.gc.generation.0.space.2.capacity)) * 100
1038     scale raw
1039     align right
1040     width 6
1041     format "0.00"
1042   }
1043   column {
1044     header "^E^"        /* Eden Space - Percent Used */
1045     data (1-((sun.gc.generation.0.space.0.capacity - sun.gc.generation.0.space.0.used)/sun.gc.generation.0.space.0.capacity)) * 100
1046     align right
1047     scale raw
1048     width 6
1049     format "0.00"
1050   }
1051   column {
1052     header "^O^"        /* Old Space - Percent Used */
1053     data (1-((sun.gc.generation.1.space.0.capacity - sun.gc.generation.1.space.0.used)/sun.gc.generation.1.space.0.capacity)) * 100
1054     align right
1055     scale raw
1056     width 6
1057     format "0.00"
1058   }
1059   column {
1060     header "^M^"        /* Metaspace Space - Percent Used */
1061     data (1-((sun.gc.metaspace.capacity - sun.gc.metaspace.used)/sun.gc.metaspace.capacity)) * 100
1062     align right
1063     width 6
1064     scale raw
1065     format "0.00"
1066   }
1067   column {
1068     header "^CCS^"      /* Compressed Class Space Space - Percent Used */
1069     data (1-((sun.gc.compressedclassspace.capacity - sun.gc.compressedclassspace.used)/sun.gc.compressedclassspace.capacity)) * 100
1070     align right
1071     width 6
1072     scale raw
1073     format "0.00"
1074   }
1075   column {
1076     header "^YGC^"      /* Young Generation Collections */
1077     data sun.gc.collector.0.invocations
1078     align right
1079     width 6
1080     format "0"
1081   }
1082   column {
1083     header "^YGCT^"     /* Young Generation Collection Time */
1084     data sun.gc.collector.0.time/sun.os.hrt.frequency
1085     align right
1086     scale sec
1087     width 8
1088     format "0.000"
1089   }
1090   column {
1091     header "^FGC^"      /* Full Collections */
1092     data sun.gc.collector.1.invocations
1093     align right
1094     width 5
1095     scale raw
1096     format "0"
1097   }
1098   column {
1099     header "^FGCT^"     /* Full Collection Time */
1100     data sun.gc.collector.1.time/sun.os.hrt.frequency
1101     align right
1102     scale sec
1103     width 8
1104     format "0.000"
1105   }
1106   column {
1107     header "^CGC^"      /* Concurrent Collections (STW phase) */
1108     data sun.gc.collector.2.invocations
1109     align right
1110     width 5
1111     scale raw
1112     format "0"
1113   }
1114   column {
1115     header "^CGCT^"     /* Concurrent Garbage Collection Time (STW phase) */
1116     data sun.gc.collector.2.time/sun.os.hrt.frequency
1117     align right
1118     width 8
1119     scale sec
1120     format "0.000"
1121   }
1122   column {
1123     header "^GCT^"      /* Total Garbage Collection Time */
1124     data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency
1125     align right
1126     width 8
1127     scale sec
1128     format "0.000"
1129     required true
1130   }
1131 }
1132 
1133 option printcompilation {
1134   column {
1135     header "^Compiled^"         /* Number of compilation tasks performed */
1136     data sun.ci.totalCompiles
1137     scale raw
1138     align right
1139     width 6
1140     format "0"
1141   }
1142   column {
1143     header "^Size^"             /* Code Size in bytes of last compilation */
1144     data sun.ci.lastSize
1145     scale raw
1146     align right
1147     width 6
1148   }
1149   column {
1150     header "^Type^"             /* Type of last compilation */
1151     data sun.ci.lastType
1152     scale raw
1153     align right
1154     width 4
1155   }
1156   column {
1157     header "^Method"            /* Name of class and method for last compile */
1158     data sun.ci.lastMethod
1159     scale raw
1160     align left
1161     width 1
1162   }
1163 }