Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.2.13 swcfmg_patch_exportrpmpolicy (Linux Patch Management Target Definition Export Command)

Description

This command exports RPM package definitions that are subject to Linux patch management and which have already been registered. The definitions are exported to either the standard output or a CSV format file.

By editing the exported information and then importing it again, the RPM package definitions subject to Linux patch management can be added or updated.

Synopsis

[Windows]

swcfmg_patch_exportrpmpolicy.exe [-f <Output file path>] [-e <Output file character encoding>]

[Linux]

swcfmg_patch_exportrpmpolicy [-f <Output file path>] [-e <Output file character encoding>]

Options

-f <Output file path>

RPM package definitions subject to Linux patch management that have already been registered will be output to the specified file in CSV format. If the specified file does not exist, a new file will be created. If the file exists, the existing file will be overwritten. If this option is omitted, information will be output to the standard output.

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.

Refer to "2.2.16 Linux Patch Management Target Configuration File" for information on the output file.

-e <Output file character encoding>

Specify the character encoding for the output file.

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

  • UTF-8

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

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.

40

The command cannot analyze the definition file.

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

Admin server

[Windows]

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

[Linux]

/opt/FJSVcfmgm/bin

Privilege required/execution environment

[Windows]

[Linux]

Cautions

Example

[Windows]

swcfmg_patch_exportrpmpolicy.exe -f C:\work\linuxpatchpolicy.csv

[Linux]

swcfmg_patch_exportrpmpolicy -f /tmp/linuxpatchpolicy.csv

Execution results/output format