On Sun, 2005-04-10 at 15:42 +0200, Rikard Johnels wrote:
On Sunday 10 April 2005 15.08, Ken Schneider wrote:
On Sun, 2005-04-10 at 09:02 -0400, Louis Richards wrote:
On Saturday 09 April 2005 05:20 pm, Anders Norrbring wrote: If this is for a script, just start the program normaly and try somthing like:
azureus_pid=`/bin/ps -C azureus -o pid=` kill $azureus_pid
If the name of the process shows up with the ps command than just use killproc <process name> to kill it. man killproc gives more detail.
Azureus starts a number of threads. so just ps'ing for it wont help. You'll get anywhere from one to x number of pid:s
You COULD start it by adding "&" to the line
box:> java -jar jarfile.jar &
Yes but killproc is used to kill -all- of the instances of the proc. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge