Link to home
Start Free TrialLog in
Avatar of umajava
umajava

asked on

How to find out which process ID belongs to which programme?

I have started 3 java programmes and I can see them in the task manager, Each java programme has its own PID but the Image name for all the process is the same i.e "java.exe". So I dont know which PID belongs to which programme. As I have to shut down one of them.

Any ideas?

Uma
Avatar of harleyjd
harleyjd

task manager

View > select columns > PID

That change will stick when you close it.

Avatar of umajava

ASKER

I dont see "select columns" in "view" menu. I am using win 2k pro. I wanted to know which process ID belongs to which application.

Uma
I've just logged into a test machine as a NON ADMIN user, and it is there...

Did you do it from the applications tab?

Try again from the processes tab - I think you'll find it... :)

Avatar of umajava

ASKER

Yes, I can see it. But how does it help me identify that this process ID belongs to a particular application.

Let me explain my problem. I have 3 java programmes and I start all of them at once by saying
java myfirstapp
java mysecondapp
java mythirdapp

and now I can see 3 "java.exe" in task manager.
java.exe 1021 <pid>
java.exe 1022 <pid>
java.exe 1023 <pid>


I see only this in the task manager. now. I dont know if 1021 PID represents myfirstapp or mysecondapp or mythirdapp.

I need to find this out. Any ideas?

Uma
OIC...

Generally speaking the pid will be lower for the first executed program, but that's not always an exact science.

ASKER CERTIFIED SOLUTION
Avatar of Quetzal
Quetzal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi!
Try Process Explorer from Sysinternals (it's free):
http://www.sysinternals.com/ntw2k/freeware/procexp.shtml

Regards...
RF
haha. goodone guys...
press ctrl+alt+del select task manger, click on applications then right click and select go to process

That should do the trick