Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Killing Applications using ARD



On 2/13/07 13:01, "Ken Garland" <email@hidden> wrote:

> what you really want is to use 'w' as it uses the full 132 columns
> instead of the size of your window which is the limitation you have been
> experiencing. making use of awk then allows less processes to parse out
> the pid.
> 
> ps auxww | awk '/Microsoft/ && !/awk/ {print$2}' | xargs kill -9
> 
> This will whack anything to do with Microsoft, so beware. Fine tune
> things as you see fit and use caution.

You can also do this with AppleScript, although it takes a few more lines.
Run the script on the remote computer and kill the applications dead.

-- 
John C. Welch         Writer/Analyst
Bynkii.com              Mac and other opinions
email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Remote-desktop mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/remote-desktop/email@hidden

This email sent to email@hidden

References: 
 >Re: Killing Applications using ARD (From: Ken Garland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.