Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.4.8 swcfmg_server_info (Server Information Output Command)

Description

Outputs the server information.

Synopsis

[Windows]

swcfmg_server_info.exe

-lastupdate [{-serverid <Server ID> | -ip <IP address>}] [-snap <Snapshot name>] [-file <Output file path>] [-e <Character encoding>]

[Linux]

swcfmg_server_info

-lastupdate [{-serverid <Server ID> | -ip <IP address>}] [-snap <Snapshot name>] [-file <Output file path>] [-e <Character encoding>]

Options

-lastupdate

Outputs a list of the dates and times that server configuration information was last updated. For details on the output format, refer to "2.5.4 Last Update List CSV File".

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

Specify the server ID or IP address of the server to which the last update of the configuration information will be output. If omitted, the last update of the configuration information of all servers is output.

-snap <Snapshot name>

When the snapshot name is specified, outputs the last update of the specified snapshots.

-file <Output file path>

Specify the file path where the last update is to be output. 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. (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

    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.

    70

    The specified server does not exist.

    100

    Systemwalker Software Configuration Manager is not running.

    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

    [Windows]

    [Linux]

    Notes

    Execute this command while Systemwalker Software Configuration Manager is running.

    Examples

    [Windows]

    swcfmg_server_info.exe -list -ip 192.168.1.1 -file C:\work\serverinfo.csv

    [Linux]

    swcfmg_server_info -list -ip 192.168.1.1 -file /tmp/serverinfo.csv