New Day Stats

Post Reply
User avatar
HowardLyle
Nouveau
Nouveau
Posts: 26
Joined: 05 Aug 2008 12:00

New Day Stats

Post by HowardLyle » 17 Nov 2010 6:30

Where can I find the logs for New Day statistics?

Specifically, I'm looking for how long it takes the New Day process to complete.

User avatar
catchtony
Nouveau
Nouveau
Posts: 50
Joined: 12 Sep 2008 12:00
Contact:

Post by catchtony » 17 Nov 2010 7:26

you may use the following utility :

ctmlog list fromdate fromtime todate totime | egrep 'NEW DAY PROCEDURE STARTED|DOWN|CLEANUP|SHOUT TO'

where date and time has to be in yyyymmdd & hhmm format

you will get the following output :-

|1117|0800|00000|CD|5040|NEW DAY PROCEDURE STARTED
|1117|0800|00000|CD|5011|CONTROL-M LOG CLEANUP STARTED
|1117|0800|00000|CD|5006|CONTROL-M LOG CLEANUP ENDED. DAYS=5
|1117|0800|00000|CD|5014|CONTROL-M AGENTS CLEANUP STARTED
|1117|0800|00000|CD|5015|CONTROL-M AGENTS CLEANUP ENDED. DAYS=5
|1117|0800|00000|CD|5019|STATISTICS INFORMATION CLEANUP STARTED.
|1117|0800|00000|CD|5034|STATISTICS INFORMATION CLEANUP ENDED. MODE=0. LEAVE=20
|1117|0800|00000|CD|5012|CONTROL-M JOBINF CLEANUP STARTED
|1117|0800|00000|CD|5013|CONTROL-M JOBINF CLEANUP ENDED. DAYS=5
|1117|0804|00000|CD|5041|ACTIVE JOBS FILE CLEANUP ENDED
|1117|0804|00000|CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM STARTED
|1117|0805|00000|CD|5030|ACTIVE JOBS FILE DOWNLOAD TO CONTROL-M/EM ENDED
|1117|0805|00000|CD|5201|SHOUT TO ECS PERFORMED

User avatar
HowardLyle
Nouveau
Nouveau
Posts: 26
Joined: 05 Aug 2008 12:00

Post by HowardLyle » 17 Nov 2010 11:33

That would be great if I were using Unix, but sadly I am on a Windows server. :-)

User avatar
catchtony
Nouveau
Nouveau
Posts: 50
Joined: 12 Sep 2008 12:00
Contact:

Post by catchtony » 18 Nov 2010 3:57

Sadly enough as I do not work on windows :oops: but if the below post would be helpful to get some hints on win server

http://www.scheduler-usage.com/modules. ... highlight=

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 19 Nov 2010 4:33

In fact doesn't matter windows or unix to launch ctmlog listmsg.
So define what are your msg ID's and do a ctmlog listmsg about what you want to have.
Do a command line job.
I'm sure you know that in all case, the controlm programs allow to act on controlm servers are define on agent part...
if you scan you the msg ID near before and after the New Day Procedure ...

Regards,
Philmalmaison

User avatar
HowardLyle
Nouveau
Nouveau
Posts: 26
Joined: 05 Aug 2008 12:00

Post by HowardLyle » 30 Nov 2010 8:20

Thank you. The ctmlog listmsg command is giving me what I need.

Much appreciated.

Howard

Post Reply