Kill Thru PID - Not related to Technical TM1

Post Reply
bunchukokoy
Regular Participant
Posts: 197
Joined: Thu Dec 03, 2009 8:47 am
OLAP Product: IBM Cognos TM1
Version: 10.2.2.x
Excel Version: 2010
Location: Singapore

Kill Thru PID - Not related to Technical TM1

Post 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
Alan Kirk
Site Admin
Posts: 6667
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Kill Thru PID - Not related to Technical TM1

Post 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.)
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
bunchukokoy
Regular Participant
Posts: 197
Joined: Thu Dec 03, 2009 8:47 am
OLAP Product: IBM Cognos TM1
Version: 10.2.2.x
Excel Version: 2010
Location: Singapore

Re: Kill Thru PID - Not related to Technical TM1

Post by bunchukokoy »

Thanks for the idea Alan. :)
PlanningDev
Community Contributor
Posts: 349
Joined: Tue Aug 17, 2010 6:31 am
OLAP Product: Planning Analytics
Version: 2.0.5
Excel Version: 2016

Re: Kill Thru PID - Not related to Technical TM1

Post 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.
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Kill Thru PID - Not related to Technical TM1

Post by Steve Rowe »

Use the DOS command
tasklist /svc

Should give you enough info to identify a specific TM1 instance
Technical Director
www.infocat.co.uk
bunchukokoy
Regular Participant
Posts: 197
Joined: Thu Dec 03, 2009 8:47 am
OLAP Product: IBM Cognos TM1
Version: 10.2.2.x
Excel Version: 2010
Location: Singapore

Re: Kill Thru PID - Not related to Technical TM1

Post by bunchukokoy »

Thanks guys for the answers. They really helped me. I appreciate it.
Post Reply