Page 1 of 1
Find the name of the TM1 instance from the process ID
Posted: Fri Apr 30, 2010 5:01 am
by Sandhya Kumar
Hi all,
Is there some way to find which Process ID corresponds to which TM1 instance running on a particular server? The version is 9.1
We have two TM1 instances running in our Production server. We got the screen-shot of the task manager from our IT team which just gives info about two tm1sd.exe processes. i want to find out which tm1sd.exe corresponds to which TM1 instance. I have their process ID's.
I checked in server logs, TM1 client etc., I do not find this info. Please help.
Re: Find the name of the TM1 instance from the process ID
Posted: Fri Apr 30, 2010 5:07 am
by Alan Kirk
Sandhya Kumar wrote:Hi all,
Is there some way to find which Process ID corresponds to which TM1 instance running on a particular server? The version is 9.1
We have two TM1 instances running in our Production server. We got the screen-shot of the task manager from our IT team which just gives info about two tm1sd.exe processes. i want to find out which tm1sd.exe corresponds to which TM1 instance. I have their process ID's.
I checked in server logs, TM1 client etc., I do not find this info. Please help.
The best way is to make copies of the tm1sd executable files, naming them differently of course, and install the services separately using those two .exes. In that way the Process manager shows two different names. This is discussed in more detail in my post
Introductory "How To" guide for installing TM1 Servers. It's about half way down; just search for the text "where xxx is a code that allows me to tell which TM1 server it's referring to" in the post.
Re: Find the name of the TM1 instance from the process ID
Posted: Fri Apr 30, 2010 5:16 am
by Gregor Koch
Hi
Another option would be to use a tool like 'Process Explorer' available from MS website.
Cheers
Re: Find the name of the TM1 instance from the process ID
Posted: Fri Apr 30, 2010 5:46 am
by Sandhya Kumar
Oh.. I will keep that in mind when we set up a server next time. I was hoping there will be some easy way to find this out
Thanks Alan and Gregor

Re: Find the name of the TM1 instance from the process ID
Posted: Fri Apr 30, 2010 5:49 am
by Alan Kirk
Sandhya Kumar wrote:Oh.. I will keep that in mind when we set up a server next time. I was hoping there will be some easy way to find this out
Thanks Alan and Gregor

Well in as a short term quick & dirty fix... run a honking great calculation or a TI that loops for about 5 minutes on one of them and watch to see which process' CPU usage spikes!

Re: Find the name of the TM1 instance from the process ID
Posted: Fri Apr 30, 2010 9:39 am
by Sandhya Kumar
LOL!! That's a good idea

Re: Find the name of the TM1 instance from the process ID
Posted: Fri Apr 30, 2010 2:50 pm
by Neil Watson
Hey there,
When you've created multiple instances running on the same server you still won't , in task manager, be able to see which is which, as they will all show as tm1sd.exe in the service list.
However, you can get task manager to show the PID as a column in the display, (View select columns) then run "tasklist /svc" from a command prompt.
Matching the two PID's together shows which service is which.
You can use this to find out how much RAM each instance is using, which service is hogging the processors etc.
Cheers
Neil
Re: Find the name of the TM1 instance from the process ID
Posted: Sat May 01, 2010 6:06 pm
by dludwig
you can execute this from the cmd prompt and it will give you the PID:
sc \\servername queryex tm1servicename
so if your TM1 service is called 'planning' and it is running on a server called \\server1 the command would look like this:
sc \\server1 queryex planning
you can run this from your computer...it does not have to be executed from the command prompt on the server.
Re: Find the name of the TM1 instance from the process ID
Posted: Wed May 05, 2010 2:27 pm
by garry cook
Just slight tweak to the bit above, we tend to use
tasklist /svc | find “tm1sd.exeâ€
from cmd prompt to narrow it down.
Re: Find the name of the TM1 instance from the process ID
Posted: Wed May 05, 2010 2:33 pm
by dubs
I have linked a TM1 service to a process before in VB.NET, will try and dig out my code when i get a mo but if i remember rightly the only way i could do it was to use the processId that i got using the service object in WMI
Re: Find the name of the TM1 instance from the process ID
Posted: Thu May 13, 2010 6:53 am
by Sandhya Kumar
Thanks guys.
I tried out the commands and they get me the exact tm1 instance name.
But for production boxes for which I do not have access, I don't think I can use these commands. Any ideas?