Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\cfmg_listsoft - Displaying Software Information List
[Linux Manager]
/opt/FJSVcfmg/bin/cfmg_listsoft - Displaying Software Information List
Synopsis
cfmg_listsoft [-v] [-utf8]
Functional Description
This command lists registered software information in XML format.
All of the image information that has been registered is output in the following format (detailed format).
In the simple format, only the underlined information is output.
<?xml version="1.0" encoding="UTF-8"?>
<softwares>
<software>
<id>[Software ID]</id>
<name>[Software name]</name>
<ownerOrg>[Owner (tenant)]</ownerOrg>
<ownerUser>[Owner (user)]</ownerUser>
<useFlag>[Use flag]</useFlag>
<publicFlag>[Public flag]</publicFlag>
<category>[Software category]</category> <osCategory>[Operating system category]</osCategory> <version>[Version]</version> <officialVersion>[Official version]</officialVersion> <patch>[Patch version number]</patch> <license>[License]</license> <support>[Support]</support> <productId>[Model number]</productId> <productName>[Product name]</productName> <price>[Unit price]</price> <chargeType>[Billing method]</chargeType> <expectedUsage>[Expected monthly usage]</expectedUsage> </software>
...
</softwares>
Point
If registered software information does not exist, information will be output in the following format.
<?xml version="1.0" encoding="UTF-8"?> <softwares />
Options
This option outputs the list in detailed format.
If this option is omitted, the list is output in the simple format.
This option outputs the list in UTF-8 format.
This option is only enabled for Windows Manager versions.
If this option is omitted, the list is output in ISO-8859-1 format.
For Linux Manager versions, the list is output in UTF-8 irrespective of this option.
Requirements
Infrastructure administrator with OS administrator privilege
Admin server
Example
> cfmg_listsoft <?xml version="1.0" encoding="Windows-31J"?> <softwares> <software> <id>SW00000112</id> <category>OS</category> <name>Red Hat Enterprise Linux 5 (for Intel64)</name> <ownerOrg>Unyou_Org</ownerOrg> <ownerUser>UO_User01</ownerUser> </software> </softwares>
Remarks: Encoding will be "UTF-8" with the Linux Manager.
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.