博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
was、ihs、 mq、 db2的版本查询
阅读量:6437 次
发布时间:2019-06-23

本文共 4865 字,大约阅读时间需要 16 分钟。

AIX服务器上装了was、ihs、 mq、db2等之类的软件,是一台很久的老服务器,如果你想知道这些软件的版本,你可以这样来查询。

1、WAS

#ps -ef|grep java

wasuser 360526  1 6 Jun 29  - 720:55 /usr/was61/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.socket=38771

先看一下进程信息,然后进入/usr/was61/WebSphere/AppServer目录下

#cd /usr/was61/WebSphere/AppServer

#cd bin

#./versionInfo.sh  执行此脚本就可以查看具体版本信息了

WVER0010I: Copyright (c) IBM Corporation 2002, 2005; All rights reserved.

WVER0012I: VersionInfo reporter version 1.15.4.3, dated 11/12/08

--------------------------------------------------------------------------------

IBM WebSphere Application Server Product Installation Status Report

--------------------------------------------------------------------------------

Report at date and time June 11, 2013 4:34:01 PM GMT+08:00

Installation

--------------------------------------------------------------------------------

Product Directory  /usr/was61/WebSphere/AppServer

Version Directory  /usr/was61/WebSphere/AppServer/properties/version

DTD Directory   /usr/was61/WebSphere/AppServer/properties/version/dtd

Log Directory   /usr/was61/WebSphere/AppServer/logs

Backup Directory   /usr/was61/WebSphere/AppServer/properties/version/nif/backup

TMP Directory   /tmp

Product List

--------------------------------------------------------------------------------

ND      installed

Installed Product

--------------------------------------------------------------------------------

Name      IBM WebSphere Application Server - ND

Version     6.1.0.45

ID      ND

Build Level    cf451235.03

Build Date    8/29/12

--------------------------------------------------------------------------------

End Installation Status Report

2、 IHS

IHS一般跟WAS的版本一致,如果你想单独查,可以这样来查

$ ps -ef|grep http

root 405752  1 0 Jun 29  - 0:26 /usr/was61/HTTPServer/bin/httpd -d /usr/was61/HTTPServer -k start

nobody 557170 405752 0 Jun 29  - 2:14 /usr/was61/HTTPServer/bin/httpd -d /usr/was61/HTTPServer -k start

nobody 577732 405752 0 Jul 01  - 1:49 /usr/was61/HTTPServer/bin/httpd -d /usr/was61/HTTPServer -k start

进入/usr/was61/HTTPServer/bin目录

# ./versionInfo.sh  执行此脚本就可以查看具体版本信息了

WVER0010I: Copyright (c) IBM Corporation 2002, 2005; All rights reserved.

WVER0012I: VersionInfo reporter version 1.15.4.3, dated 11/12/08

--------------------------------------------------------------------------------

IBM WebSphere Application Server Product Installation Status Report

--------------------------------------------------------------------------------

Report at date and time June 11, 2013 3:16:50 PM GMT+08:00

Installation

--------------------------------------------------------------------------------

Product Directory  /usr/was61/HTTPServer

Version Directory  /usr/was61/HTTPServer/properties/version

DTD Directory   /usr/was61/HTTPServer/properties/version/dtd

Log Directory   /usr/was61/HTTPServer/logs

Backup Directory   /usr/was61/HTTPServer/properties/version/nif/backup

TMP Directory   /tmp

Product List

--------------------------------------------------------------------------------

IHS      installed

Installed Product

--------------------------------------------------------------------------------

Name      IBM HTTP Server

Version     6.1.0.45

ID      IHS

Build Level    cf451235.03

Build Date    8/29/12

--------------------------------------------------------------------------------

End Installation Status Report

--------------------------------------------------------------------------------

3、MQ

如果装有MQ,可以切换至它默认的mqm账户

AIX下查询

# su - mqm

$ dspmqver  执行此命令显示版本信息

Name:  WebSphere MQ

Version:  530.4 CSD04

CMVC level: p530-04-030617

BuildType: IKAP - (Production)

linux下查询

tyzssq7:/home/mqm # su - mqm

mqm@tyzssq7:~> dspmqver

Name:  WebSphere MQ

Version:  7.0.1.3

CMVC level: p701-103-100813

BuildType: IKAP - (Production)

或者aix下也可以通过lslpp命令来看

# lslpp -ah mqm.server.rte

Fileset   Level  Action  Status  Date   Time  

----------------------------------------------------------------------------

Path: /usr/lib/objrepos

mqm.server.rte

    5.3.0.1 COMMIT  COMPLETE  01/06/06  13:52:45

    5.3.0.1 APPLY  COMPLETE  01/06/06  13:52:45

    5.3.0.4 APPLY  COMPLETE  01/06/06  13:53:43

4、DB2

切换到数据库的用户

# su - db2inst2

$ db2level  执行此命令可看具体版本信息

DB21085I Instance "db2inst2" uses "32" bits and DB2 code release "SQL08027"

with level identifier "03080106".

Informational tokens are "DB2 v8.1.1.128", "s061108", "U810098", and FixPak

"14".

Product is installed at "/usr/opt/db2_08_01".

或者连接数据库的时候,也可以看到版本

tyzssq7:/home/mqm # su - db2inst1

db2inst1@tyzssq7:~> db2 connect to portaldb

 Database Connection Information

Database server    = DB2/LINUXX8664 9.7.6

SQL authorization ID  = DB2INST1

Local database alias  = PORTALDB

或者

db2inst1@tyzssq7:/opt/ibm/db2> db2licm -l

Product name:                     "DB2 Advanced Enterprise Server Edition"

License type:                     "Trial"

Expiry date:                      "02/19/2014"

Product identifier:               "db2aese"

Version information:              "9.7"

Product name:                     "DB2 Connect Server"

License type:                     "Trial"

Expiry date:                      "02/19/2014"

Product identifier:               "db2consv"

Version information:              "9.7"

转载地址:http://rfzwo.baihongyu.com/

你可能感兴趣的文章
Android -- Drag&&Drop
查看>>
Extjs4:改变Grid单元格背景色(转载)
查看>>
中医无绝症[转载]
查看>>
ZendStudio10.6.1如何安装最新的集成svn小工具?
查看>>
PHP中$_SERVER的详细参数与说明
查看>>
jquery easyui datagrid mvc server端分页排序筛选的实现
查看>>
去了大公司就一定能学到很牛的技术么?
查看>>
methanol 模块化的可定制的网页爬虫软件,主要的优点是速度快。
查看>>
IOS开发之表视图(UITableView)
查看>>
Notepad++去除代码行号的几种方法
查看>>
polay定理总结
查看>>
IIS如何配置可以下载APK、IPA文件
查看>>
CodeForces 396C 树状数组 + DFS
查看>>
[sharepoint]rest api文档库文件上传,下载,拷贝,剪切,删除文件,创建文件夹,修改文件夹属性,删除文件夹,获取文档列表...
查看>>
远程桌面退出全屏/不能全屏/全屏切换的技巧
查看>>
【Java】Float计算不准确
查看>>
mybatis在xml文件中处理大于号小于号的方法
查看>>
Codeforces Codeforces Round #319 (Div. 2) A. Multiplication Table 水题
查看>>
各大浏览器CSS Hack收集
查看>>
再谈 $* 和 $@ 在 Bash 中的表现
查看>>