4-9 outputting execution results in xml format, Figure 5-1 – HP XP Command View Advanced Edition Software User Manual

Page 300

Advertising
background image




Using the Device Manager properties file



300

Figure 5-1

Output image of an execution result of Device Manager CLI (CSV format)

The execution result is output in UTF-8 encoding. If you want to use the execution result in
application software, such as spreadsheet software, you need to convert the encoding to the one
supported by that application software.

Item names and values output in the execution result are enclosed in double quotation marks (").

Two successive commas in the execution result indicate that the corresponding item between the
two commas has no value.

In the first line of the execution result, item names and a linefeed code ([CRLF]) are output (see

Figure 5-1

(1)). An item name is output even if the item has no value.

In the second line and below of the execution result, values and a linefeed code are output (see

Figure 5-1

(2)). A linefeed is output also in the last line of data. An EOF (end of file) code follows

after the last line of data (see

Figure 5-1

(3)).

NOTE:

Items output in the execution result differ depending on the parameters specified by the

Device Manager CLI command.

NOTE:

When you use different versions of Device Manager CLI, the order and number of items

output as the execution result might be different even if the specified parameters are the same.

5-4-9 Outputting execution results in XML format

To output the execution results of the GetStorageArray command in XML format, specify xml for
the -f or --format option.

The -f or --format option can be specified only when the GetStorageArray command is used.

Figure 5-2

shows the output image of an execution result in XML format.

Figure 5-2

Output image of an execution result of Device Manager CLI (XML format)

Advertising