ps ax will work you just have to look for your specific app or you can try :

ps ax | grep [program name] will work.

For example I want to see what pids mozilla is currently using I type

    ps ax | grep mozilla

and get back:
   
    4365 ?        S      8:10 /usr/local/mozilla/mozilla-bin
    4366 ?        S      0:00 /usr/local/mozilla/mozilla-bin
    4367 ?        S      0:03 /usr/local/mozilla/mozilla-bin
    4368 ?        S      0:00 /usr/local/mozilla/mozilla-bin
    5057 ?        S      0:00 /usr/local/mozilla/mozilla-bin
    5343 pts/5    S      0:00 grep mozilla
   

Jesse Stockall wrote:

>How can I get the pid of the jvm that an app is running in?
>
>Thanks
>

-- 
____________________________________________________________
Long live the Penguin!!!

Duane Kehoe                             Phone # 414.908.1814
Programmer/Analyst                        Fax # 414.908.1814
Weyco Group, Inc.               Email: [EMAIL PROTECTED]




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to