[IBM i]

ヒープ・モニターのアクティブ化

このタスクでは、ヒープ・モニターのアクティブ化に使用されるステップを説明します。ヒープ・モニターは、プール・サイズと比較してプロファイルのヒープ・サイズをモニターするために、WebSphere® Application Server プロファイルで使用されます。

始める前に

既存の WebSphere Application Server プロファイルの場合、この機能を追加するために使用可能なスクリプトがあります。 heapMonitor スクリプト情報を参照してください。

このタスクについて

ヒープ・モニター機能を使用して、WebSphere Application Server プロファイルの Java™ 仮想マシン (JVM) のヒープ・サイズを、プール・サイズと比較しながらモニターできます。 この機能は、新しい WebSphere Application Server プロファイルまたは作成されるプロファイルに使用できます。

WebSphere Application Server プロファイルでヒープ・モニターが有効になっているかどうかを確認し、必要に応じてそれを有効にするには、以下のステップを実行します。

手順

  1. WebSphere Application Server プロファイルのサーバーを始動します。
  2. -status フラグを指定して heapMonitor スクリプトを実行します。 例えば、default という名前の WebSphere Application Server バージョン 8.5 プロファイルの場合、Qshell 環境に次のコマンドを入力します。
    /QIBM/ProdData/WebSphere/AppServer/V85/ND/bin/heapMonitor -profileName default -status
    出力は、次のようになります。
    WASX7209I: Connected to process "server1" on node MYSERVER using SOAP connector;
     The type of process is: UnManagedProcess
     WASX7303I: The following options are passed to the scripting
      environment and are available as argument that is stored in the argv
      variable: "[status, server1]"
     HEAP0002I: The heap monitor is disabled.
     $
  3. この例でヒープ・モニターを有効にするには、Qshell 環境に次のコマンドを入力します。
    /QIBM/ProdData/WebSphere/AppServer/V85/ND/bin/heapMonitor -profileName default -enable
    出力は、次のようになります。
    WASX7209I: Connected to process "server1" on node MYSERVER using SOAP connector;
     The type of process is: UnManagedProcess
     WASX7303I: The following options are passed to the scripting environment and are
      available as argument that is stored in the argv
      variable: "[enable, server1]"
     HEAP0005I: Enabling the heap monitor...
     HEAP0003I: The heap monitor has been enabled. 
     $
  4. サーバーを停止および開始します。

タスクの結果

Display Message コマンド (DSPMSG QSYSOPR) で、通常、次のメッセージが表示されます。
HEAP MONITOR STARTED FOR 012500/QEJBSVR/SERVER1 IN SUBSYSTEM qwas85 IN POOL
  *BASE POOL ID=2 POOLSIZE(B)=1687994368 RESERVED(B)=778240 HEAP
  TOTAL(B)=202276864 FREE(B)=67037600 USEDHEAP=135239264
  OS400.GC.HEAP.SIZE.MAX(KB)  =240000000
ヒープ・モニターが活動化されました。

トピックのタイプを示すアイコン タスク・トピック



タイム・スタンプ・アイコン 最終更新: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tprf_activateheap
ファイル名:tprf_activateheap.html