This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about kill


On 05/04/2012 05:51 AM, marco atzeri wrote:

> 
> Usually
>   kill -9 your_program_name
> 
> works very well

Usually 'kill -9 your_program' is overkill; it forcefully terminates the
program with SIGKILL, which means the program has no chance to clean up
after itself, and can leave your file system in a mess for the next time
you attempt to run the program.  You should reserve this for a
last-ditch effort, only after the nicer 'kill your_program' (SIGTERM) or
'kill -s INT' (SIGINT) both result in no action.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]