conductorに設定されている動作環境を確認できます。
conductor設定情報は、conductorを配置しているサーバで、shuncstateコマンドを実行することにより取得できます。
例1
以下に、conductor設定情報の表示例を示します。
Windowsの場合
shuncstate -s shunc -i Shunsaku shuncstate 2007/01/01 19:01:00 Parameter Value LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\conductor\" LogFileSize 100MB LogFileBackup 1 LogFileSwitch 0 PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\conductor\" PfmFileSize 100MB PfmFileBackup 1 PfmFileSwitch 0 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\conductor\" AnsMax 100 MaxConnection 1000 File file1 shund1 shund2 File file2 shund3 shund4 Domain dom1 file1 file2 InsertPoint shund1 file1 InsertPoint shund3 file2 DefaultFile file1 SystemName shunsaku
Linux/Solarisの場合
shuncstate -s shunc -i Shunsaku shuncstate 2007/01/01 19:01:00 Parameter Value LogFileFolder /var/opt/FJSVshnsk/log/conductor/ LogFileSize 100MB LogFileBackup 1 LogFileSwitch 0 PfmFileFolder /var/opt/FJSVshnsk/log/conductor/ PfmFileSize 100MB PfmFileBackup 1 PfmFileSwitch 0 CoreFileFolder /var/opt/FJSVshnsk/core/conductor/ AnsMax 100 MaxConnection 1000 File file1 shund1 shund2 File file2 shund3 shund4 Domain dom1 file1 file2 InsertPoint shund1 file1 InsertPoint shund3 file2 DefaultFile file1 SystemName shunsaku
参照
conductor用動作環境ファイルの実行パラメタの詳細については、“A.2 conductor用動作環境ファイルの実行パラメタ”を参照してください。
例2
以下に、conductor設定情報をCSV形式で出力する例を示します。
Windowsの場合
shuncstate -s shunc -i -C > C:\shunwork\monitor\constate.csv
Linux/Solarisの場合
shuncstate -s shunc -i -C > /home/shunsaku/monitor/constate.csv
constate.csvの内容
Windowsの場合
"Parameter","Value" "LogFileFolder","C:\Program Files\Interstage Shunsaku\Shunsaku\log\conductor\" "LogFileSize",100 "LogFileBackup",1 "LogFileSwitch",0 "PfmFileFolder","C:\Program Files\Interstage Shunsaku\Shunsaku\log\conductor\" "PfmFileSize",100 "PfmFileBackup",1 "PfmFileSwitch",0 "CoreFileFolder","C:\Program Files\Interstage Shunsaku\Shunsaku\core\conductor\" "AnsMax",100 "MaxConnection",1000 "File","file1 shund1 shund2" "File","file2 shund3 shund4" "Domain","dom1 file1 file2" "InsertPoint","shund1 file1" "InsertPoint","shund3 file2" "DefaultFile","file1" "SystemName","shunsaku"
Linux/Solarisの場合
"Parameter","Value" "LogFileFolder","/var/opt/FJSVshnsk/log/conductor/" "LogFileSize",100 "LogFileBackup",1 "LogFileSwitch",0 "PfmFileFolder","/var/opt/FJSVshnsk/log/conductor/" "PfmFileSize",100 "PfmFileBackup",1 "PfmFileSwitch",0 "CoreFileFolder","/var/opt/FJSVshnsk/core/conductor/" "AnsMax",100 "MaxConnection",1000 "File","file1 shund1 shund2" "File","file2 shund3 shund4" "Domain","dom1 file1 file2" "InsertPoint","shund1 file1" "InsertPoint","shund3 file2" "DefaultFile","file1" "SystemName","shunsaku"
1行目には列名を出力し、2行目以降にconductor設定情報を出力します。
列名は、以下のようになります。
Parameter:conductor用動作環境ファイルの実行パラメタ名
Value:実行パラメタに指定している値
1つのレコードの終端には改行コードが付加されます。
ポイント
CSVファイルには以下に示す形式で出力します。
文字列項目は二重引用符(" ")で囲みます。
数値項目は二重引用符(" ")で囲みません。