Stepan Mishura wrote:
On 11/28/07, Agarkar, M (Milind) <[EMAIL PROTECTED]> wrote:
Thanks Jan.
Any idea about how to trap a PID on-the-fly ? It would be a script to run
automatically.
In snapshot testing we use the next targets to find and kill hung VMs
after a suite run.
that's cute. I'd p
On 11/28/07, Agarkar, M (Milind) <[EMAIL PROTECTED]> wrote:
> Thanks Jan.
> Any idea about how to trap a PID on-the-fly ? It would be a script to run
> automatically.
>
In snapshot testing we use the next targets to find and kill hung VMs
after a suite run.
PROCESSES: ${proccess}
Agarkar, M (Milind) wrote:
Thanks Jan.
Any idea about how to trap a PID on-the-fly ? It would be a script to run automatically.
use killall, the one stop shop to kill a process by name.
java5 adds jps, to list java processes; jps -v is detailed and gives
java main class
> jps -v
2048 jedit
Hi,
Depends on the process. If it stores its pid in a file, You can do it
like this:
> cat /my/process/pidfile.pid | xargs kill
remeber, that if You do it using exec task in ant, You will need to set
executable to for example /bin/bash and specify the command I wrote as
Best regards,
Chr
Thanks Jan.
Any idea about how to trap a PID on-the-fly ? It would be a script to run
automatically.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 November 2007 13:24
To: user@ant.apache.org
Subject: AW: Stopping a process identified by name
No, there is