• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting a PID and killing a process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a PID and killing a process


  • Subject: Re: Getting a PID and killing a process
  • From: Hiram <email@hidden>
  • Date: Sun, 17 Mar 2002 03:04:30 +0100

On Sunday, March 17, 2002, at 01:42 , JollyRoger wrote:

kill `ps uwax | grep wget| grep -v grep | awk {'print $2'}`

Thanks! This worked just fine. I had to add a -w option to avoid killing not only wget but my own app (wgetCocoa) as well, but then it was done.

I think I should learn more about those commands you used (awk, uwax); without those, obviously, this kind of thing can't be done.

Hiram
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Getting a PID and killing a process
      • From: John W Baxter <email@hidden>
References: 
 >Re: Getting a PID and killing a process (From: JollyRoger <email@hidden>)

  • Prev by Date: Re: Open files
  • Next by Date: Re: "play sound"
  • Previous by thread: Re: Getting a PID and killing a process
  • Next by thread: Re: Getting a PID and killing a process
  • Index(es):
    • Date
    • Thread