2

Websphere App Server 7.0.0.15 でアプリケーションを実行しているときに、native_stderr.log ファイルを取得しています。以前は単純なログ ファイル形式でしたが、最近、ファイルが XML 形式になっていることがわかりました。

このファイルを解釈するための IBM 提供のツールはありますか?

ログファイルには、次のようなセクションが含まれています。

<af type="tenured" id="345" timestamp="Sep 07 15:51:45 2011" intervalms="3981.813">
  <minimum requested_bytes="16400" />
  <time exclusiveaccessms="0.163" meanexclusiveaccessms="0.163" threads="0" lastthreadtid="0x0000000032D8C700" />
  <refs soft="24731" weak="22022" phantom="1950" dynamicSoftReferenceThreshold="19" maxSoftReferenceThreshold="32" />
  <tenured freebytes="4223424" totalbytes="536870912" percent="0" >
    <soa freebytes="0" totalbytes="531503104" percent="0" />
    <loa freebytes="4223424" totalbytes="5367808" percent="78" />
  </tenured>
  <gc type="global" id="347" totalid="347" intervalms="3982.134">
    <finalization objectsqueued="786" />
    <timesms mark="677.563" sweep="8.489" compact="0.000" total="686.650" />
    <tenured freebytes="334476968" totalbytes="536870912" percent="62" >
      <soa freebytes="330253544" totalbytes="531503104" percent="62" />
      <loa freebytes="4223424" totalbytes="5367808" percent="78" />
    </tenured>
  </gc>
  <tenured freebytes="334460568" totalbytes="536870912" percent="62" >
    <soa freebytes="330237144" totalbytes="531503104" percent="62" />
    <loa freebytes="4223424" totalbytes="5367808" percent="78" />
  </tenured>
  <refs soft="24252" weak="17085" phantom="1950" dynamicSoftReferenceThreshold="19" maxSoftReferenceThreshold="32" />
  <time totalms="687.356" />
</af>

ありがとう

4

2 に答える 2

4

その出力は、JVM verbosegc トレースです。ファイル形式は変更されておらず、フラットのままですが、誰かが verbosegc ログを有効にしているため、xmlish の追加情報が出力されます。

それらは、これを解析してきれいなグラフを生成できるツールです。IBM Support Assistantには、Garbage Collection and Memory Visualizer と呼ばれるツールが含まれています。IBM Education Assistantへのインストール手順を含む、このツールのビデオがあります。

于 2011-09-12T21:23:04.803 に答える