genHistoryReport 命令
genHistoryReport 命令将在当前工作目录(通常为 bin 目录)中生成 historyReport.html 报告文件。此报告包含已安装或已卸载的修订包及临时修订的列表。genHistoryReport 脚本在指定了正确参数的情况下调用 historyInfo 脚本,以将生成的信息放入当前目录中的 HTML 文件中。
产品历史记录信息
historyInfo 工具显示有关产品以及安装和移除产品修订包及临时修订的历史数据。当与技术支持人员一起查找任何问题的原因时,此工具特别有用。
产品历史记录报告:
下列报告生成脚本显示已安装产品的信息:
命令文件的位置
app_server_root/bin/genHistoryReport
app_server_root/bin/genHistoryReport.sh
app_server_root\bin\genHistoryReport.bat
genHistoryReport 命令的语法
命令语法为:
![[IBM i]](../images/iseries.gif)
genHistoryReport
![[AIX]](../images/aixlogo.gif)
![[HP-UX]](../images/hpux.gif)
![[Linux]](../images/linux.gif)
![[Solaris]](../images/solaris.gif)
genHistoryReport.sh
![[Windows]](../images/windows.gif)
genHistoryReport.bat
从 app_server_root 目录的 bin 目录中发出该命令。
报告描述
historyInfo 命令将生成报告。genHistoryReport 命令调用带一组报告参数的 historyInfo 命令,此 historyInfo 命令报告下列信息:
安装信息
安装信息将显示下列有关当前安装的一般信息:
安装事件信息
安装事件信息显示已安装修订包和临时修订的列表以及下列相关信息:
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[z/OS]](../images/ngzos.gif)
样本 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
--------------------------------------------------------------------------------