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.
-- 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
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 & [1] 1861 box:> It gives the job number and the PID -- /Rikard " Sharing knowledge is the most fundamental act of friendship. Because it is a way you can give something without loosing something." -R. Stallman --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com/users/rikjoh Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------