genHistoryReport 命令

genHistoryReport 命令将在当前工作目录(通常为 bin 目录)中生成 historyReport.html 报告文件。此报告包含已安装或已卸载的修订包及临时修订的列表。genHistoryReport 脚本在指定了正确参数的情况下调用 historyInfo 脚本,以将生成的信息放入当前目录中的 HTML 文件中。

产品历史记录信息

historyInfo 工具显示有关产品以及安装和移除产品修订包及临时修订的历史数据。当与技术支持人员一起查找任何问题的原因时,此工具特别有用。

产品历史记录报告:

下列报告生成脚本显示已安装产品的信息:
  • historyInfo 命令

    使您可以使用一些参数来创建历史记录报告。

  • genHistoryReport 脚本

    在当前工作目录(通常为 bin)中生成 historyReport.html 报告文件。该报告包含修订包和临时修订的列表。

命令文件的位置

[IBM i]app_server_root/bin/genHistoryReport

[AIX][HP-UX][Linux][Solaris]app_server_root/bin/genHistoryReport.sh

[Windows]app_server_root\bin\genHistoryReport.bat

genHistoryReport 命令的语法

命令语法为:

[IBM i]
genHistoryReport
[AIX][HP-UX][Linux][Solaris]
genHistoryReport.sh 
[Windows]
genHistoryReport.bat

app_server_root 目录的 bin 目录中发出该命令。

报告描述

historyInfo 命令将生成报告。genHistoryReport 命令调用带一组报告参数的 historyInfo 命令,此 historyInfo 命令报告下列信息:

安装信息

安装信息将显示下列有关当前安装的一般信息:
  • 报告日期和时间 - 生成报告的日期和时间。根据当前语言环境格式化时间戳记。
  • 产品目录 - 产品安装根目录的文件路径。
  • 版本目录 - 当前产品安装的 version 目录的文件路径。
  • DTD 目录 - 当前安装的 DTD 目录的文件路径。
  • 日志目录 - 当前安装的 log 目录的文件路径。修订包和临时修订日志文件位于该目录中。

安装事件信息

安装事件信息显示已安装修订包和临时修订的列表以及下列相关信息:
  • Installation Manager 产品标识或修订标识 - 使用 Installation Manager 安装的产品的标识。
  • 操作 - 所执行的操作。
  • 版本 - 执行操作后临时修订的版本或产品的版本。
  • 日志文件名 - 事件期间生成的日志文件的文件路径。
  • 时间戳记 - 操作发生的时间。此时间是相对于 GMT 给出的。
  • 结果 - 操作的结果。操作结果可能是成功、部分成功或失败。
  • 已安装的功能部件 - 产品上安装的功能部件。
[AIX Solaris HP-UX Linux Windows][z/OS]

样本 historyInfo 报告

genHistoryReport 脚本将在 historyReport.html 报告文件中创建以下信息:

--------------------------------------------------------------------------------
IBM WebSphere Product History Report
--------------------------------------------------------------------------------

Report at date and time April 7, 2010 3:07:36 PM EDT

Installation
--------------------------------------------------------------------------------
Product Directory    G:\IBM\WebSphere\AppServer_v90_nd
Version Directory    G:\IBM\WebSphere\AppServer_v90_nd\properties\version
DTD Directory        G:\IBM\WebSphere\AppServer_v90_nd\properties\version\dtd
Log Directory        C:\Documents and Settings\All Users\Application Data\IBM\Installation Manager\logs

Installation Event
--------------------------------------------------------------------------------
Install Manager Offering ID        com.ibm.websphere.ND.v90
Action                             install
Version                            9.0.0.0
Log File Name                      C:\Documents and Settings\All Users\Application Data\IBM\Installation Manager\logs\20101026_1527.xml
Timestamp                          2010-10-26 17:35:27-0400
Result                             success
Installed Features                 Sample applications

Installation Event
--------------------------------------------------------------------------------
Install Manager Offering ID        com.ibm.websphere.ND.v90
Action                             install
Version                            9.0.0.0
Log File Name                      C:\Documents and Settings\All Users\Application Data\IBM\Installation Manager\logs\20101027_1347.xml
Timestamp                          2010-10-27 13:48:03-0400
Result                             success
Installed Features                 Sample applications
                                   Non-English language packages for the application server runtime environment



Installation Event
--------------------------------------------------------------------------------
Install Manager Offering ID        com.ibm.websphere.ND.v90
Action                             uninstall
Version                            9.0.0.0
Log File Name                      C:\Documents and Settings\All Users\Application Data\IBM\Installation Manager\logs\20101027_1347.xml
Timestamp                          2010-10-27 16:01:52-0400
Result                             success
Installed Features                 Non-English language packages for the application server runtime environment

--------------------------------------------------------------------------------
End History Report
--------------------------------------------------------------------------------

指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rins_genHistoryReport
文件名:rins_genHistoryReport.html