"Busler, Grant" wrote:

> Try sending a kill -3 on the any of the java processes.  It should produce a
> thread stack track telling you what threads that VM is running.
>
> Grant

or... I have been known to do the following:

#!/bin/ksh
for i in `ps -ef | grep jdk | grep -v grep | awk '{print $2'}`
do
    ps --no-heading -p $i -opid,cmd --width 2048
done

which, with luck, outputs enough of the command line for you to tell what is
running.

Lynne

>
>
> -----Original Message-----
> From: James Pifer [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 12:44 PM
> To: [EMAIL PROTECTED]
> Subject: Java Experts
>
> Any Java experts out there? I have JDK 1.3.1 installed on Redhat 7.2. I
> have an application that opens up several java processes. I have another
> app that I want to run, but I want to be able to kill it. Is there a way of
> telling the difference in the java processes? Right now when I run it and
> do a ps -ef | grep java, expectedly it just lists all the java processes.
>
> On Netware you can do a java -show and it lists the processes, I believe by
> the class file that started them. Any equivalent command on JDK for Linux?
>
> Thanks,
> James
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to