ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Stopping a process identified by name
Date Wed, 28 Nov 2007 16:34:24 GMT
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.jar -Xms64M -Xmx192M
29368 Jps -Dapplication.home=/usr/java/jrockit-1.6.0_02 -client
3568 SmartSVN -Xmx256m 
7619 Main -client -Xms96m -Xmx800m -XXaggressive:opt 
-XXcompressedRefs=true -ea -Xbootclasspath/p:../lib/boot.jar

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message