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
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)".
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.
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.
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]
Administrator privileges are required. Execute as an administrator.
This command can be executed on the admin server.
[Linux]
System administrator (superuser) privileges are required.
This command can be executed on the admin server.
Note
[Common]
This command cannot be executed at the same time as other commands. An exclusive control error will occur if a command is executed while another command is still executing.
Execute this command while Systemwalker Software Configuration Manager is running.
If no information is registered, only header information is output.
For details on the header format, refer to "2.5.1 Hardware Details Information File (CSV File)".
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
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.
CFMGC30801 The hardware information output command has completed normally.