ctwise Posted January 28, 2013 Share Posted January 28, 2013 This is a workflow to support killing a process (as opposed to quitting an app). It uses the new infrastructure to list the processes that match a given name, e.g., 'kill java' will list all of the processes that include 'java' in their names. Holding down 'alt' will do a 'kill -9' instead of a regular kill. Script url for download - http://tedwi.se/u/cx This is my first workflow in the v2 beta so I'm looking for input as well. Ted Wise http://tedwise.com twinpeaks, pavan309, bfolberth and 1 other 4 Link to comment
pavan309 Posted February 3, 2013 Share Posted February 3, 2013 Thanks for the workflow, It would be awesome if you can display process name exactly as displayed in Activity Monitor. Link to comment
politicus Posted July 4, 2013 Share Posted July 4, 2013 Ted, Could you elaborate on the differences between "kill -9", "kill -HUP" and "kill". Thanks. Link to comment
ctwise Posted July 5, 2013 Author Share Posted July 5, 2013 It's Unix. - kill asks an app to terminate. An app is free to ignore the request and/or be hung up so badly it can't quit. - kill -9 forces an app to terminate, works on hung apps. A forced termination will skip any pending disk writes, etc., that an app might do if quit "nicely" - kill -HUP sends the "hang-up" signal to tell an app to restart. Some apps watch for this and reload their configuration, e.g., the Apache server. Ted, Could you elaborate on the differences between "kill -9", "kill -HUP" and "kill". Thanks. Link to comment
politicus Posted July 7, 2013 Share Posted July 7, 2013 You answer is way more pedagogical than man pages :-) Thanks ctwise! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now