02 November,2015 by Tom Collins
Question: Is there a DB2 utility to find the DB2 installation path? The utility should also return installation date and other useful information. I need this utility to run on Linux.
Answer: From DB2 9.5 , the db2ls command is available. On a typical installation of a DB2 server, a symbolic link is added to the /usr/local/bin path.
A different resultset returns, depending on the installation. If you execute db2ls as root, only root installations are returned. If you execute as a non-root , the recordset includes DB2 installations by root and the DB2 installations completed by the id.
The columns returned are:
Install Path
Level
Fix Pack
Special Install Number
Install Date
Installer UID
How to uninstall DB2 - DBA DB2
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |