Page 1 of 1

Kill Thru PID - Not related to Technical TM1

Posted: Thu May 16, 2013 9:04 am
by bunchukokoy
Hi Guys,

I know this is very not related to TM1. I just want to know if anyone of you knows how to identify a certain application's Process ID.

Let's say I have two opened Excel files in my PC, Excel A and Excel B.

I want to kill using PID the Excel A. In cases where I don't know what PID came first on the Task Mngr.

I am very sorry guys.

Thanks very much


Bunch

Re: Kill Thru PID - Not related to Technical TM1

Posted: Thu May 16, 2013 10:03 am
by Alan Kirk
bunchukokoy wrote: I know this is very not related to TM1. I just want to know if anyone of you knows how to identify a certain application's Process ID.

Let's say I have two opened Excel files in my PC, Excel A and Excel B.

I want to kill using PID the Excel A. In cases where I don't know what PID came first on the Task Mngr.
Usually it's pretty easy to distinguish between a couple of application sessions like Excel; it's more of a pain to distinguish between a couple of sessions of a service. (Which is why I normally recommend making differently named copies of tm1sd.exe and using those when running multiple servers on the one box, but I digress.)

As long as ONE of the sessions of Excel is still responding all you need to do is load a file into it, if there isn't one there already. When you go to Windows Task Manager and look on the Applications tab all you need to do is find that file name, right click and select Go To Process. In that way you know which one is which.

(If you really, really need the PID you may need to turn on the display of that column on the Processes tab; IIRC it isn't on by default.)

Re: Kill Thru PID - Not related to Technical TM1

Posted: Fri May 17, 2013 3:52 pm
by bunchukokoy
Thanks for the idea Alan. :)

Re: Kill Thru PID - Not related to Technical TM1

Posted: Fri May 17, 2013 8:56 pm
by PlanningDev
Try taking a look at the windows tool ProcessExplorer. It gives you tons of extra info about running processes and related processes. We use it to trace down Transformer cube builds that may be hung as well as which process is connected to which tm1 server.

Re: Kill Thru PID - Not related to Technical TM1

Posted: Sat May 18, 2013 6:01 am
by Steve Rowe
Use the DOS command
tasklist /svc

Should give you enough info to identify a specific TM1 instance

Re: Kill Thru PID - Not related to Technical TM1

Posted: Mon May 20, 2013 9:38 am
by bunchukokoy
Thanks guys for the answers. They really helped me. I appreciate it.