db2evmon for only 00000002.evt file

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?
harsha_jamesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kent OlsenData Warehouse Architect / DBACommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gmarinoCommented:
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
harsha_jamesAuthor Commented:
Hi Kent,Greg

Thank you very much for helping me, 00000000.evt file is necessary to analyse event monitor output.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB2

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.