Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.4.20 swcfmg_hardware_info (Hardware Information Output Command)

Description

Displays the list of the detailed information of the physical server, and the detailed information of the OS and the VM guest linked with the hardware (including the VM host) managed by Systemwalker Software Configuration Manager.

Synopsis

[Windows]

swcfmg_hardware_info.exe

{ -list [-file <Output file path>] [-e <Character encoding>] [-all]}

[Linux]

swcfmg_hardware_info

{ -list [-file <Output file path>] [-e <Character encoding>] [-all]}

Options

-list [-file <Output file path>] [-e <Character encoding>]

Outputs the detailed information of the physical server to manage, and the detailed information of the OS, the VM host, and the VM guest linked with the hardware to manage, in CVS format. For details on the output format, refer to "2.5.1 Hardware Details Information File (CSV File)".

-file <Output file path>

Specify the path for the output file. If omitted, the information is output to the standard output for this command.

If the specified file does not exist, a new file will be created. If the file exists, the existing file will be overwritten.

If the file cannot be output because of an error, either a new file will not be created or, if an existing file was to be overwritten, the existing file will be kept as it is, without being overwritten.

-e <Character encoding>

Specify the character encoding for the file.

The following character encoding can be specified. Use uppercase letters.

[Windows]

  • SJIS

  • UTF-8

[Linux]

  • UTF-8

  • EUC

If this option is omitted, the character encoding for the environment in which this command is to be executed will be used in the input file.

-all

When this option is specified, the information of the VM guests deployed on the VM host is output. When this option is omitted, the information of chassis, blades, rack servers, and mounted OSs are output.

Return value

Return value

Meaning

0

The command has terminated normally.

10

A parameter error has occurred.

20

The specified I/O path is incorrect.

30

The specified character encoding is incorrect.

100

Systemwalker Software Configuration Manager is not running.

101

A command that cannot be executed at the same time as this command is already running.

102

You do not have the privileges required to execute this command.

110

A write error has occurred.

200

Setup has not been performed.

255

A system error has occurred.

Command location

Windows

[Systemwalker Software Configuration Manager installation directory]\SWCFMGM\bin

Linux

/opt/FJSVcfmgm/bin

Privilege required

[Windows]

[Linux]

Note

[Common]

Example

[Windows]

swcfmg_hardware_info.exe -list -file C:\work\hardwareinfo.csv -all

[Linux]

swcfmg_hardware_info -list -file /tmp/hardwareinfo.csv -all

Execution results/output format

Standard output

Outputs the list of the detailed information of the physical server, and the detailed information of the OS and the VM guest linked with the hardware (including the VM host) managed by Systemwalker Software Configuration Manager on the console.

File output

CFMGC30801 The hardware information output command has completed normally.