Top
Systemwalker Software Configuration Manager Developer's Guide
FUJITSU Software

3.2.2 swcfmg_installedsoftware (Installed Software Information Management Command)

Description

Registers, deletes, and lists software information installed on the managed server.

Use this command to register installed software information to ensure that software not collected by discovery (software incompatible with UpdateAdvisor (middleware)) will be displayed as installed software on the management console, or to allow software parameters to be configured.

Synopsis

[Windows]

swcfmg_installedsoftware.exe

{ -add -file <Installed software information file path> [-e <Character encoding>] |

-delete -file <Installed software information file path> [-e <Character encoding>] |

-list [{-serverid <Server ID>,... | -ip <IP address>,...} ] [ -file <Output file path>] [-e<Character encoding>] [-all] }

[Linux]

swcfmg_installedsoftware

{ -add -file <Installed software information file path> [-e <Character encoding>] |

-delete -file <Installed software information file path> [-e <Character encoding>] |

-list [{-serverid <Server ID>,... | -ip <IP address>,...} ] [ -file <Output file path>] [-e<Character encoding>] [-all] }

Options

-add -file <Installed software information file path>

Registers installed software information using the specified installed software information file

The installed software information file is in CSV format. Refer to "4.2.2 Installed Software Information File" for information on installed software information files.

-delete -file <Installed software information file path>

Deletes installed software information using the specified installed software information file

The installed software information file is in CSV format. Refer to "4.2.2 Installed Software Information File" for information on installed software information files.

-list [{-serverid <Server ID>,... | -ip <IP address>,...} ] [-file <Output file path>] [-all]

Use this command to output registered installed software information in CSV format.

-serverid <Server ID>,... | -ip <IP address>,...

Specifies the server ID or the IP address of the server that outputs the installed software information.

If this option is omitted, the installed software information on all servers will be output.

[-file <Output file path>]

Specify the output file path.

If this option is omitted, information will be output to the standard output for the 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 output to the file fails due to an error, no new file will be created. If an existing file was to be overwritten, it will be kept as is without being overwritten.

[-all]

Use this command to output not only registered information, but also all installed software information for each server, including discovered information.

-e <Character encoding>

Specify the character encoding for the file.

The character encodings below can be specified (single-byte uppercase characters must be used):

  • UTF-8

If this option is omitted, the character encoding of the execution environment of this command will be used.

Return value

Return value

Meaning

0

Completed normally.

10

A parameter error has occurred.

20

There is an error in the specified I/O file path.

30

The specified character encoding is incorrect.

40

Failed to read the installed software information file.

50

The installed software information file description 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 executing.

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

Admin server

[Windows]

<Systemwalker Software Configuration Manager installation directory>\SWCFMGM\bin

[Linux]

/opt/FJSVcfmgm/bin

Privilege required for execution

[Windows]

[Linux]

Notes

Common notes
Notes regarding registration
Notes regarding deletion
Notes regarding list display
Notes regarding registration and deletion errors

Examples

Execution results/output format