If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > log & Instance information in views/tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-19-03, 02:00
chenna chenna is offline
Registered User
 
Join Date: Apr 2003
Posts: 15
Question log & Instance information in views/tables

Hi DB2 gurus,
I am very new to DB2, I would like to place these two question :
1) The ' log file ' information like log file name, location, its size from the tables/views, but not from this command ' GET DATABASE CONFIGURATION ' .

2) The instance information like name , status, uptime from a table or view.


Thanks in advance.
Regards
Chenna
Reply With Quote
  #2 (permalink)  
Old 11-19-03, 02:04
chenna chenna is offline
Registered User
 
Join Date: Apr 2003
Posts: 15
Wink Re: log & Instance information in views/tables

Sorry,
I missed this:

How to get the log and Instance information from a table/view.

Regards
Chenna

Quote:
Originally posted by chenna
Hi DB2 gurus,
I am very new to DB2, I would like to place these two question :
1) The ' log file ' information like log file name, location, its size from the tables/views, but not from this command ' GET DATABASE CONFIGURATION ' .

2) The instance information like name , status, uptime from a table or view.


Thanks in advance.
Regards
Chenna
Reply With Quote
  #3 (permalink)  
Old 11-19-03, 02:51
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Configure Database Logging Wizard

Hi,

You can use the Configure Database Logging Wizard available from the control center-- >tools-->wizards options to see the necessary information.

You can use the below command to get the instance information.

get dbm cfg

Hope that helps

nitin
Reply With Quote
  #4 (permalink)  
Old 11-19-03, 03:35
chenna chenna is offline
Registered User
 
Join Date: Apr 2003
Posts: 15
Re: Configure Database Logging Wizard

Thank You Nitin.

DB2 doesn't store the Instance or Log file information in a table . am I right ?
My intention was to get the log/instance info from a table or a view.
Is it possible to get the same?

Regards
Chenna

Quote:
Originally posted by nitingm
Hi,

You can use the Configure Database Logging Wizard available from the control center-- >tools-->wizards options to see the necessary information.

You can use the below command to get the instance information.

get dbm cfg

Hope that helps

nitin
Reply With Quote
  #5 (permalink)  
Old 11-19-03, 04:12
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Configure Database Logging Wizard

If you are on V8, you may be able to use table functions for a few of these ...

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On