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