You can use these commands to find the db2 versions
1.
$ db2level #it displays db2 version
Better to run this under the bin directory of db2 package has been installed
eg:
$ pwd
/opt/IBM/db2/V9.5_FP2a/bin
because db2level script has placed under bin directory
2
$db2licm -l # this one also show the db2 version
Here you first switch to db2 instance name and do this command to see the version
3. If both method's don't workout we can try this , Go to installation logs of db2, there you can see the version in the logs
eg: path
/opt/IBM/db2/V9.5/logs
$ ls -lrt
total 48
-rw-r--r-- 1 root system 284 Apr 17 04:59 vrmfis.history
-rw-r--r-- 1 root system 16390 Apr 17 04:59 db2install.history
do tail -f on vrmfis.history, bottom line we can see the version info
If you are user of Administrative Console of WebSphere, you can find the db Version info from there also
1.
$ db2level #it displays db2 version
Better to run this under the bin directory of db2 package has been installed
eg:
$ pwd
/opt/IBM/db2/V9.5_FP2a/bin
because db2level script has placed under bin directory
2
$db2licm -l # this one also show the db2 version
Here you first switch to db2 instance name and do this command to see the version
3. If both method's don't workout we can try this , Go to installation logs of db2, there you can see the version in the logs
eg: path
/opt/IBM/db2/V9.5/logs
$ ls -lrt
total 48
-rw-r--r-- 1 root system 284 Apr 17 04:59 vrmfis.history
-rw-r--r-- 1 root system 16390 Apr 17 04:59 db2install.history
do tail -f on vrmfis.history, bottom line we can see the version info
If you are user of Administrative Console of WebSphere, you can find the db Version info from there also
No comments:
Post a Comment