Solved

db2evmon for only 00000002.evt file

Posted on 2010-08-26
3
2,005 Views
Last Modified: 2012-06-22
Hi All,

can I run db2evmon command only on 00000002.evt file because Client sent only that file not 00000000.evt and 00000001.evt
After running this command :

db2evmon -path /local/backup/archive/temp/evemon>00000002.txt
i m getting error as
"Cannot open Event Monitor file "/local/backup/archive/temp/evemon/00000000.evt.""

is 00000000.evt this file necessary?
0
Comment
Question by:harsha_james
3 Comments
 
LVL 45

Accepted Solution

by:
Kent Olsen earned 250 total points
ID: 33541203
Hi Harsha,

Without a complete set of event monitor files I don't believe that you can get the full picture.

The parameter(s) to db2evmon require a directory where DB2 manages the event files.  With only a single file, and not even the "base" file, the tool can't function correctly.


Kent
0
 
LVL 4

Assisted Solution

by:gmarino
gmarino earned 250 total points
ID: 33547944
00000000.evt has header information that is required for the db2evmon tool to run - such as the Database it was run against and the type of Event Monitor the data represents.  This header information is not copied into the subsequent evt files (00000001.evt, 00000002.evt, etc).  Therefore it is REQUIRED that you have the 00000000.evt file to run db2evmon.

Sorry!  See if you can get your hands on the 00000000.evt file - or just rerun the Event Monitor again.

Nice to see someone using such a powerful tool (Event Monitor) for monitoring their database.

- Greg
THE Performance Bigot
0
 

Author Comment

by:harsha_james
ID: 33555980
Hi Kent,Greg

Thank you very much for helping me, 00000000.evt file is necessary to analyse event monitor output.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL UPDATE QUERY PROBLEM 5 189
Leveraging AD Groups in DB2 1 85
DB2 - LOG FILES. 4 70
DB2 VBA - How to use Form instead of InputBox? 2 80
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question