kill process - Elegant way of killing a Linux program -


i running linux program uses lot of memory. if terminate manually using ctrl-c, necessary memory clean-up. i'm trying terminate program using script. elegant way so? i'm hoping similar ctrl-c can memory clean-up. using "kill -9" command this?

what mean memory clean-up? keep in mind memory freed anyway, regardless of killing signal.

default kill signal - sigterm (15) gives application chance additional work has implemented signal handler.

signal handling in c++


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -