historyInfo 命令
historyInfo 命令用于生成一个报告,此报告包含已安装或已卸载的修订包及临时修订的历史记录。
产品历史记录信息
historyInfo 工具显示有关产品的重要数据,例如构建版本和构建日期。在报告中还会显示有关安装和移除修订包及临时修订的历史记录信息。当与技术支持人员一起查找任何问题的原因时,此工具特别有用。
产品历史记录报告:
下列报告生成脚本显示已安装产品的信息:
命令文件的位置
app_server_root/bin/historyInfo
app_server_root/bin/historyInfo.sh
app_server_root\bin\historyInfo.bat
app_server_root/bin/historyInfo
historyInfo 命令的语法
命令语法为:
![[IBM i]](../images/iseries.gif)
./historyInfo [ -format text | html ]
[ -file file_name ]
[ -offeringID ID_of_Installation_Manager_offering
| -maintenancePackageID ID_of_Installation_Manager_offering (-maintenancePackageID is deprecated) ]
[ -component component_name ] (deprecated and performs no action)
historyInfo [ -help | /help | -? | /? | -usage ]
![[AIX]](../images/aixlogo.gif)
![[HP-UX]](../images/hpux.gif)
![[Linux]](../images/linux.gif)
![[Solaris]](../images/solaris.gif)
./historyInfo.sh [ -format text | html ]
[ -file file_name ]
[ -offeringID ID_of_Installation_Manager_offering
| -maintenancePackageID ID_of_Installation_Manager_offering (-maintenancePackageID is deprecated) ]
[ -component component_name ] (deprecated and performs no action)
historyInfo [ -help | /help | -? | /? | -usage ]
![[Windows]](../images/windows.gif)
historyInfo [ -format text | html ]
[ -file file_name ]
[ -offeringID ID_of_Installation_Manager_offering
| -maintenancePackageID ID_of_Installation_Manager_offering (-maintenancePackageID is deprecated) ]
[ -component component_name ] (deprecated and performs no action)
historyInfo [ -help | -? | /help | /? | -usage ]
![[z/OS]](../images/ngzos.gif)
historyInfo [ -format text | html ]
[ -file file_name ]
[ -offeringID ID_of_Installation_Manager_offering
| -maintenancePackageID ID_of_Installation_Manager_offering (-maintenancePackageID is deprecated) ]
[ -component component_name ] (deprecated and performs no action)
historyInfo [ -help | -? | /help | /? | -usage ]
从 app_server_root 目录的 bin 目录中发出该命令。
参数
- 显示命令语法。
- 此参数已不推荐使用,并且不会执行任何操作。
- 指定输出文件名。缺省情况下,报告转至标准输出 (stdout)。
- 选择报告的格式。缺省值为 text。
- 显示命令语法。
- 此选项已不推荐使用,它相当于使用 -offeringID。
- 指定 Installation Manager 产品的标识。如果指定了该标识,那么产品历史记录报告将只显示指定产品的事件。如果未指定该标识,那么报告将显示所有产品的事件。
- 显示命令语法。
报告描述
historyInfo 命令将报告以下信息:
安装信息
显示下列有关当前安装的一般信息:
安装事件信息
显示已安装修订包和临时修订的列表以及下列相关信息: