Re:Kill Me Softly – Kill processes in a reliable manner
by dimman on Tuesday December 16, 2014 @05:17PM
(#8759938)
I'd recommend adding some kind of max retries mechanism because otherwise, if process ignores SIGTERM for instance, you can wait forever.
[ Parent
| on HN ]
Re:Kill Me Softly – Kill processes in a reliable manner
by pepve on Tuesday December 16, 2014 @05:41PM
(#8760049)
I personally prefer utilities like this just do one simple task and perform it well. And adding a timeout would just complicate things unnecessarily, compared to the alternative of pressing Ctrl-C when you feel you've waited long enough.