Skip navigation.
spilling the beans

processes history

admins
|

On a large undocumented and mature TM1 server you might find yourself with a lot of processes and you wonder how many of them are still in use or the last time they got run.

The following script answers these questions for you.

One could take a look at the creation/modification time of the processes in the TM1 Data folder however you would have to sit through pages of the tms1msg.log to get the history of a given process which is what the script below does.

Procedure to follow for TM1 9.0 or 8.x
1. install perl (free)
2. save loganalysis.pl.txt in a folder as loganalysis.pl
3. stop your TM1 service (necessary to beat the windows lock on tm1smsg.log)
4. copy the tm1smsg.log into the folder where loganalysis.pl is
5. start your TM1 service
6. double click loganalysis.pl

Procedure to follow for TM1 9.1
1. install perl (free)
2. save loganalysis.pl.txt in a folder as loganalysis.pl
3. copy the tm1server.log into the folder where loganalysis.pl is
4. double click loganalysis.pl

That should display the newly created processes.txt in notepad and that should look like the following:

First, all processes sorted by name and the last run time, user and how many times it ran.

processes by name:
2005load run 2006/02/09 15:02:33 user Admin [x2]
ADMIN - Unused Dimensions run 2006/04/26 14:02:58 user Admin [x1]
Branch Rates Update run 2006/10/19 15:23:29 user Admin [x1]
BrandAnalysisUpdate run 2005/04/11 08:09:13 user Admin [x33]
....

Second, all processes sorted by last run time, user and how many times it ran.

processes by last run: 
2005/04/11 08:09:13 user Admin ran BrandAnalysisUpdate [x33]
2005/04/11 10:26:29 user Admin ran LoadDelivery [x1]
2005/04/19 08:44:22 user Admin ran UpdateAntStockage [x19]
2005/04/26 14:18:17 user Admin ran weeklyodbc [x1]
2005/05/12 08:34:16 user Admin ran stock [x1]
2005/05/12 08:37:59 user Admin ran receipts [x1]
....

I do not know what these "BrandAnalysisUpdate" or "LoadDelivery" processes do but I guess nobody is going to miss them.


Average rating
(0 votes)
AttachmentSize
loganalysis.pl.txt1.18 KB