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 > Query - When DB2 server/databas has been started

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-05-10, 15:27
sholtan sholtan is offline
Registered User
 
Join Date: Jul 2006
Posts: 5
Query - When DB2 server/databas has been started

I'm trying to find out when DB2 DATABASE/SERVER started and how long it has been running. Is there query or command in that I can use to check this? Is there more than one option to find this out and is it same for all DB2 versions or diffferent from version to version?

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-06-10, 06:12
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
db2top gives you that info on the "d" (database) screen
Reply With Quote
  #3 (permalink)  
Old 09-06-10, 06:16
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
Hi,

the start-timestamp for an Instance running on LUW is given in the snapshot for the database manager
get snapshot for dbm -> "Start Database Manager timestamp"
This works for all versions i know.

Starting with Version 9 you could use
select DB2START_TIME from SYSIBMADM.SNAPDBM
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