Jump to content

Kill Process

Recommended Posts

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
Link to comment
  • 5 months later...

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.




Could you elaborate on the differences between "kill -9", "kill -HUP" and "kill". 



Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...