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 > Runstats Process

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-08-07, 02:08
rajesh_1972 rajesh_1972 is offline
Registered User
 
Join Date: Oct 2006
Posts: 15
Runstats Process

Hi
If i submit runstats shell script what db2 process will indicate runstats is running or not. I need to do ps -ef | grep for what. Please throw your inputs. Thanks your ideas are appreciated.

Regards
Rajesh Krishnan
Reply With Quote
  #2 (permalink)  
Old 02-08-07, 02:12
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
This is not what you asked for, but try this:

db2 LIST UTILITIES SHOW DETAIL
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 02-08-07, 02:15
rajesh_1972 rajesh_1972 is offline
Registered User
 
Join Date: Oct 2006
Posts: 15
When runstats is running I would like to know what db2 process to grep meaning ps -ef | grep <> Please throw your inputs. It is truely appreciated.
Reply With Quote
  #4 (permalink)  
Old 02-08-07, 16:55
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
You got to explain why you don't want to use LIST UTILITIES. That is much more portable and reliable (consider DB2 process model changes between V8 and V9).

Anyway, I would assume that a db2agent executes RUNSTATS or other utilities. You can read up here on the DB2 processes for Version 8: http://www-128.ibm.com/developerwork...0304chong.html

Note that this has changed in V9 because DB2 moved to threaded engine.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
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