日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

was、ihs、 mq、 db2的版本查询

發布時間:2024/4/11 编程问答 47 豆豆
生活随笔 收集整理的這篇文章主要介紹了 was、ihs、 mq、 db2的版本查询 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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"


總結

以上是生活随笔為你收集整理的was、ihs、 mq、 db2的版本查询的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。