Wednesday 5 June 2019

jstat: Repeat column headers


-h<n> output the column header after every n lines of data.

Example
jstat -gcoldcapacity -h3 86867 5s

$ jstat -gcoldcapacity -h3 86867 5s
   OGCMN       OGCMX        OGC         OC       YGC   FGC    FGCT     GCT   
   175104.0   2796544.0    175104.0    175104.0    12     0    0.000    0.038
   175104.0   2796544.0    175104.0    175104.0    12     0    0.000    0.038
   175104.0   2796544.0    175104.0    175104.0    12     0    0.000    0.038
   OGCMN       OGCMX        OGC         OC       YGC   FGC    FGCT     GCT   
   175104.0   2796544.0    175104.0    175104.0    12     0    0.000    0.038
   175104.0   2796544.0    175104.0    175104.0    12     0    0.000    0.038
   175104.0   2796544.0    175104.0    175104.0    12     0    0.000    0.038
   OGCMN       OGCMX        OGC         OC       YGC   FGC    FGCT     GCT   
   175104.0   2796544.0    175104.0    175104.0    12     0    0.000    0.038



Previous                                                 Next                                                 Home

No comments:

Post a Comment