versionInfo 命令
versionInfo 命令用于生成一个报告,此报告包含已安装修订包及临时修订的列表。
产品版本信息
versionInfo 工具显示有关产品及其已安装修订包和临时修订的重要数据,例如,构建版本和构建日期。当与技术支持人员一起查找任何问题的原因时,此工具特别有用。
产品版本报告:
下列报告生成脚本显示已安装产品的信息:
命令文件的位置
app_server_root/bin/versionInfo
app_server_root/bin/versionInfo.sh
app_server_root\bin\versionInfo.bat
app_server_root/bin/versionInfo.sh
versionInfo 命令的语法
命令语法为:
![[IBM i]](../images/iseries.gif)
./versionInfo [ -format text | html ]
[ -file file_name ]
[ -long ]
[ -fixpacks ]
[ -fixpackDetail ]
[ -ifixes ]
[ -ifixDetail ]
[ -maintenancePackages (deprecated)]
[ -maintenancePackageDetail (deprecated)]
[ -components ] (deprecated and performs no action)
[ -componentDetail ] (deprecated and performs no action)
versionInfo [ -help | /help | -? | /? | -usage ]
![[AIX]](../images/aixlogo.gif)
![[HP-UX]](../images/hpux.gif)
![[Linux]](../images/linux.gif)
![[Solaris]](../images/solaris.gif)
./versionInfo.sh [ -format text | html ]
[ -file file_name ]
[ -long ]
[ -fixpacks ]
[ -fixpackDetail ]
[ -ifixes ]
[ -ifixDetail ]
[ -maintenancePackages (deprecated)]
[ -maintenancePackageDetail (deprecated)]
[ -components ] (deprecated and performs no action)
[ -componentDetail ] (deprecated and performs no action)
versionInfo [ -help | /help | -? | /? | -usage ]
![[Windows]](../images/windows.gif)
versionInfo [ -format text | html ]
[ -file file_name ]
[ -long ]
[ -fixpacks ]
[ -fixpackDetail ]
[ -ifixes ]
[ -ifixDetail ]
[ -maintenancePackages (deprecated)]
[ -maintenancePackageDetail (deprecated)]
[ -components ] (deprecated and performs no action)
[ -componentDetail ] (deprecated and performs no action)
versionInfo [ -help | /help | -? | /? | -usage ]
![[z/OS]](../images/ngzos.gif)
versionInfo.sh [ -format text | html ]
[ -file file_name ]
[ -long ]
[ -fixpacks ]
[ -fixpackDetail ]
[ -ifixes ]
[ -ifixDetail ]
[ -maintenancePackages (deprecated)]
[ -maintenancePackageDetail (deprecated)]
[ -components ] (deprecated and performs no action)
[ -componentDetail ] (deprecated and performs no action)
versionInfo [ -help | /help | -? | /? | -usage ]
从 app_server_root 的 bin 目录中发出该命令。
参数
- 显示命令语法。
- 此参数已不推荐使用,并且不会执行任何操作。
- 此参数已不推荐使用,并且不会执行任何操作。
- 指定输出文件名。缺省情况下,报告转至标准输出 (stdout)。
- 将已应用的修订包的列表添加至报告。
- 将有关已应用的修订包的详细信息添加到报告。
- 选择报告的格式。缺省值为 text。
- 显示命令语法。
- 将已应用的临时修订的列表添加至报告。
- 将有关已应用的临时修订的详细信息添加到报告。
- 创建报告的长文版本。
- 不推荐使用此选项,它执行等同于 -fixpackDetail 及 -ifixDetail 的操作。
- 不推荐使用此选项,它执行等同于 -fixpacks 及 -ifixes 的操作。
- 显示命令语法。
报告描述
versionInfo 命令将报告以下信息:
安装信息
显示下列有关当前安装的一般信息:
产品列表信息
显示已安装的 WebSphere 产品列表:
已安装产品的信息
对于每个已安装的产品、已安装的修订包和临时修订以及包含的 APAR,此信息和其他信息描述是分层显示的。
报告的此部分显示以下信息:
已安装修订包的信息
显示一般修订包信息:
已安装临时修订的信息
显示一般临时修订信息:
包含的 APAR 信息
显示此修订包或临时修订所修订的 APAR 的列表。