Compute Systems Manager CLI リファレンスガイド

[目次][索引][前へ][次へ]


A.3 -describeオプションを指定した場合の出力形式

-describeオプションを指定した場合,-formatオプションの指定に沿った形式で出力されます。

-describeオプションを指定した場合の各形式の説明と,コマンド実行結果の出力例を次に示します。

タブ区切りテキスト出力形式

<小項目名#1>: <小項目#1の説明>
<小項目名#2>: <小項目#2の説明>
 ・・・

タブ区切りテキスト出力例(GetHostコマンドの場合)

hostName                   : Host name is displayed.
osName                     : OS name is displayed.
manufacturer               : Manufacturer name of host machine is displayed.
ipAddress                  : Internet Protocol Address of host machine.
productName                : Product name of host machine is displayed.
hostStatus                 : Current Status of the host machine is displayed.
serialNumber               : Serial number of host machine is displayed.
lastRefreshed              : Last updated date and time of host is displayed.
error                      : Total number of Error Alerts generated.
warning                    : Total number of Warning Alerts generated.
information                : Total number of Information Alerts generated.

CSV出力形式

columnname,description
"<小項目名#1の値>","<小項目#2の説明>"
"<小項目名#2の値>","<小項目#2の説明>"
・・・

CSV出力例(GetHostMemoryコマンドの場合)

columnname,description
"hostName","Host name is displayed."
"totalSizeInMB","Total capacity of Memory available."
"maxPageFileSizeInMB","Capacity of physical memory and the swap file."

ヘッダーなしCSV出力形式

"<小項目名#1の値>","<小項目#2の説明>"
"<小項目名#2の値>","<小項目#2の説明>"
・・・

ヘッダーなしCSV出力例(GetHostMemoryコマンドでホストが2個ある場合)

"hostName","Host name is displayed."
"totalSizeInMB","Total capacity of Memory available."
"maxPageFileSizeInMB","Capacity of physical memory and the swap file."

XML出力形式

<descriptions>
  <column>
   <name>小項目名#1</name>
   <description>小項目#1の説明</description>
  </column>
  <column>
   <name>小項目名#2</name>
   <description>小項目#2の説明</description>
  </column>
  <column>
  ・・・
</descriptions>

XML出力例(GetHostコマンドの場合)

<?xml version="1.0" encoding="MS932"?>
<descriptions>
  <column>
    <name>hostName</name>
    <description>Host name is displayed.</description>
  </column>
  <column>
    <name>osName</name>
    <description>OS name is displayed.</description>
  </column>
  <column>
    <name>manufacturer</name>
    <description>Manufacturer name of host machine is displayed.</description>
  </column>
  <column>
 ・・・
</descriptions>

関連項目

[目次] [前へ] [次へ]


All Rights Reserved. Copyright© 2014, 2016, Hitachi, Ltd.