{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdoi-t.hatenablog.com%2Fentry%2F2013%2F12%2F07%2F023638\" title=\"SIGSTOP\u3067\u505c\u6b62\u3057\u305f\u30d7\u30ed\u30bb\u30b9\u306bSIGTERM\u3092\u9001\u3063\u3066\u3082\u30d7\u30ed\u30bb\u30b9\u304c\u6b7b\u306a\u306a\u3044\uff1f - \u767e\u65e5\u534a\u72c2\u4e71\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2013-12-07 02:36:38","categories":["bash","shellscript","kill","signal"],"provider_name":"Hatena Blog","width":"100%","blog_title":"\u767e\u65e5\u534a\u72c2\u4e71","title":"SIGSTOP\u3067\u505c\u6b62\u3057\u305f\u30d7\u30ed\u30bb\u30b9\u306bSIGTERM\u3092\u9001\u3063\u3066\u3082\u30d7\u30ed\u30bb\u30b9\u304c\u6b7b\u306a\u306a\u3044\uff1f","provider_url":"https://hatena.blog","url":"https://doi-t.hatenablog.com/entry/2013/12/07/023638","author_name":"doi-t","version":"1.0","description":"\u4e8c\u5341\u4e94\u65e5\u534a\u72c2\u4e71\uff13\u65e5\u76ee\u306e\u8a18\u4e8b \u3082\u306f\u3084\u3001Advent Calendar\u3067\u3082\u306a\u3093\u3067\u3082\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3051\u3069\u3001\u305d\u3093\u306a\u60b2\u3057\u3044\u73fe\u5b9f\u306f\u3055\u3066\u304a\u3044\u3066\uff0e \u524d\u56de\u306e\u8a71\u304cstackoverflow\u3067\u3059\u3067\u306b\u8b70\u8ad6\u3055\u308c\u5c3d\u304f\u3055\u308c\u3066\u3044\u3066\u3001\u89e3\u7b54\u306e\u4e00\u3064\u306b\u81ea\u5206\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u4f3c\u305f\u69cb\u9020\u306e\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3042\u3063\u305f\uff0e #!/bin/bash killtree() { local _pid=$1 local _sig=${2:-TERM} kill -stop ${_pid} # needed to stop quickly forking parent from producing child between child killing and p\u2026","height":"190","type":"rich","image_url":null,"blog_url":"https://doi-t.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/doi-t/"}